Audio framework


The audio vocabulary and its child vocabularies provide a framework for reading audio data from disk and playing back audio using prerendered, streaming, or generated audio sources. By itself, the audio vocabulary provides a container class for prerendered PCM audio data:
audio

<audio> ( channels sample-bits sample-rate size data -- audio )

openal-format ( audio -- format )


The following child vocabularies provide additional audio features:
• audio.engine provides a high-level OpenAL-based engine for playing audio clips.
• audio.loader reads PCM data from files on disk into audio objects. audio.wav and audio.aiff support specific audio file formats.
• audio.vorbis implements an audio.engine compatible generator object for decoding Ogg Vorbis audio data from a stream.