-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB-MIDI documentation? #3233
Comments
To receive and process MIDI signals from a PC or other source, the following code can be used as a reference. tinygo/src/examples/usb-midi/main.go Lines 21 to 25 in b5ad81c
|
I think there is no documentation on USB-MIDI at this time. |
Thanks, a question please: Why or when do I need to use the init function as mentioned in the RP2040 docs:
I'm using tinygo version 0.26.0 darwin/amd64 (using go version go1.19.2 and LLVM version 14.0.0) Also, in the example tinygo/src/examples/usb-midi/main.go I get an undeclared error on machine.BUTTON. |
You do not need to call tinygo/src/machine/usb/midi/midi.go Lines 21 to 25 in b5ad81c
tinygo/src/machine/usb/midi/midi.go Lines 21 to 25 in b5ad81c
So the first thing you should do is examples/usb-midi.
If |
Thanks for the help, I can now send MIDI notes to the pc from Seeed Studio's Xiao RP2040. |
I just added PR #3889 to make some improvements to the current USB-MIDI support, please have a look. |
I have a Xiao RP2040 working in that the device can be recognized as a MIDI device but I'm lost as to how to send data.
Is there any documentation for USB-MIDI?
I have asked this question in TinyGoMIDI, a Google Group I've started, and the code I have at the moment is there:
https://groups.google.com/g/tinygomidi/c/s8P8fqm3BaE
The text was updated successfully, but these errors were encountered: