Hi i need to design a sistem to control 40 diferents audio files and playback in a stereo sistem. I was thinking to use puredata and arduino, load the 40 audios in a pd patch and use 40 switches and resistors into some arduino inputs to trigger and playback any of the 40 audios in pd. Every switch will be conected to a diferent resistor to generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific audio is been playback. The 40 audios will not be playback simultanusly, but probably al least 15 or 20 could be.
Anybody knows about a similar proyect? can i use analog input to control various samples or its not good idea? multiplexors? do i need to use an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time?
Thanks
On 2011-05-29 23:20, FernandoG wrote:
Hi i need to design a sistem to control 40 diferents audio files and playback in a stereo sistem. I was thinking to use puredata and arduino, load the 40 audios in a pd patch and use 40 switches and resistors into some arduino inputs to trigger and playback any of the 40 audios in pd. Every switch will be conected to a diferent resistor to generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific audio is been playback. The 40 audios will not be playback simultanusly, but probably al least 15 or 20 could be.
Anybody knows about a similar proyect? can i use analog input to control various samples or its not good idea? multiplexors? do i need to use an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time?
The analog input method is similar to the resistor ladder that analog synthesizer keyboards used. Arduino analog inputs can differentiate 1024 levels but the values of resistors are usually 5%, but 40 levels should be easy. The best way to do LEDs is with shift registers. That way you can use just 3 pins on the Arduino to control as many LEDs as you like. For LEDs use parallel-output shift registers, like the 74HC164. Also the input could be done with parallel-load shift registers (for example the 74HC165), but the resistor method is cheaper. It should be quite stable over time.
Martin
Thanks for answer
Martin: I am researching about shift registers, but if the idea is to use puredata to control audio playbacks, thats means that i need to control shift registers with pd? because the arduino will be flashed with pd firmdata and will be imposible to upload code to control shift registers, is that posible or i am thinking wrong? Thanks again
Best!
2011/5/30 Martin Peach martin.peach@sympatico.ca
On 2011-05-29 23:20, FernandoG wrote:
Hi i need to design a sistem to control 40 diferents audio files and playback in a stereo sistem. I was thinking to use puredata and arduino, load the 40 audios in a pd patch and use 40 switches and resistors into some arduino inputs to trigger and playback any of the 40 audios in pd. Every switch will be conected to a diferent resistor to generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific audio is been playback. The 40 audios will not be playback simultanusly, but probably al least 15 or 20 could be.
Anybody knows about a similar proyect? can i use analog input to control various samples or its not good idea? multiplexors? do i need to use an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time?
The analog input method is similar to the resistor ladder that analog synthesizer keyboards used. Arduino analog inputs can differentiate 1024 levels but the values of resistors are usually 5%, but 40 levels should be easy. The best way to do LEDs is with shift registers. That way you can use just 3 pins on the Arduino to control as many LEDs as you like. For LEDs use parallel-output shift registers, like the 74HC164. Also the input could be done with parallel-load shift registers (for example the 74HC165), but the resistor method is cheaper. It should be quite stable over time.
Martin
You could buy an Arduino Mega, that has at least 40 inputs. Then you
don't need a shift register, just the Arduino Mega with Firmata.
That's a simpler solution, IMHO.
.hc
On Jun 1, 2011, at 10:33 PM, FernandoG wrote:
Thanks for answer
Martin: I am researching about shift registers, but if the idea is
to use puredata to control audio playbacks, thats means that i need
to control shift registers with pd? because the arduino will be
flashed with pd firmdata and will be imposible to upload code to
control shift registers, is that posible or i am thinking wrong? Thanks againBest!
2011/5/30 Martin Peach martin.peach@sympatico.ca On 2011-05-29 23:20, FernandoG wrote: Hi i need to design a sistem to control 40 diferents audio files and playback in a stereo sistem. I was thinking to use puredata and
arduino, load the 40 audios in a pd patch and use 40 switches and resistors
into some arduino inputs to trigger and playback any of the 40 audios in
pd. Every switch will be conected to a diferent resistor to generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific audio is been playback. The 40 audios will not be playback simultanusly, but probably al least 15 or 20 could be.Anybody knows about a similar proyect? can i use analog input to
control various samples or its not good idea? multiplexors? do i need to use
an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time?The analog input method is similar to the resistor ladder that
analog synthesizer keyboards used. Arduino analog inputs can
differentiate 1024 levels but the values of resistors are usually
5%, but 40 levels should be easy. The best way to do LEDs is with shift registers. That way you can
use just 3 pins on the Arduino to control as many LEDs as you like. For LEDs use parallel-output shift registers, like the 74HC164. Also
the input could be done with parallel-load shift registers (for
example the 74HC165), but the resistor method is cheaper. It should be quite stable over time.Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
All mankind is of one author, and is one volume; when one man dies,
one chapter is not torn out of the book, but translated into a better
language; and every chapter must be so translated.... -John Donne
It's certainly possible to make a Pd patch that controls shift registers through firmata. It's also possible to program the Arduino to do that and send the switch numbers to a Pd patch that has a [comport] in it.
Martin
On 2011-06-01 22:33, FernandoG wrote:
Thanks for answer
Martin: I am researching about shift registers, but if the idea is to use puredata to control audio playbacks, thats means that i need to control shift registers with pd? because the arduino will be flashed with pd firmdata and will be imposible to upload code to control shift registers, is that posible or i am thinking wrong? Thanks again
Best!
2011/5/30 Martin Peach <martin.peach@sympatico.ca mailto:martin.peach@sympatico.ca>
On 2011-05-29 23:20, FernandoG wrote: Hi i need to design a sistem to control 40 diferents audio files and playback in a stereo sistem. I was thinking to use puredata and arduino, load the 40 audios in a pd patch and use 40 switches and resistors into some arduino inputs to trigger and playback any of the 40 audios in pd. Every switch will be conected to a diferent resistor to generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific audio is been playback. The 40 audios will not be playback simultanusly, but probably al least 15 or 20 could be. Anybody knows about a similar proyect? can i use analog input to control various samples or its not good idea? multiplexors? do i need to use an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time? The analog input method is similar to the resistor ladder that analog synthesizer keyboards used. Arduino analog inputs can differentiate 1024 levels but the values of resistors are usually 5%, but 40 levels should be easy. The best way to do LEDs is with shift registers. That way you can use just 3 pins on the Arduino to control as many LEDs as you like. For LEDs use parallel-output shift registers, like the 74HC164. Also the input could be done with parallel-load shift registers (for example the 74HC165), but the resistor method is cheaper. It should be quite stable over time. Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I think people have done some shift register+firmata things, but
nothing got integrated into StandardFirmata/ Here's an example:
http://www.makingthingsmove.org/blog/
.hc
On Jun 2, 2011, at 1:02 AM, Martin Peach wrote:
It's certainly possible to make a Pd patch that controls shift
registers through firmata. It's also possible to program the Arduino
to do that and send the switch numbers to a Pd patch that has a
[comport] in it.Martin
On 2011-06-01 22:33, FernandoG wrote:
Thanks for answer
Martin: I am researching about shift registers, but if the idea is to use puredata to control audio playbacks, thats means that i need to control shift registers with pd? because the arduino will be flashed with pd firmdata and will be imposible to upload code to control
shift registers, is that posible or i am thinking wrong? Thanks againBest!
2011/5/30 Martin Peach <martin.peach@sympatico.ca mailto:martin.peach@sympatico.ca>
On 2011-05-29 23:20, FernandoG wrote:
Hi i need to design a sistem to control 40 diferents audio
files and playback in a stereo sistem. I was thinking to use puredata
and arduino, load the 40 audios in a pd patch and use 40 switches and resistors into some arduino inputs to trigger and playback any of the 40
audios in pd. Every switch will be conected to a diferent resistor to
generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific
audio is been playback. The 40 audios will not be playback
simultanusly, but probably al least 15 or 20 could be.Anybody knows about a similar proyect? can i use analog
input to control various samples or its not good idea? multiplexors? do i
need to use an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time?The analog input method is similar to the resistor ladder that analog synthesizer keyboards used. Arduino analog inputs can differentiate 1024 levels but the values of resistors are usually 5%, but 40 levels should be easy. The best way to do LEDs is with shift registers. That way you can use just 3 pins on the Arduino to control as many LEDs as you
like. For LEDs use parallel-output shift registers, like the 74HC164.
Also the input could be done with parallel-load shift registers (for example the 74HC165), but the resistor method is cheaper. It should be quite stable over time.Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"Free software means you control what your computer does. Non-free
software means someone else controls that, and to some extent controls
you." - Richard M. Stallman
Thanks guys, first i will try the easy way, arduino mega.
best!
2011/6/3 Hans-Christoph Steiner hans@at.or.at
I think people have done some shift register+firmata things, but nothing got integrated into StandardFirmata/ Here's an example:
http://www.makingthingsmove.org/blog/
.hc
On Jun 2, 2011, at 1:02 AM, Martin Peach wrote:
It's certainly possible to make a Pd patch that controls shift registers
through firmata. It's also possible to program the Arduino to do that and send the switch numbers to a Pd patch that has a [comport] in it.
Martin
On 2011-06-01 22:33, FernandoG wrote:
Thanks for answer
Martin: I am researching about shift registers, but if the idea is to use puredata to control audio playbacks, thats means that i need to control shift registers with pd? because the arduino will be flashed with pd firmdata and will be imposible to upload code to control shift registers, is that posible or i am thinking wrong? Thanks again
Best!
2011/5/30 Martin Peach <martin.peach@sympatico.ca mailto:martin.peach@sympatico.ca>
On 2011-05-29 23:20, FernandoG wrote:
Hi i need to design a sistem to control 40 diferents audio files and playback in a stereo sistem. I was thinking to use puredata and arduino, load the 40 audios in a pd patch and use 40 switches and resistors into some arduino inputs to trigger and playback any of the 40 audios in pd. Every switch will be conected to a diferent resistor to generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific audio
is been playback. The 40 audios will not be playback simultanusly, but probably al least 15 or 20 could be.
Anybody knows about a similar proyect? can i use analog input to control various samples or its not good idea? multiplexors? do i need to use an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time?
The analog input method is similar to the resistor ladder that analog synthesizer keyboards used. Arduino analog inputs can differentiate 1024 levels but the values of resistors are usually 5%, but 40 levels should be easy. The best way to do LEDs is with shift registers. That way you can use just 3 pins on the Arduino to control as many LEDs as you like. For LEDs use parallel-output shift registers, like the 74HC164. Also the input could be done with parallel-load shift registers (for example the 74HC165), but the resistor method is cheaper. It should be quite stable over time.
Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman
Hi guys
I was researching about arduino mega and pd firmata and i found a post where they say that its not posible to use all digital output and analog inputs of arduino mega. http://arduino.cc/forum/index.php?topic=62256.0
I gona buy arduino mega this week, but i need all inputs-output working for my proyect. Do you know something about this incompatibility??
thanks
2011/6/3 FernandoG dataferx@gmail.com
Thanks guys, first i will try the easy way, arduino mega.
best!
2011/6/3 Hans-Christoph Steiner hans@at.or.at
I think people have done some shift register+firmata things, but nothing got integrated into StandardFirmata/ Here's an example:
http://www.makingthingsmove.org/blog/
.hc
On Jun 2, 2011, at 1:02 AM, Martin Peach wrote:
It's certainly possible to make a Pd patch that controls shift registers
through firmata. It's also possible to program the Arduino to do that and send the switch numbers to a Pd patch that has a [comport] in it.
Martin
On 2011-06-01 22:33, FernandoG wrote:
Thanks for answer
Martin: I am researching about shift registers, but if the idea is to use puredata to control audio playbacks, thats means that i need to control shift registers with pd? because the arduino will be flashed with pd firmdata and will be imposible to upload code to control shift registers, is that posible or i am thinking wrong? Thanks again
Best!
2011/5/30 Martin Peach <martin.peach@sympatico.ca mailto:martin.peach@sympatico.ca>
On 2011-05-29 23:20, FernandoG wrote:
Hi i need to design a sistem to control 40 diferents audio files and playback in a stereo sistem. I was thinking to use puredata and arduino, load the 40 audios in a pd patch and use 40 switches and resistors into some arduino inputs to trigger and playback any of the 40 audios in pd. Every switch will be conected to a diferent resistor to generate diferents voltages then arduino inputs can diferenciate witch audio to playback. Also i need to power on a led any time a specific audio
is been playback. The 40 audios will not be playback simultanusly, but probably al least 15 or 20 could be.
Anybody knows about a similar proyect? can i use analog input to control various samples or its not good idea? multiplexors? do i need to use an arduino mega or its not necesary?can i power 15-20 led simultaneously? the best way to do this system stable for long long time?
The analog input method is similar to the resistor ladder that analog synthesizer keyboards used. Arduino analog inputs can differentiate 1024 levels but the values of resistors are usually 5%, but 40 levels should be easy. The best way to do LEDs is with shift registers. That way you can use just 3 pins on the Arduino to control as many LEDs as you like. For LEDs use parallel-output shift registers, like the 74HC164. Also the input could be done with parallel-load shift registers (for example the 74HC165), but the resistor method is cheaper. It should be quite stable over time.
Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you."
- Richard M. Stallman