Functions
clear
- clear(): { address: string }
-
Returns { address: string }
create
- create(clipName: string, startTimeSeconds: number, durationSeconds: number, notes: any[]): { address: string }[]
-
Parameters
-
clipName: string
-
startTimeSeconds: number
-
durationSeconds: number
-
notes: any[]
Returns { address: string }[]
note
- note(noteNumber: number, startTimeSeconds: number, durationSeconds: number, velocity?: number): { address: string; args: { type: string; value: number }[] }
-
Parameters
-
noteNumber: number
-
startTimeSeconds: number
-
durationSeconds: number
-
Optional velocity: number
Returns { address: string; args: { type: string; value: number }[] }
-
address: string
-
args: { type: string; value: number }[]
noteBeats
- noteBeats(noteNum: number, startTimeInWholeNotes: number, durationInWholeNotes?: number, velocity?: number): { address: string; args: { type: string; value: number }[] }
-
Parameters
-
noteNum: number
-
startTimeInWholeNotes: number
-
durationInWholeNotes: number = 0.25
-
Optional velocity: number
Returns { address: string; args: { type: string; value: number }[] }
-
address: string
-
args: { type: string; value: number }[]
select
- select(name: string, startTimeSeconds: number, durationSeconds: number): { address: string; args: ({ type: string; value: string } | { type: string; value: number })[] }
-
Parameters
-
name: string
-
startTimeSeconds: number
-
durationSeconds: number
Returns { address: string; args: ({ type: string; value: string } | { type: string; value: number })[] }
-
address: string
-
args: ({ type: string; value: string } | { type: string; value: number })[]
Clear all MIDI notes in the currently selected clip.