i

insert_at

Syntax: insert_at(pos)

Inserts the content of the clipboard at the given position, like the command paste()(). If the clipboard is currently empty, this function does nothing.

Parameters

pos:position in samples where to insert

See also

paste()

insert_track

Syntax: insert_track(index)

Inserts a new track at the given index, using the current length and sample rate settings of the signal. If the index is higher than or equal to the current number of tracks, it will be appended as the last track, same as by the command add_track(). The index of all existing tracks at and after the given index will be incremented by one.

Parameters

index:index of the track to insert, starting with 0

See also

add_track()