4 ms·
Thank you. Someone needed to say this. I’m sure some would argue that you could use the adapter - but do I really want to carry an adapter and have to find it w
by lostgame 7y ago
Thank you. Someone needed to say this. I’m sure some would argue that you could use the adapter - but do I really want to carry an adapter and have to find it within a moment of inspiration?
- Roboprog 7y agoTo 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.