Tone.TransportRepeatEvent

↳ EXTENDS Tone.TransportEvent

Tone.TransportRepeatEvent is an internal class used by Tone.Transport to schedule repeat events. This class should not be instantiated directly.

CONSTRUCTOR

new Tone.TransportRepeatEvent (
options
)
options
type: Object

DEFAULTS

{
duration : Infinity ,
interval : 1
}

Members

inherited from Tone.TransportEvent

.Transport

Tone.Transport #

Reference to the Transport that created it

</>
inherited from Tone.TransportEvent

.callback

function #

The callback to invoke

</>
inherited from Tone.TransportEvent

.id

Number #

The unique id of the event

</>
inherited from Tone.TransportEvent

.time

Ticks #

The time the event starts

</>

Methods

.dispose ( )

#
↪ returns Tone.TransportRepeatEvent

this

Clean up

</>

.invoke ( )

#
time

The AudioContext time in seconds of the event

type: Number

Invoke the callback. Returns the tick time which the next event should be scheduled at.

</>
docs generated Sep 15 2019