Tone.OfflineContext

↳ EXTENDS {Tone.Context

Wrapper around the OfflineAudioContext

CONSTRUCTOR

new Tone.OfflineContext (
channels
,
duration
,
sampleRate
)
channels

The number of channels to render

type: Number
duration

The duration to render in samples

type: Number
sampleRate

the sample rate to render at

type: Number

Methods

.now ( )

#
↪ returns Number

Override the now method to point to the internal clock time

</>

.render ( )

#
↪ returns Promise

Render the output of the OfflineContext

</>
docs generated Sep 15 2019