i would like to simulate rain with lightning and thunder but i don't know how i would use the arduino to control any sound. i've seen projects using midi but i was wondering if there was any different way. any thoughts?
The Arduino itself doesn't have the memory to do sampled sound, but it can do procedural (or synthesized) sound. A simple DAC ladder on a number of output pins will allow you to create any waveforms you wish. Rain itself is just kind of a white noise, maybe with some gentle oscillations in pitch and volume. Thunder, I'm not sure how you would generate, I haven't done much with this type of thing.
Why not go with an MP3 decoding chip and stuff ? Not sure but I think I saw something on ladyada's site... Some sort of shield.
here it is
Why not go with an MP3 decoding chip and stuff ? Not sure but I think I saw something on ladyada's site... Some sort of shield.
here it is
The Wave shield does .wav files, not MP3 decoding. No decoder at all, just an SD card, a DAC, and an op-amp.
Yep, I saw that after posting the link, but anyway, you can play prerecorded sound with it.