Previous: Graphics, Up: API Reference [Contents][Index]
Chickadee has two data types for audio: samples and music. Samples are for short sound effects like explosions. Music is for, well, uh…, music.
Supported file formats include WAV and OGG.
Load audio sample from file.
Set the volume that all samples are played at to volume, an integer value between 0 and 128.
Play sample. Pretty straightforward!
Load music from file.
Return the volume level for music, an integer value between 0 and 128.
Set the volume that music is played at to volume, an integer value between 0 and 128.
Play music. If loop?, play it over and over and over and over and…
Pause the current music track.
Resume the current music track.
estart the current music track from the beginning.
Stop playing the current music track.
Return #t
if music is currently playing.
Return #t
if music is currently paused.