|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Line Level DACs, Digital Crossovers, Equalizers, etc. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#11 |
|
diyAudio Member
Join Date: Mar 2007
|
Thanks Wingfeather, I don't use MATLAB, in fact, I'm probably wholly underqualified from a mathematics point of view, but I used to be a C/C++ programmer, and still tinker.
I can access a copy of MATLAB though; is the code likely to be something I can read as a programmer? I'd love to take a look. I did have BruteFIR in mind as an engine, but I'm not sure it can use dynamic filters, which I guess would be required for such a system, though I haven't really looked at the code yet. Of the other suggestions, the pink noise does work to some extent. Actually I've found that brown noise, with some additional low level "rumbling thunder" sounds played at random, and the whole thing equalized to remove the high and mid-frequency hiss, works best. But it has to be quite loud to really work, almost enough to be distracting in it's own right. Wax earplugs are much better than the foam ones I originally tried, but still not completely effective in the bass. But neither of those options is as interesting or challenging as noise cancellation .... |
|
|
|
#12 |
|
diyAudio Member
Join Date: Mar 2007
|
Just looking at MATLAB, it doesn't seem too unfamiliar to me, I'd be very interested in your code Wingfeather. Not sure if you can get my email by PM, etc? I'll send you one.
|
|
|
|
#13 |
|
diyAudio Member
Join Date: Mar 2003
Location: Southwest, UK / York, UK / Edinburgh, UK
|
Ah, yeah - the MATLAB language is very simple to read and use, so you'll have no trouble. And while the maths behind optimal filtering isn't the simplest, the implementation is very straightforward.
For implementation, I'm not sure offhand if any packages are out there which will work off the shelf. Given that you're a C programmer, one thing I'd recommend is PortAudio (www.portaudio.com) - a cross-platform audio backend written in C that contains code to interface with ALSA, OSS, ASIO, DirectSound - you name it. Last I checked, it had an excellent tutorial on how to use it to write realtime audio applications. I once wrote a very basic command-line app to run the EQ/crossovers for my 3-way speakers, which worked an absolute charm and didn't take too long to make. Honestly, that library was a joy to work with. You have to implement the FIR filter yourself though (it's not terribly complicated, but maybe time-consuming if you haven't done much signal processing before). I might still have the C++ code I used for that lot somewhere. I'll try digging it out. Feel free to PM me - I should be able to get them.
__________________
Wingfeather |
|
|
|
#14 | |
|
diyAudio Member
Join Date: May 2010
|
hi i lookt at your post about anti sound. im new to this matlab but im interested
i have a hiway nex to my house. could you send me same code for matlab so il have a good start. thanks. email ma21@telefonica.net Quote:
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Computer white noise generator, which software? | Bricolo | Everything Else | 16 | 5th April 2010 11:50 PM |
| Active noise cancellation for a computer? | MikeHunt79 | Everything Else | 0 | 3rd April 2008 10:54 PM |
| Active Noise Cancellation | gcladis | Pass Labs | 4 | 27th June 2006 11:36 PM |
| software 1/3 octave pink noise generator | deandob | Multi-Way | 6 | 25th March 2006 06:05 AM |
| Active Noise Cancellation | manse | Everything Else | 7 | 31st March 2003 04:57 PM |
| New To Site? | Need Help? |
| Page generated in 0.08702 seconds (80.07% PHP - 19.93% MySQL) with 10 queries |