• Jump to DAW playback position

    Solved Scripting
    10
    0 Votes
    10 Posts
    302 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 !

  • Waveform how to get playback position?

    Unsolved Scripting
    6
    0 Votes
    6 Posts
    345 Views
    d.healeyD

    Still haven't found a solution to this one. Also it seems ScriptAudioWaveform.setPlaybackPosition() doesn't do anything, at least when it's connected to a sampler?

  • Engine.getPlayhead() functionality

    Feature Requests
    8
    1 Votes
    8 Posts
    585 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.