Type Definitions
-
EffectParameter
-
Composite object type for holding a set of concrete Effect parameter details.
Properties:
Name Type Description namestring Name of the effect parameter
typestring Type of effect parameter value (either "string" or "number")
validValuesArray.<(string|number)> For "string" types, a listing of all valid values; for "number" types, the min/max values
defaultValuestring | number Default effect value before any updates
-
Key
-
Composite object type for holding all key-related information.
Properties:
Name Type Description signaturenumber Numerical KeySignature indicator based on its circle of fifths position
offsetsArray.<number> Array containing all pitch offsets in the current key signature where the offset for C is at index 0
-
MidiEventCallback(event)
-
Required function prototype to use when registering a MIDI device callback.
Parameters:
Name Type Description eventMIDIMessageEvent Object containing the detected MIDI event
- See:
-
ModificationDetails
-
Composite object type for holding a set of note modification details.
Properties:
Name Type Attributes Description typenumber Underlying ModificationType
valueObject <optional>
Modification-specific values (i.e., slur length, glissando ending note)
- See:
-
RecordCompleteCallback(clip)
-
Required function prototype to use when registering a recording completion callback.
-
Tempo
-
Composite object type for holding all tempo-related information.
Properties:
Name Type Description beatBasenumber Note Duration corresponding to a global beat
beatsPerMinutenumber Number of global beats per minute
timeSignatureNumeratornumber Number of beats per measure
timeSignatureDenominatornumber Note Duration corresponding to a measure beat
measureLengthSecondsnumber Length (in seconds) of a measure