StaticarrangementStaticsessionAdd new notes to a clip. For MIDI clips only.
as returned from getNotesExtended
OptionalchildProps: string[]OptionalchildProps: string[]Optionalindex: 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.
OptionalregionStart: number
beats time
OptionalregionLength: number
beats time
OptionaldestinationTime: number
beats time
Optionalpitch: number = -1OptionaltranspositionAmount: number = 0Returns a list of notes that start in the given area. The output is similar to get_selected_notes.
OptionalstartTime: number = 0OptionaltimeRange: number = 256OptionalstartPitch: number = 0OptionalpitchRange: number = 127Provided note IDs must be associated with existing notes in the clip. Existing notes can be queried with getNotw.
note ids
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.
StaticgetStaticget
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