Controlling with Arduino Nano

8 views
Skip to first unread message

Doug Phillips

unread,
Jul 1, 2024, 1:43:18 PM (2 days ago) Jul 1
to WVR Audio
Greetings.

I'm brand new to the WVR audio board. Feel free to educate me.  

I am trying to use the WVR dev board to store a few dozen sounds (recorded) and trigger the board to play several of them simultaneously using an Arduino Nano that is controlling most of the system.  There are only, what, 13 I/O pins that the examples show you can pull low to trigger a sound mapped in the web interface.  Can you use the MIDI interface to place stored recorded sounds and if so, is there some example code on how to do it and also how the 2 boards would be connected? I looked through the "marchingband" section on Git Hub bus I wasn't really able to figure it out.  If there is a better way, I would love to hear about it. This board outputs the exact sounds I need but I'm struggling to figure out how to control it.  Thanks for any suggestions 

Cheers

WVR Audio

unread,
Jul 1, 2024, 1:53:43 PM (2 days ago) Jul 1
to WVR Audio
Hello, welcome!
Yes MIDI is the best way to trigger sounds from another MCU like Arduino Nano.
Both the MIDI data format, and the hardware, are standardized, so any MIDI library on the Arduino Nano will work very well.
There is a wiring diagram and some information here https://github.com/marchingband/wvr_hardware

In the WEB UI, you will notice that each sample that you upload is placed into a slot which has both a note name (ex. C#4), and a note number (ex. 42) associated with it, and that there are 16 "voices" enumerated at the top.
The note number corresponds to the MIDI Note number that will trigger it.
The "voice" corresponds to the MIDI channel that will trigger it by default. Note that the mapping from MIDI channel to "voice" is dynamic, using MIDI Program Change commands, so it can get more complicated if you wish.

Do let me know if you have more questions, and please consider joining the Discord server, which is a much more user-friendly way to get support from myself and others, but if that's not something that interests you, asking questions here is also totally fine!

Andrew

Doug Phillips

unread,
Jul 2, 2024, 2:03:51 AM (yesterday) Jul 2
to WVR Audio
Thanks! I'll dig into it.  I did join Discord, as you know ;). I'll be sure to ask if I need some more help.  

Cheers
Reply all
Reply to author
Forward
0 new messages