• Jump to DAW playback position

    Solved Scripting
    10
    0 Votes
    10 Posts
    252 Views
    Matt_SFM

    @ulrik Ok, I'm not completely useless then 😂

    It's the first time I'm using midi clips in a plugin so...
    Thank you again for your help, it's much appreciated !

  • Engine.getPlayhead() functionality

    Feature Requests
    8
    1 Votes
    8 Posts
    532 Views
    SimonS

    Since I don't think it's been posted explicitly anywhere, it should be clarified that you should uncomment both the const and the setProperty lines corresponding to the properties you want to enable, as well as the &newPosition argument and the ScopedLock.

    For example:

    0b58c138-2c63-4886-8e23-a2c23480d848-image.png

    The object is a native script object, so you can just go Console.print(trace(Engine.getPlayHead())); to test it.

    Also the TransportHandler exists now which you should probably use instead, but it lacks some options like differentiating between playing and recording.