Designer Plugins
Plugins for Disguise Designer software.
Plugins for Disguise Designer software.
When using the api/session/python/execute
endpoint without a module name, some additional global variables and functions are available to help access the Designer environment. These are aimed at simplifying Python implementation, not to provide real-time feedback about timing elements - for that, you should use the Live Update API.
This is an active area of development, if some aspects of the Designer environment are verbose or difficult to access let us know via email integrations@disguise.one!
trackTime() -> float
Returns the current track time for the current transport in seconds, this is equivalent to LocalState.localState().currentTransport.player.tCurrent
runningTime() -> float
Returns the length of time the application has been running in seconds, this is equivalent to LocalState.localState().currentTransport.player.tRunning