SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By j.crowe
#193564
Hi! I'm using Wav trigger as a sort of electronic drums. Arduino senses 6 piezos and triggers the tracks in the wav trigger. No problem with that. My trouble is that I cannot change banks at all. I've tried using buttons (connected to 15 and 16 inputs) with both midi bank and trigger bank (by the way, what's the difference?) and nothing. I've also tried sending bank change from a MIDI secuencer, using the example of MIDI IN in robertsonics and nothing either (i can confirm the optoisolation circuit works). I'm also confused about how to name the tracks to made them belong to different banks. Each bank holds 16 or 100 tracks? Anyone succeeded on this one? Thanks in advance.
I'm using 1.30 version of firmware and this is my init file:

#MCHN 11
#MIDI 1
#TRIG 01, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 02, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 03, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 04, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 05, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 06, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 15, 1, 0, 1, 1, 1, 1, 0, ,
#TRIG 16, 1, 0, 1, 1, 1, 1, 0, ,
********************************************************************
User avatar
By robertsonics
#193580
Based on your init file, you haven't selected the "Trig Bank Up/Dn" functions for trigger inputs 15 and 16. Currently, your init file has these inputs programmed to play tracks 15 and 16.

With the latest firmware, there are two different banking mechanisms. MIDI Banks only apply to incoming MIDI notes, and shift the track numbers played by those notes by increments of 128. This allows you to remap your MIDI keyboard to a completely new set of sounds. Trigger Banks only apply to the trigger inputs, and remap the trigger track assignments by increments of 16. So for Trigger Bank 1 (default) triggers 1-16 play tracks 1-16. For Trigger Bank 2, triggers 1-16 play tracks 17-32, and so on.

Make sure you have the latest Init File Maker app and set triggers 15 and 16 to the Trigger Bank Up/Dn functions respectively.
By j.crowe
#193706
Well, first of all, thanks a lot for your quick answer! It looked like I didn't update those triggers. It's almost working. The only problem right now is that I can't go further the second bank (I have 4 right now). Bank 1 and 2 play right but 3 and four are silent. I checked the WAV format of the files and it's OK.
Bank 1 starts at 001.wav
Bank 2 starts at 017.wav
Bank 3 starts at 033.wav
Bank 4 starts at 049.wav

I only have 6 files per bank instead of 16 (but I named them to match bank changing) Could that be a problem?

Mi actual init file looks like this:

#TRIG 01, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 02, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 03, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 04, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 05, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 06, 2, 1, 1, 1, 1, 1, 0, ,
#TRIG 15, 1, 0, 1, 1, 1, 13, 0, ,
#TRIG 16, 1, 0, 1, 1, 1, 12, 0, ,
********************************************************************

Thanks in advance!