Member Since: March 15, 2006

Country: United States



MP3 Trigger Hookup Guide V24

January 21, 2016

Incorporate sound into your next project easily with the MP3 Trigger.
  • Please review this tutorial.

  • Yes, that’s true, although I’m surprised to hear that some tracks don’t play at all. I thought I had tested that pretty carefully. It’s a great suggestion, and one that’s been on the list for some time. Coming up with a different seed each power cycle probably means implementing an ADC to read a “random” analog value. I’m working on other things at the moment so it may take me a bit.

    In the meantime, may I suggest that a Teensy, the WAV Trigger Serial Control Library and a little code would give you the ability to have any random functionality you care to create. The library allows you to easily start any track on the microSD card, and you can use the WAV Trigger Play Output (PLO) pin to determine when tracks are finished.

  • That’s just under 1GB. Shouldn’t be a problem.

  • Just want to point out that the WAV Trigger now supports 2048 tracks, not 999. That’s 16 complete banks of 128 MIDI note numbers.

  • There’s also an Arduino serial control library for the WAV Trigger with an example using the Uno here

  • There’s a whole bunch of things that the WAV Trigger can do that the MP3 Trigger can’t, the main things being polyphony, CD quality, uncompressed audio and MIDI. The only thing the MP3 Trigger can do that the WAV Trigger can’t is play MP3 files, but you can easily convert any MP3 to wav. I don’t know why you wouldn’t use the WAV Trigger.

  • You may be able accomplish this without an Arduino. You can program a trigger input to provide the Random function over a range of tracks. Then using the trigger type selection (edge or latched), you can program the desired behavior of the trigger (press once to start continuous random play vs having to press again to play the next selection.) This is all built into the WAV Trigger.

    Once caveat is that the Random track selection is actually pseudo random - meaning that it’s a random sequence of the tracks, but it will be the same random sequence after each power cycle.

  • Thanks for the feedback. Depending on what you mean by “current track”, there are several ways to get this type of info from the WAV Trigger now: The PLO output pin on the WAV Trigger goes low whenever any track is playing, and is high when no tracks are playing. You can connect this to a digital input pin on your Arduino and use it to tell when audio is playing or not.

    Secondly, the GET_STATUS serial command will cause the WAV Trigger to respond with a STATUS message that contains a list of all the tracks that are currently playing, allowing you to determine when individual tracks are completed. Even though the Arduino library does not yet implement this command, it’s still available to use in your Arduino code. See the Serial Control Protocol section here.

    Hope this helps.

  • The WAV Trigger is a “read only” device, and contains no code capable of writing to or modifying the data on the SD card, so I would be very surprised if it were corrupting anything. I’d suspect other things first. If you would like me to have a look at a “corrupted” file, please email it to me at info(at)robertsonics(dot)com. If it’s larger than 4MB, please email me first and we can coordinate a large file transfer.

  • How would you want this to work? When you say fast forward/ rewind, do you really mean going immediately to a specific time in the track? And what do you mean by queueing? The WAV Trigger already provides a load/pause function, which supports preloading multiple tracks and then resuming them so they start in sample-sync.

    And are you talking about serial commands or trigger functions?

No public wish lists :(