-
Notifications
You must be signed in to change notification settings - Fork 258
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
MIDI Thru changes data on Atmega32U4 #174
Comments
That's very odd indeed, can I have a look at the code ? |
Yes, sure. Here it is:
Sorry for the dunglish language ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have some trouble with the MIDI Thru function on a custom atmega32U4 based board. The board checks the keys of a keyboard and send a MIDI signal. Incoming messages are also send thru. This way it is possible to daisy-chain multiple boards.
The hardware is not the problem, I think. I've made some other custom boards based on the atmega32U4 and they work great. But I don't use serial communication on those boards.
What I use to debug:
I have 2 of the custom boards: daisy-chained. Those are connected by a MIDI-USB converter to my PC. I use MIDI-OX to debug.
So: [Board 1] -> [Board 2] -> [MIDI-USB converter] -> [PC] -> [MIDI-OX]
...............|..........................|
...[Keyboard 1] [Keyboard 2]
What does work:
When I press a key on [Keyboard 2], on the MIDI-OX monitor I see a proper Note-On message and when I release I see a proper Note-Off message.
What doesn't work:
When I press a key on [Keyboard 1], on the MIDI-OX monitor I see something totally different. Only when I press a key very fast or multiple at ones, some messages are Note-On/Off. The corresponding data (channel, pitch) are then correct.
I can reproduce the problem when I switches [Board 1] with [Board 2].
I use the Leonardo bootloader to set the fuses.
I hope that I provided enough information.
Thanks in advance!
Corjan
The text was updated successfully, but these errors were encountered: