Hi Onyx, If low-fi ness and texture is what you're after, then you may want to try bit-banging, i.e., sampling audio with digital pins, for a resolution of one bit per sample. That sounds crazy, but with a little bit of low-pass filtering the output is surprisingly recognizable. It also improves your odds of staying within the limitations of the hardware.
I built some audio toys around Arduino a few years ago and bit-banging worked quite well for what I had in mind. I would share the code, but I believe I deleted it. Cheers, Peter
On Mon, Nov 28, 2011 at 7:10 PM, Onyx Ashanti onyxashanti@gmail.com wrote:
An analog input on an Arduino is a poor Analog-to-Digital Convertor compared to audio ADCs. Its 10-bit, and not more than 16kHz max (more like 4kHz) sampling rate. Standard digital audio is 16-bit/44.1kHz.
Then, having your Arduino read at 4kHz will require all of the CPU time, so it can't really do much else then.
.hc
thank you for getting back to me.
How would it work though? I am curious about the low fi ness and the texture it could bring to vocoding. I also would like to use voice modulations for synth sounds so high quality is not necessary. 4khz might be fine for the intended purpose; something better than r2d2 but not quite bad telephone connection. in between. all I need the arduino to do is sample the audio and send the data to pure data where I can deal with it there. on the arduino, I just want the signal with no processing of any kind. possible?
_________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list