What beat within the clip that the control change starts.
How many beats the control change lasts.
The MIDI controller to modify, valid values range from 0 - 127.
The value to set, valid values range from 0 - 127, or a Tween object which defines a strategy for how to change over the course of the control change's lifetime.
Which channel to play the control change on, valid values range from 0 - 15, or null to allow whatever is playing the clip to decide.
Which channel to send the control change to, valid values range from 0 - 15, or null to allow whatever is playing the clip to decide.
The MIDI controller to modify, valid values range from 0 - 127.
The difference between the start
and end
values.
Attempts to set this to a negative value will result in an error being thrown.
The value which the range ends at.
Attempts to set this to a value less than start
will result in an error being thrown.
The value which the range starts at.
Attempts to set this to a value greater than end
will result in an error being thrown.
Returns the name of this type. This can be used rather than instanceof which is sometimes unreliable.
The value to set, valid values range from 0 - 127, or an ITween object to allow for values that change over time.
An example of using a tween to sweep the CC value from 0 to 127 over the course of 1 beat:
new ClipCC(0, 1, 25, Tween.linear(0, 127));
Accepts a value and returns what percentage of the way into the range that the value is.
The returned value can be negative, or greater than 100%, if the passed in value is less than the range start, or greater than the range end.
The value to compare against the range.
Static
loadGenerated using TypeDoc
ClipCC represents a control change to be played within a clip, specifying the start and end of the control change within the clip, as well as the information to be sent by the control change.