Beginner considering EchoFilter - is this code okay?
posted 8 years ago
Not sure if this is the right forum but I'm wanting to create a small Java app to change voices in realtime i.e. take input from the mic and push it through the speaker.
Ultimately I'd like to create a Vocoder (Cylon) style effect, and later convert it to J2ME for mobile phone use, but ATM want to start crawling before I attempt to run.
I've used a little java before, but when it comes to anything sound/media based I'm clueless, so when I came across the following code it all seemed rather 'complicated' and wondered what do you guys thought of it - should I use it as a basis for what I'm attempting, or is there a simpler way?
I don't fully understand the echofilter code, but basically it looks like it plays back a .wav file with an echo effect. You'd have to do a little research however to find out how to use the real-time input from a microphone instead of using a .wav file. Here is a good place to start. If I get motivated and have time, I will try to find out more about processing real-time input with Java. I would actually start with something simpler than echofilter if you can find sample code. Right now I'd focus on understanding how to capture input from a mic or line-in and spit it back out through the speakers. Then from there I'd assume you can almost just insert your algorithm to process the sound signal. Let us know if you make any progress on that, and I will also let you know if I find anything new.