Static
arrangementStatic
sessionThe clip's length (duration)
Clip
The name of the clip
Clip
Add new notes to a clip. For MIDI clips only.
Clip
Add new notes to a clip. For MIDI clips only.
as returned from getNotesExtended
Clip
Optional
childProps: string[]Optional
childProps: string[]Optional
index: numberDuplicate the notes in the specified region to the destination_time. Only notes of the specified pitch are duplicated or all if pitch is -1. If the transposition_amount is not 0, the notes in the region will be transposed by the transpose_amount of semitones. For MIDI clips only.
Optional
regionStart: numberbeats time
Optional
regionLength: numberbeats time
Optional
destinationTime: numberbeats time
Optional
pitch: number = -1Optional
transpositionAmount: number = 0Clip
// duplicates 1 bar to the beginning of the next bar
await clip.duplicateRegion(0, 4, 4);
Returns a list of notes that start in the given area. The output is similar to get_selected_notes.
Optional
startTime: number = 0Optional
timeRange: number = 256Optional
startPitch: number = 0Optional
pitchRange: number = 127Clip
Remove all selected notes
Clip
Scrub the clip to a time, specified in beats. This behaves exactly like scrubbing with the mouse; the scrub will respect Global Quantization, starting and looping in time with the transport. The scrub will continue until stopScrub() is called.
Clip
Static
getStatic
get
This class represents a clip in Live. It can be either an audio clip or a MIDI clip in the Arrangement or Session View, depending on the track / slot it lives in.
Clip