Macaw OS C reference

Function sfx

#include <macaw.h>
void sfx(const char *name);

Plays one of Macaw OS's ready-made sound effects. They play on voice 4 and sometimes 3 ("chime", "squawk" and "rawk" use all four), and cut off whatever you're playing there.

Parameters

nameconst char *
The effect: "blip", "coin", "jump", "hit", "lose", "squawk", "rawk", "chime" or "shutter". Any other name stops the program with an error.

In Sound, with play, tone, note, stop, music.