Timeline can be used for scheduling functions in time.
Create a new Timeline instance.
clock |
An instance of TempoClock. |
options |
An event containing options for the timeline. Valid options are:
|
An instance of Timeline.
Create an instance of Timeline using an array of time - function pairs; time is in beats or optionally in seconds.
array |
An instance of Array with time - function pairs, like [ 0, { }, 1, { } ]. |
clock |
See new method. |
options |
See new method. |
Create an instance of Timeline using an external scd file containing an Array of time - function pairs; time is in beats or optionally in seconds.
path |
A String representing the path of an scd file. The file must return an Array of time - function pairs, like [ 0, { }, 1, { } ]. |
clock |
See new method. time - function |
options |
See new method. |
An instance of Timeline.
Start the timeline according to quantisation value.
The Timeline instance.
Add a time,function pair, like [ 1.5, { } ].
time |
This is in seconds or beats according to options. |
function |
A Function to be avaluated at the given time. |
The Timeline instance.
Graph a simple representation of the scheduled items.
timeUnitLength |
Choose the width (in pixels) of every second in the plot. Also, use the +/- keys on the keyboard to zoom in/out of the graph. |
The Timeline instance.
Returns the current options event.
Get or set the TempoClock.