Methods
-
static createTrack(name, audioContext, tempo, keySignature, trackAudioSink) → {Track}
-
Creates a new audio Track object capable of playing sequential audio.
Parameters:
Name Type Description namestring Name of the track to create
audioContextAudioContext Reference to the global browser AudioContext
tempoTempo Reference to the Tempo object stored in the global WebAudioAPI object
keySignatureKey Reference to the Key object stored in the global WebAudioAPI object
trackAudioSinkAudioNode Reference to the AudioNode to which the output of this track should be connected
- See: