arduino-libraries/MIDIUSB

NoteOn and Off in clock-example

JlnWntr opened this issue · 3 comments

Why do you send these notes?

That's likely a question for @ErniW who contributed to that example back in 2016 🙂

Why do you send these notes?

Its just for debugging purpose to know it works, the (same) note is sent every ppqm interval of 24 (minimal standard Sync24 resolution) so every quarter notes of a received clock and also on Clock start/stop events (0xFA and 0xFC).

If the arduino receiver actually works, you should be able to hear it thanks to that notes emitted there to your synth/sound module device.

Note: this advanced example assumes that you have a MIDI (hardware or software) device that sends a clock via USB to your arduino device and also that your arduino MIDIUSB device output is routed to a (hardware or software) instrument.

ErniW commented

@JlnWntr Well, actually @fab672000 answered your question. The purpose to place them was to check bi-directional communication and how does Arduino respond on start/stop messages without reading them manually. If you don't need it you can remove them.