machine/usb/midi: add NoteOn, NoteOff, and SendCC methods for more complete API

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2022-07-20 17:13:44 +02:00
committed by Ron Evans
parent 5271bd8cfa
commit 13ed58950f
3 changed files with 22 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@ const (
var Midi *midi
type midi struct {
msg [4]byte
buf *RingBuffer
rxHandler func([]byte)
waitTxc bool