3 ms·
To clarify, I mean for audio. For MIDI it works well enough most of the time. I think note-on/off messages are 3 or 4 bytes, though, which is quite a bit less
by Roboprog 7y ago
To clarify, I mean for audio.
For MIDI it works well enough most of the time. I think note-on/off messages are 3 or 4 bytes, though, which is quite a bit less of a chunk to buffer and verify or whatever Bluetooth does
- PascLeRasc 7y agoNote-on/offs are 3 bytes exactly [1] and take 320μs to send [2], but I'm not sure what kind of overhead Bluetooth adds. [1]: http://www.music-software-development.com/midi-tutorial.html http://www.music-software-development.com/midi-tutorial.html [2] https://www.cs.cmu.edu/~music/cmsip/readings/davids-midi-spec.htm https://www.cs.cmu.edu/~music/cmsip/readings/davids-midi-spe...
- Roboprog 7y agoThanks, gotcha. Half byte for on/off header, half for channel, byte for the note/pitch, byte for the velocity. This snippet probably xmits even faster at higher bps.