Macaw OS C reference

Module Sound

#include <macaw.h>

Functions

sfx
Plays one of Macaw OS's ready-made sound effects.
play
Plays a musical note on one of the four sound-effect voices, as a square wave at half volume.
tone
Plays a plain beep at any pitch on one of the four sound-effect voices, as a square wave at half volume.
note
Works out the pitch of a named note, to give to tone.
stop
Stops whatever the four sound-effect voices are playing.
music
Plays a song made in Tracker from its start, or stops it.