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

Missing messages #7

Open
tchelomgf opened this issue Jan 4, 2019 · 5 comments
Open

Missing messages #7

tchelomgf opened this issue Jan 4, 2019 · 5 comments

Comments

@tchelomgf
Copy link

tchelomgf commented Jan 4, 2019

Hi:

I´ve installed on Raspberry Pi 1 B+, using a BLE USB dongle.

I´m able to start btmidi-server on RPi, connect with my iPad, using Set List Maker app.
I´m using another solution for USB MIDI routing - https://github.com/fralalonde/autoroute - it works perfectly, since you create a ALSA MIDI device that I can configure in autoroute service.

Some issues I´ve found:

The name of the service is not properly showed, i.e. "RPiBlue" on btmidi-server call, I see FC097FC4-9FD2-4E8F-A900-54D48F4F06FA

Short and individual MIDI messages like Note On, Note OFF, Controller are transported correctly. It´s working, congrats ! However:

If I send lot of Notes together at same time (~4) some of them are missed.
if I send more than one controller messages together in sequence, some messages are missed, adding 00 byte between each message is a workaround...
Seems some kind of buffer/message packing handling needed.
Are you facing same issues ?
Is there a tip to help me to find out these issues ?

Thanks!

Ps.: Sempre bom ver BRs por trás de projetos legais como esse.

@bichpham
Copy link

bichpham commented Jan 4, 2019

I used it with iphone/ipad garageband without any issues with multiple notes. The name showed up as FC09xxxx in mine whenever swap out the SD card for another raspberry pi. I just had to delete all the names from the ios ble list and everything showed up properly again.

@tchelomgf
Copy link
Author

Hi @bichpham , could you confirm your setup ?
a) Raspberry pi version ?
b) OS version ?
c) CPU Overclock ?
d) I´m using with verbose option, running btmidi-server on a terminal inside of the X IDE. Have you checked in this condition also ?

Thanks !

@bichpham
Copy link

bichpham commented Jan 14, 2019

tchelomgf,

I did not do anything fancy. No overlocking. I worked for me on raspbery pi 3 and pi zero w. I did it 2 years ago with the latest raspbian. Don't remember what version of raspbian though.

@tchelomgf
Copy link
Author

Something has been changed in the kernel by the years, causing some incompatibility. After some debugging, seems that a queue handling is necessary on Bluez stack.

@kawnas
Copy link

kawnas commented Aug 19, 2019

Hello i'm facing kind of the same issues. Sending midi messages on multiple channels and a midi clock with a puredata Sequencer from my raspberry to iPad, there i recieve correct messages only if i send on one midi channel, otherwise it merges the Midi messages sent From different midi channels to only one channel, actually the bigger one in number. I also recieve on ipad a lot of invalid messages.it is really disappointing because the system is otherwise fine working. Please help me:)

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