Available on clay web
read onlycontext:AudioContext
@:value(false)read onlyactive:Bool = false
play(source:AudioSource, volume:Float, paused:Bool):AudioHandle
loop(source:AudioSource, volume:Float, paused:Bool):AudioHandle
pause(handle:AudioHandle):Void
unPause(handle:AudioHandle):Void
stop(handle:AudioHandle):Void
volume(handle:AudioHandle, volume:Float):Void
pan(handle:AudioHandle, pan:Float):Void
pitch(handle:AudioHandle, pitch:Float):Void
position(handle:AudioHandle, time:Float):Void
volumeOf(handle:AudioHandle):Float
panOf(handle:AudioHandle):Float
pitchOf(handle:AudioHandle):Float
positionOf(handle:AudioHandle):Float
stateOf(handle:AudioHandle):AudioState
loopOf(handle:AudioHandle):Bool
instanceOf(handle:AudioHandle):AudioInstance
suspend():Void
resume():Void
dataFromBytes(id:String, bytes:Uint8Array, ?format:AudioFormat, ?callback:(data:AudioData) ‑> Void):Void
read onlyapp:Clay
Clay app
isSynchronous():Bool
ready():Void
inlineemitAudioEvent(event:AudioEvent, handle:AudioHandle):Void