SHIFT + STOP Combo or double press STOP to go to the start.

13»

Comments

  • Kubrak
    Kubrak Member Posts: 3,053 Expert

    TS Edit does nothing. :-)

    Function has been planned to be implemented later on, after release, but it did not happen... So, Shift+F has no function assigned at in Jam, now...

  • ozon
    ozon Member Posts: 1,760 Expert

    Actually, I was confused by restartTransport because I didn’t expect that to change the Play status.

    Thanks! Always interesting (and heavily nerdy) trying to understand code without running it.

  • D-One
    D-One Moderator Posts: 3,484 mod
    edited November 6

    This was added in Maschine V3. My code was sort of close but not really lol, heres NI's MAS V3 code:

    function TransportSection:onStop(Pressed)
    if Pressed and MaschineHelper.isPlaying() then
        NI.DATA.TransportAccess.togglePlay(App)
    elseif Pressed and not MaschineHelper.isPlaying() then
        NI.DATA.TransportAccess.setPlayPosition(App, 0)
    end
    

    Way more elegant of couse, if its playing than Play button is triggered (which would be pause/stop) but if its not then set play position at 0.

    So, if anyone wants the exact V3 code in Maschine v2 then just paste that in the appropriate file as mentioned in the OP.

Back To Top