l

label:add

Syntax: label:add(pos[,text])

Add a new label at a given position. If the given position already contains a label, then this command does nothing. The label can be given an optional description.

Parameters

pos:position in samples where to insert the label
text:some descriptive text (optional)

label:delete

Syntax: label:delete(index)

Deletes a label, identified by its index (starting from zero), or all labels when using the special value -1 as index. If no label with the given index exists, this command does nothing.

Parameters

index:index of the label to delete, starting with 0 or -1 to delete all labels

label:edit

Screenshot of the label editing dialog

Syntax: label:edit(index)

Opens a dialog window in which the user can edit the position and the description of a label, which is identified by its index (starting from zero). If no label with the given index exists, this command does nothing.

Parameters

index:index of the label to edit, starting with 0

loadbatch

Syntax: loadbatch(filename)

Opens a Kwave script file and processes the commands in it. Uses the context of the currently opened file or the current main window if no file is loaded.

Parameters

filename:name of the kwave script file including path and extension

loop

Syntax: loop()

Corresponds to the Loop toolbar button. Starts the playback (if it is not already running) and lets it play in a loop.