https://bugs.winehq.org/show_bug.cgi?id=39048
Bug ID: 39048 Summary: MIDI Clock Messages are Corrupted Between Wine and ALSA Product: Wine Version: 1.7.43 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winealsa.drv Assignee: wine-bugs@winehq.org Reporter: josh.sarro@gmail.com Distribution: ---
When using an app running over Wine, MIDI Clock messages sent from the app to native Linux applications using ALSA MIDI are corrupted and not recognized as MIDI Clock messages.
To Reproduce:
1. Start a native Linux application that supports MIDI Clock via ALSA MIDI.
In this example, I'll use Renoise, but I've also tested with other software, for example gmidimonitor. In Renoise open Edit -> Preferences -> MIDI and under MIDI Clock Slave select In device "Renoise MIDI In Sync".
2. Start MIDI Clock enabled Windows app using Wine and enable MIDI Clock output
In this example I'll use Reaper, but I've also tested with MIDIClock (a simple windows application that sends MIDIClock messages). Go to Options -> Preference (CTRL-P). In the left pane, under the heading "Audio" select "MIDI Devices". In the bottom right pain, right click on "Renoise MIDI In Sync". Click "Enable Output". Again, right click on "Renoise MIDI In Sync". Click "Send Clock/SPP to Output". Click OK
3. Run the MIDI Clock
In REAPER press play or space bar
Expected Results:
Native Linux app receives and responds to MIDI Clock
Actual Results:
Native Linux app does not recognize messages as MIDI Clock
Notes:
Another illustrative example is to use gmidimonitor instead of Renoise as the native Linux app. Start it in alsa mode (--alsa). In Reaper, perform the same steps listed above, but select gmidimonitor's port. When Reaper is playing there is a repeated message: "Sysex with size 1: F8", but connected to a native Linux application with MIDI Clock out (such as Renoise), the message is: "MIDI Real time clock message". To rule out a bug in Reaper, I tested the same scenario with a Windows application called "MIDIClock". It's available as a free download from Download.com.