Markers
Arrangement / Markers
Functions for interacting with markers within the arrangement.
jumpToMarker
Jumps to the marker at the given delta index.
For example, to jump to the previous marker, use a delta of -1
.
Args
-
delta (
int
): relative marker index. -
select (
bool
): whether to select the marker.
Included since API version 1.
getMarkerName
Returns the name of the marker at index
.
Note that this uses an absolute index, not a relative index.
Args
- index (
int
): marker index.
Returns
str
: name of the marker.
Included since API version 1.
addAutoTimeMarker
Add an automatic time marker at the given time
.
Args
-
time
(int
): time, in absolute ticks. A value can be gathered using thetransport.getSongPos()
function. -
name
(str
): name of new marker.
Included since API version 1.