jackaudio / jack2

jack2 codebase
GNU General Public License v2.0
2.22k stars 377 forks source link

MIDI connection lost after freewheel was used #80

Open prokoudine opened 10 years ago

prokoudine commented 10 years ago
  1. Start JACK with Raw MIDI driver.
  2. Connect MIDI keyboard to a JACK MIDI port (e.g. a Pianoteq's one)
  3. '$ jack_freewheel y', MIDI signal stops reaching the port as expected
  4. '$ jack_freewheel n', MIDI transmission never restored, not quite expected.

Originally this was discovered after exporting a session in Ardour 3 with a Pianoteq plugin on a track.

7890 commented 5 years ago

Point 3) is confusing. The following setup: jack_midiseq emitting midi events captured by jack_midi_dump, then start freewheeling -> both midiseq and dump still do the job but at higher "speed". After stopping freewheeling, everything is back to normal. I wonder if it makes a difference whether it's midiseq or a midi keyboard. If you'd press the keyboard while freewheeling, why would it not inject the midi event? If the keyboard should be inoperable during freewheeling, it is possibly something the application should take care off (if we're talking virtual keyboard GUI). However maybe this was misunderstood. @prokoudine Can you test this scenario again with current version of JACK and if it's still an issue, please make a compact case that is easy to reproduce with detailed information. Thanks