The Arduino Reference text is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Find anything that can be improved? Suggest corrections and new documentation via GitHub.
Doubts on how to use Github? Learn everything you need to know in this tutorial.
This function forces the USB layer to send the data immediately. Since the USB bus is not realtime, a sendMIDI() doesn’t guarantee the data to be sent with the correct timing unless immediately followed by a flush()
sendMIDI()
flush()