I recently was looking for an arduino solution for making my own phaser electronics. I discovered this thread. It provides me with almost everything I need. All I'm missing is an ascending tone for the overload, and (if possible) play a WAV for the firing of the phaser, with a start, loop the middle as long as I'm pushing the button and then the end when I let go. Can anyone help me?
Do you have your three sound snippetets ready in some audio file format?- start- middle loop-end
If you have all the sound you need and the total length of those sound is three seconds or less, you could convert them to PCM aucio data and use like shown here:http://playground.arduino.cc/Code/PCMAudioIt should be doable to change the code, so that- it starts with playing sound like that:- initial sound when pressing the button- midddle loop again and again as long as the button is pressed- finalizing sound when button is released
Without having the sounds you need, the only thing I could offer help with, is a "white noise generator":white noise sounds similar to that:http://www.trekcore.com/audio/weapons/tos_phaser_3.mp3This is a sound file from Star Trek (The Original Series).It's not enough for you to play "white noise, you need it different?In case yes: First get the sound ready you want to play, THEN ask for help!Nobody can help you playing sound with the Arduino, which nobody knows about, except you!