| |
|
The AudioChannel class is for the playback of mono sound sample data.
Creation and Destruction
AudioChannel
destroy()
Channel
size
duration
initChannel()
adjustChannel()
samples[]
sampleRate
sampleRate()
Buffer
buffer[]
buffer2[]
bufferSize()
bufferStartTime
Loading and Saving
loadSound()
saveSound()
Playback
state
play()
stop()
pause()
resume()
cue
cue()
loop
loop()
in
in()
out
out()
snapInToZero()
snapOutToZero()
getCurrentPlayFrame()
Volume and Pan
volume
volume()
gain
gain()
smoothPan
pan
pan()
mute
mute()
fading
fadeTo()
stopFade()
panning
panTo()
stopPan()
Miscellaneous
ms()
frames()
softClip
Events
audioChannelDone()
audioChannelLoop()
audioOutputFade()
audioOutputPan()
|