Help save net neutrality! Learn more.
Close

#65 Cannot save dedicated mapping for control surface

git_head
closed
nobody
None
2015-02-01
2013-08-11
jhammen
No

Version: 0.5.10 on stock Ubuntu Quantal via kxstudio repo

to reproduce:

  • verify: Options -> MIDI -> "Dedicated MIDI control.." set to true

  • Connections Window -> MIDI -> map hardware MIDI keyboard and separate control surface hardware to Qtractor 0:Master and 1:Control inputs respectively

  • everything works great (MMC support too!)

  • close Qtractor

  • reopen Qtractor + project

  • MIDI keyboard is correctly mapped to 0:Master input, 1:Control has no mapping, control surface not connected to anything

so control surface must be manual rewired each time

can reproduce also in NSM, adding jackpatch does not solve it - jackpatch also cannot restore the mapping

it is only a problem for the dedicated control input - when there is no control input then mapping the controller to the master works fine and the mapping is correctly preserved

Discussion

  • Rui Nuno Capela

    Rui Nuno Capela - 2013-08-12

    on my call i fail to reproduce this issue.

    otoh. nsm/jackpatch doesn't cope with alsa-seq midi connections whatsoever, just jack-midi ones which qtractor doesn't anyway.

    all qtractor midi re-connections are saved in its own qtractor project session file. please check if the correct connection is properly saved (you'll have to read the xml of the session file though).

    cheers

     
  • jhammen

    jhammen - 2013-08-16

    the control connection does show in the XML

    more testing narrows it down: it only happens when the dedicated MIDI metronome bus is enabled as well

    stepping thru the code: openMetroBus() first calls closeMetroBus() which calls removeBusEx(), but the metrobus has not yet been added to the m_busesEx. So the call to unlink() empties the busesEx list, but the control bus was on the list, so it is removed and the control bus does not get its turn when updateConnects() loops over this list.

    the attached little patch against revision 3445 solves the issue, testing shows the control connection restored

     
    • Rui Nuno Capela

      Rui Nuno Capela - 2013-08-17

      awesome catch. it always pays off when one knows how to read code ;)

      will apply soon.

      cheers && thanks

       
  • Rui Nuno Capela

    Rui Nuno Capela - 2013-08-19
    • status: open --> pending
     
  • jhammen

    jhammen - 2013-08-20

    testing here confirms clean build of revision 3450 restores control connections

    thanks for the quick response and in general for making such a fantastic application

     
  • Rui Nuno Capela

    Rui Nuno Capela - 2013-09-10
    • status: pending --> closed
     

Log in to post a comment.