-
Notifications
You must be signed in to change notification settings - Fork 87
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
Odd behaviour with Behringer EDGE MIDI device seemingly not receiving messages #123
Comments
To follow up on this, the behaviour reported in the original ticket was seen while using a fork of an older version of the library. I've now updated my project to using the current head, and found that plugging the Edge in in the 'uninitialised' state either completely freezes the processing on the Teensy until the Edge is disconnected, or sometimes appears to crash it outright. Doing the trick mentioned of 'initialising' the Edge by plugging it into my Windows (or Linux) PC first seems to work around this problem - connecting afterwards to the Teensy works as if there was never a problem. I asked about this in the Behringer Facebook group, and people there said that they've connected their Edge to their other standalone host devices (like MPCs) without a problem. I enabled debugging in the USBHost_t36 library, but there doesn't appear to be any difference between 'uninitialised' and 'initialised'. ('uninitialised' seems to show an extra port change/disconnect/connect cycle at the start of logs, but don't know if that is incidental?). Debug info shown below in case it gives any clues what might be happening:-
|
Hello, I encounter the same behavior with 3 different Behringer TD3 synths. When connected to PC/DAW first, their USB port behave normally (like Arturia Beatstep, Elektron Model Samples, Toraiz Squid etc...) but when the TD3 are powered on without having been connected to a PC/DAW, they stuck when entering the loop(). The only message I send in my loop is USBDevicesList[port]->sendRealTime(0xF8, 0); It seems this message affect MIDIDeviceBase::write_packed and/or MIDIDeviceBase::timer_event because I see different values;
tx1 = 1 tx1 = 1
tx1 = 1 tx1 = 16 This combination of variable values tx1 = 16 and tx2 = 1 seems to freeze the Teensy... Any idea ? |
For some extra context around this problem -- @pierremestrez1976 reported to me privately that when using the standard release USBHost_t36 library, the Teensy freezes/blocks when the TD3 is connected; however, with the patched library (using this branch), no freeze happens but all MIDI messages seem to be ignored, unless the offending device is first connected to a PC. I'll also mention that I reported this to Behringer/Music Tribe, and they said they could not find a problem and that their devices are MIDI Class Compliant, and so should work without problem. |
Hello!
I've just got a Behringer EDGE (drum machine that supports USB-MIDI for a clock source), and am trying to add support for it to my custom USB MIDI host device that uses USBHost_t36.
I'm getting the following strange behaviour though:-
Its almost like connecting it to the PC is doing some sort of initialisation that is required for the EDGE to respond to MIDI. Something that doesn't get reset when swapping the USB cable to the Teensy.
Any ideas what could cause something like this? Or ways to tell what the Windows side is doing that the Teensy isn't, or things to attempt doing from the Teensy side that might make this work?
The text was updated successfully, but these errors were encountered: