Howdy,
Any pointers to good resources on audio filters for WAV files (particularly low-pass filters) implemented in Java?
I've found a goodly amount of resources on DSP and filters, but when it gets to implementation I find methods that take input of an array of doubles or floats. I'm not real clear on how I get from audio to numbers in the correct format for those methods, and even more so how to get from the output of those methods (arrays of doubles or floats) back to an audio signal to hear the results of the filter.
(Ultimately my purpose is working with the data, but hearing the results would be a nice sanity check that the filter code is doing what I expect.)
I've been putting my files into AudioInputStreams. Today I found, but haven't had a chance to play with, this:
http://www.source-code.biz/dsp/java/
...which seems to fit the bill--a method IirFilterAudioInputStreamFisher that takes an AudioInputStream and returns the filtered results in an AudioInputStream.
Do you have any other recommendations in this area?
Thank you.
Any pointers to good resources on audio filters for WAV files (particularly low-pass filters) implemented in Java?
I've found a goodly amount of resources on DSP and filters, but when it gets to implementation I find methods that take input of an array of doubles or floats. I'm not real clear on how I get from audio to numbers in the correct format for those methods, and even more so how to get from the output of those methods (arrays of doubles or floats) back to an audio signal to hear the results of the filter.
(Ultimately my purpose is working with the data, but hearing the results would be a nice sanity check that the filter code is doing what I expect.)
I've been putting my files into AudioInputStreams. Today I found, but haven't had a chance to play with, this:
http://www.source-code.biz/dsp/java/
...which seems to fit the bill--a method IirFilterAudioInputStreamFisher that takes an AudioInputStream and returns the filtered results in an AudioInputStream.
Do you have any other recommendations in this area?
Thank you.