I would try adding another menu item to rosegarden for "Toggle Metronome" and connecting that to RosegardenMainWindow::slotToggleMetronome(). That might do exactly what you want. No guarantees, but worth a try.

(BTW, I've moved this over to the devel list as it is more of a development issue. Please subscribe if you aren't already and continue the discussion here if needed.)

Ted.

On 5/31/23 1:59 AM, Hugo van Galen wrote:
Hi Ted, thanks for your response and thanks for the pointer, I'll have a look at that.

I also ran into another thing: there is a "metronome" key on the controller that, in supported software, could turn the metronome on or off. But I suppose that requires a bit more work, as I could only find metronome settings in a dialog to turn them on for playback and/or recording. I guess a toggle button wouldn't work here anyway (unless it would cycle through all the operations. Or keep it simpler and just turn it on/off, honouring the setting in the dialog, i.e. if it was only enabled for recording, to only toggle that. The latter seems the most straight-forwards and user friendly but implementing that would be the most tricky. What are your thoughts about that? (If you would say that it could b confuse users too much, then telling me for now to ignore the metronome button is an entirely valid suggestion.)

As far as I can tell right now, those were the only two operations that I couldn't yet map to an actual action and as the tool is configured with a mapping configuration file, any new shortcuts that will be implemented in the future can simply be added to that file, but it would be awesome to at least have the "S" implemented in the first version.

Best regards,
Hugo

On Wed, 31 May 2023 at 01:58, Ted Felix <t...@tedfelix.com <mailto:t...@tedfelix.com>> wrote:

        It is simply not implemented.  Implementing would be super easy.
    Just follow the pattern in RosegardenMainWindow::slotToggleMute().
    We'll try to get this in after 23.06 ships.  Unless you want to give it
    a shot.  Feel free to open a feature request as that will help us
    track it.

    Ted.

    On 5/30/23 2:16 PM, Hugo van Galen wrote:
     > Hi Ted and others,
     >
     > I am currently in the process of writing a user space utility
    to deal
     > with the Native Instruments Komplete Kontrol A25 MIDI controller
    to make
     > it more usable on Linux (well, in Rosegarden anyway, that being
    my go-to
     > music authoring software). (Long story short: I basically read
    the raw
     > HID device and map the non-MIDI buttons that the controller emits to
     > actual keypresses via uinput. So the "M" (Mute) button is mapped
    to "U".
     > so when Rosegarden is active it will mute/unmute the current
    track. No
     > rocket science, pretty straight-forward stuff.)
     >
     > Anyways, when I wanted to map the "S" (Solo) to "Solo the current
     > track", I failed to find that as an actual key shortcut, is this
    simply
     > not implemented or am I overlooking it?
     >
     > Best regards,
     > Hugo
     >
     >
     > _______________________________________________
     > Rosegarden-user mailing list
     > rosegarden-u...@lists.sourceforge.net
    <mailto:rosegarden-u...@lists.sourceforge.net> - use the link below
    to unsubscribe
     > https://lists.sourceforge.net/lists/listinfo/rosegarden-user
    <https://lists.sourceforge.net/lists/listinfo/rosegarden-user>


    _______________________________________________
    Rosegarden-user mailing list
    rosegarden-u...@lists.sourceforge.net
    <mailto:rosegarden-u...@lists.sourceforge.net> - use the link below
    to unsubscribe
    https://lists.sourceforge.net/lists/listinfo/rosegarden-user
    <https://lists.sourceforge.net/lists/listinfo/rosegarden-user>



_______________________________________________
Rosegarden-user mailing list
rosegarden-u...@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to