Go Down

Topic: play sound files with arduino (Read 1 time) previous topic - next topic

krrlijn

Hello, I have just bought an Arduino board, so I'm just starting to find things out.

I have made a circuit in which I can measure different voltages. According to these different voltages I would like a specific sound file to be played, whenever the correct voltage is measured. (eg.  if voltage = x then play sound file 1, if voltage = y then play sound file 2, etc).
Do I need to interface with another program (like Flash, Max MSP) to be able to do this? Or can I do it in the Arduino environment?

Thanks!

kuuk

hi,

if you want to play a sound file like an mp3 you need to interface with another program.
arduino can't play soundfiles on its own. i would suggest having a look into the flash examples. also use google to finde more examples.

you can still, create simple sounds using pulsed output and attaching a speaker to your arduino board. these sounds are rather beeps than voices.


hope that helped,
kuk_

tomek


hej,

if you want to have a more or less hardware solution you could go for a industrie mp3 player,  which you can controll true the tx at the arduino (printbyte, etc). there is a guy in stockholm salling this stuff (jesper hansen, yampp), but i guess you could find this things also some where else, ...

if you want to i could send you a tutorial by Marcus Hannerstig (from k3).

regards
tomek

krrlijn

thanks for the responses!
a hardware mp3 player is not really what i'm looking for, so i guess i'll have to try to find a solution in flash. does anyone have any ideas about where i can find a forum with flash code examples? i'm really not into this kind of programming..

thanks!

woo_oow

Quote
if you want to i could send you a tutorial by Marcus Hannerstig (from k3).

regards
tomek


hello,
im very interrested in that.
could i read it as well?

chers
woo

Go Up