Tone.TransportEvent

↳ EXTENDS Tone

Tone.TransportEvent is an internal class used by (Tone.Transport)[Transport] to schedule events. Do no invoke this class directly, it is handled from within Tone.Transport.

CONSTRUCTOR

new Tone.TransportEvent (
options
)
options
type: Object

DEFAULTS

{
once : false ,
callback : Tone.noOp
}

Members

.Transport

Tone.Transport #

Reference to the Transport that created it

</>

.callback

function #

The callback to invoke

</>

.id

Number #

The unique id of the event

</>

.time

Ticks #

The time the event starts

</>

Methods

.dispose ( )

#
↪ returns Tone.TransportEvent

this

Clean up

</>

.invoke ( )

#
time

The AudioContext time in seconds of the event

type: Time

Invoke the event callback.

</>
docs generated Sep 15 2019