I need something that can play 30 seconds of sound or more to simulate the crashing waves at the sea shore. Optimally, I want to individually trigger three segments of the wave cycle with external inputs of between 0 and 10 volts rather than timing circuits because the cycle time will vary just a little. Additionally, I want to coordinate the crash sound with an actual splash event in a reef tank. These triggers would come from a code and sensor driven controller.
I also want it to be able to be plugged into better equipment for a fairly higher fidelity sound output. I would prefer it to be powered, directly or indirectly by AC from the wall. It doesn’t need to be super cheap but it does need to be easy to set up and use because I don’t know much about electronics. Optimally having more than one channel would allow an overlap of sound bites to mask and smooth the transitions between them.
If I make three copies of a wave sound, I can edit them to have an incoming wave sound, an outgoing wave sound and a wave crash. If I could play the incoming and outgoing sound, one after the other AND play the wave crash sound as they switch in an overlapping fashion, then any abrupt change, gaps, pops, clicks etc. would be masked. Yes? Variation in the total cycle time of the tank could be handled by stopping the incoming file when or just after the splash trigger occurs.
If that is not easily done then I could make two or one file that works.
http://asaherring.com/reef/hardware/apex/timing.jpg
Hi herring_fish,
While we do not have a sound board that would be able to handle everything in your project, we might have a couple of options that could be combined with other boards to do this project. To start, I would recommend browsing through our [Audio Boards Category. That will have all of the various audio boards including our various MP3/WAV Trigger boards that I would recommend taking a look at for this project. Two boards I would recommend for polyphonic audio along with high-quality audio output are both versions of the WAV Trigger, the [WAV Trigger and the [Tsunami Super WAV Trigger. We have Hookup Guides for both of these boards (and almost all SparkFun originals) linked both at the bottom of the description and in the “Documents” tab on their respective product pages. Please read through those to get an idea of how to use these audio boards.
Now, to trigger the files with a variable voltage is where things get tricky since the WAV Triggers linked above and all our other MP3/WAV Trigger boards do not work directly with an analog voltage input. In order to use that variable voltage signal, the best option would be to feed that voltage into a microcontroller’s [Analog to Digital Converter (ADC) pins and then have that send a serial command to the audio board. This brings up another issue as most microcontroller ADCs are only tolerant up to their operating voltage (commonly 3.3V or 5V) so you will need to step this voltage down from 0-10V to either 0-5V or 0-3.3V. The best option would probably be to create a [voltage divider to drop your input voltage to safe levels for a microcontroller like the [SparkFun RedBoard and then with some code you can relate different readings on the ADC to trigger a track. The Hookup Guides for the two WAV Triggers I linked will have a bit on the serial command protocol but for an in-depth coverage of them I would recommend reading through the User Guides on robertsonics’ site here:
- [[WAV Trigger Online User Guide](http://robertsonics.com/wav-trigger-online-user-guide/)
- [[Tsunami Super WAV Trigger Online User Guide](https://robertsonics.com/tsunami-user-guide/)
[/list]
I hope this is not too overwhelming and helps you get started with this project. If you have any follow-up questions about these or other SparkFun products you would like to use in this project, let us know and we would be happy to help as much as we can.](https://robertsonics.com/tsunami-user-guide/)](http://robertsonics.com/wav-trigger-online-user-guide/)](https://www.sparkfun.com/products/13975)](https://learn.sparkfun.com/tutorials/voltage-dividers)](https://learn.sparkfun.com/tutorials/analog-to-digital-conversion)](https://www.sparkfun.com/products/13810)](https://www.sparkfun.com/products/13660)](Audio Boards - SparkFun Electronics)