Greetings. I wanted to see if something is possible.
I realized that most of my vocalizations in my system are for the vocoder. I am trying not to add too much to the hardware configuration of my system so i have been entertaining the idea of using an electret microphone amplified to send its signal to an analog pin on my arduino then transmit that into pure data. I would like to have the frequencies register as voltages. i do not know if this is possible. I dont know much about the mechanics of how this process would work but i theorize that i should be able to create a means of converting the PWM signal from the arduino, back to something audio-ish, in PD. any insight would be much appreciated.
Onyx
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
On Nov 28, 2011, at 5:09 PM, onyx@onyx-ashanti.com wrote:
Greetings. I wanted to see if something is possible.
I realized that most of my vocalizations in my system are for the vocoder. I am trying not to add too much to the hardware configuration of my system so i have been entertaining the idea of using an electret microphone amplified to send its signal to an analog pin on my arduino then transmit that into pure data. I would like to have the frequencies register as voltages. i do not know if this is possible. I dont know much about the mechanics of how this process would work but i theorize that i should be able to create a means of converting the PWM signal from the arduino, back to something audio-ish, in PD. any insight would be much appreciated.
Onyx
-- Help me build the sickest live performance system ever! www.indiegogo.com/beatjazzsystem www.onyx-ashanti.com Germany+49 176 3543 7859
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
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
On Nov 28, 2011, at 7:10 PM, Onyx Ashanti 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?
I'd check the Arduino forums for using an Arduino to digitize audio, I think some people have documented how to do it.
.hc
I hate it when they say, "He gave his life for his country." Nobody gives their life for anything. We steal the lives of these kids. -Admiral Gene LeRocque
Hi all,
I'd check the Arduino forums for using an Arduino to digitize audio, I think some people have documented how to do it.
And look for arduino-based guitar pedal effects.
However, there's nothing the arduino/avr can do that the average intel CPU can't. Since you began with "I am trying not to add too much to the hardware configuration of my system", just use pd to downsample the audio and drop that sissy 8-bit mcu ;).
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
hi onyx,
you might want to check out what martin nawrath at the KHM was doing: http://interface.khm.de/index.php/lab/experiments/arduino-realtime-audio-pro...
m.
Am 29.11.2011 um 01:10 schrieb Onyx Ashanti:
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