package js.html.audio
extends AudioContext › EventTarget
Available on jsThe
OfflineAudioContext
interface is anAudioContext
interface representing an audio-processing graph built from linked togetherAudioNode
s. In contrast with a standardAudioContext
, anOfflineAudioContext
doesn't render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to anAudioBuffer
.Documentation OfflineAudioContext by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (numberOfChannels:Int, length:Int, sampleRate:Float)
Throws:
null |
DOMError |
---|
oncomplete:Function
Is an EventHandler
called when processing is terminated, that is when the complete
event (of type OfflineAudioCompletionEvent
) is raised, after the event-based version of OfflineAudioContext.startRendering()
is used.
startRendering ():Promise<AudioBuffer>
Throws:
null |
DOMError |
---|
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/audio/OfflineAudioContext.html