Skip to content
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 Program Change or 1 byte messages not sent or read #52

Open
neroroxxx opened this issue Sep 24, 2019 · 7 comments
Open

Midi Program Change or 1 byte messages not sent or read #52

neroroxxx opened this issue Sep 24, 2019 · 7 comments

Comments

@neroroxxx
Copy link

A midi message received by the BLE module must be at least 3 bytes, if a program change (status+program) is sent by the central the BLE module will ignore it, if a real time like Clock, Start, Continue which are only 1 byte status is sent by the central they are also ignored.

@mortenboye
Copy link

This issue is getting old, but since it is still open I just wanted to note that the best way I found to fix this issue was to reimplement the entire MIDI parsing code myself.

@neroroxxx
Copy link
Author

Where did you do that? I tried just printing out everything on the processRxCallback() in Ble-midi.h but that made no difference, i thought the issue was with directly woth the firmware flashed to the nrf

@mortenboye
Copy link

I did not use any of the MIDI features from this library. Instead I created my own BLE service and characteristic and implemented my own parser according to the BLE MIDI spec.

@BassNoize
Copy link

can you share your code? I'm facing the exact same problem. I want to do the same, implement my own service but if already done... would be nice. Thx

@mortenboye
Copy link

can you share your code? I'm facing the exact same problem. I want to do the same, implement my own service but if already done... would be nice. Thx

Have a look here https://github.com/InvisibleWrench/BluefruitBLEMIDI/blob/master/example.ino

@BassNoize
Copy link

BassNoize commented Apr 17, 2020 via email

@BassNoize
Copy link

BassNoize commented Apr 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants