wav trigger and midi

hi im kinda new to this and i was wondering where to get info on using the wav trigger with a roland td11 drum module.

what ive read so far has put me in a spinning rabbit hole with no way out. so if there any tutorials on configuring the drum

trigger maps, the commands, and general noobie stuff i would be very grateful for your support. also im very sorry for my vague description im not reaaly sure what to ask.

thank you for reading this

Unfortunately there are no tutorials but you might check [section 10 of the users guide for information on how MIDI works on the WAV Trigger.

[This chart might also be helpful.](https://cdn.sparkfun.com/assets/learn_tutorials/3/1/4/WAV_Trigger_MIDI_Chart_-_Nic_Danielson-2.pdf)](http://robertsonics.com/wav-trigger-online-user-guide/#chapter10)

It’s going to depend on what you are trying to accomplish…I didn’t have any luck searching for those terms…you might be the first person attempting it! Maybe BECOME the one to create a tutorial?

Otherwise…here’s a link to the TD-11 user manual https://static.roland.com/assets/media/ … ess_UG.pdf, which has notes on midi/usb use - beyond this, we can advise you how to troubleshoot the WAV Trigger if/when necessary

thank you so much for the reply. ive decided to go a different route. as im falling further into the whole ive chosen

to just work with midi until i understand it better.

hi can i re frame my question? how can i get wav trigger to accept midi from a mega 2560?

ive built the interface circuit on robertsonics web page and ive added midi 1 thru the config app to mt flash card

but the wav trigger is not giving any indication (led?) that its being polled(?). ArduinoMidiDrums is the sketch im using and it flashes (led on mega 2560 and serial port of arduino) everytime i hit my drum. ive tried moving the code and wiring to serial1 and i get nothing. is there a way to check to see if midi is getting to wav trigger? the internet is full of info but none of it works forme.

ive tried two win version software

arduino version is 1.8.13

ive tried reading voltage with meter i get 3 to 4 volts on 5vdc pin and serial1 pin.

do i need to add wav trigger library to sketch?

man i cant understand why im having so much trouble finding info.

sorry if im vague on my questions

thank you for your time if you read this

There’s no polling or LED activity that indicates the WAV Trigger is in MIDI mode, all you need to do to set that is have “#MIDI 1” at the top of your INI file and save that file on the SD card that has your WAV files. Once you do that, the WAV Trigger is listening for MIDI commands at 31250 bps over the RX pin on the 6 pin FTDI header that’s located on the lower right hand corner of the board.

If you’re sending MIDI from an Arduino, you don’t need to build a interface circuit, just connect your MIDI out pin on the Arduino to the RX pin on the WAV Trigger. Also connect a ground between both boards.

Make sure your WAV files are named correctly, you might start with the example WAV files for the Mellotron demo that’s at the bottom of the downloads page in the link below.

https://robertsonics.com/wav-trigger-downloads/

thank uou for that info! going to try tonight

sorry but one question. does it matter which serial port i use for midi? how do you enter code in these replies? ive included a copy of thr sketch i cannot get to work.

basic_test.txt (772 Bytes)

Unfortunately I don’t know anything about the MIDI library you’re using, you might try the [MIDI examples on Arduino’s website.](https://www.arduino.cc/en/Tutorial/BuiltInExamples/Midi)

oh boy. the example you sent me to is gonna take some reading because it looks nothing like any ive looked at so far. thanks again for your hard work and energy.

hi could you help me with this?

“Firmware v1.30 also now supports proper use of MIDI Channel/Omni modes. When set to a specific MIDI Channel (via the init file), the WAV Trigger will only respond to the specified MIDI channel. When set to Omni, the WAV Trigger will respond to any MIDI Channel (MIDI Channel ignored).”

mainly the midi channel ignored part.

Unfortunately I don’t have much more information on using MIDI or information on preliminary firmware.

If [robertsonics is on the forum, he might be able to help but I’m not sure how busy he is at the moment.](Login - SparkFun Electronics Forum)

Unfortunately I don’t have much more information on using MIDI or information on preliminary firmware.

If [robertsonics is on the forum, he might be able to help but I’m not sure how busy he is at the moment.

You might try searching through [some of his posts, your questions might be answered there.](Information - SparkFun Electronics Forum)](Login - SparkFun Electronics Forum)

thanks ill do that

sorry to be such a pest. thank you for your patience!

question should i have 3.26vdc all the time on the wav trigger ftdi port rx pin and ground?

im wondering if i damaged this board.

hi, update, i can send tx by remote app and hear sound but im still confused as to why theres 3.26 rxvdc on pin all the time.

my meter is a fluke 73 (not the best) but decent quality. when i check vdc serial1 port on it shows 4.5vdc uuntil i reset mega 2560. it then shuts off for split second then back on. expected?? im not that knowledgeable. :o.

question… what happens to tx signal with vdc present on both boards at same time? 3.26 vdc on trigger rx pin and ground and 4.6 vdc serial1 tx pin and ground of mega. im powering mega from usb on computer and trigger from 5 vdc wall wart.

thank you for your patience.

jerry

A multimeter is the wrong tool to be looking at RX and TX, you need an oscilloscope or logic analyzer to be able to see what’s really happening on each line.

Hi thank you for that info. I don’t have access to oscope at the moment. But I find it weird that the mega without a program has no vdc on its communication port. When it has a program it has 4.6 vdc. So I guessed. since it’s the only reference I have I compared it to the triggers possible state of communication. Boy this is a learning experience.

Hi.

I’m stumped. If the TX pin of wav trigger has 3.26 vdc on it all the time and the serial port has 4.28 vdc and when serial port goes to zero vdc to start a transmission how does the wav trigger ever sees the transition (it still has 3.3 vdc on it) .

If the TX pin of wav trigger has 3.26 vdc on it all the time

It doesn’t, your multimeter is way too slow to show what’s actually happening on RX and TX. It’s actually going between 5 volts and zero volts really fast, and your meter interpreters that as a voltage somewhere between 3.3 and 5 volts but can’t show the actual data.

A scope/logic analyzer will show whats really going on, it would look something like this:

https://www.jann.cc/_images/test_serial_decode.png