-
Notifications
You must be signed in to change notification settings - Fork 71
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
Support Serial MIDI #20
Comments
We need to use @dcoredump, it looks like the code for this would need to be added to Synth_Dexed next to |
Attached the patches for serial MIDI (tested). The UART input (RX) is at GPIO15 now, not 13 any more!!! This has changed, because the RPi 3 does not has an UART at GPIO13. |
Thanks @rsta2. Getting
Did I do something wrong? |
@probonopd Can it be, that you haven't updated the Synth_Dexed submodule reference to the new master? It still points to a commit from 5 days ago. |
D'oh! |
Build succeeded but I can't get sound via serial on the RPi 3. Possibly it is the wiring on my side. What exact circuit are you using?
Out of curiosity, where was this changed in the code? |
I tested this with a normal USB-to-serial-adapter with PC Linux and a small C program as MIDI sender. For this test I modified the serial baud rate in MiniDexed to 38400, because 31250 cannot be selected on the PC (at least I do not know how). The adapter provides 3.3V signals, so I can connect it directly to GPIO14/15. The UART GPIO mapping is here. That is the magic "5" in |
@probonopd One hint: The serial MIDI will only work, when USB MIDI is disconnected. You have to remove your USB MIDI keyboard for a test. If you have a free Raspberry Pi Pico, you could use this project to connect a sequencer program, running on a PC, to MiniDexed. |
Great hint, sure enough I had the USB MIDI connected in addition to Serial MIDI. It is still not working though, but most likely my selfmade MIDI Serial circuit to be the culprit. Will redo it with the help of an oscilloscope and logic analyzer once I find the time for it (might take a while). If anyone is faster and is successful in e.g., using a Serial MIDI keyboard, please let me know! |
Note to self: Retest this, then close. |
@rsta2 are you saying we have bidirectional serial MIDI even? |
The UART driver is bidirectional, but it is currently not used in TX direction. |
Tested, Serial MIDI using a Raspberry Pi Pico sending MIDI notes to MiniDexed over serial; working. |
Currently we can play notes on a MIDI controller (keyboard) and (for testing and debugging) USB (QWERTY) keyboards.
In addition, we would like to support Serial MIDI, to connect older MIDI keyboards that don't come with USB using a circuit like this:
Image Source: https://hackaday.com/tag/6n137/
Connect the wire labeled "RX" to GPIO15 on the Raspberry Pi. This is a SoC number, not the position on the header (see this).
The text was updated successfully, but these errors were encountered: