Macaw OS C reference

Function music

#include <macaw.h>
void music(const char *path);

Plays a song made in Tracker from its start, or stops it. The song stops when your program closes. For songs made in the Music app, use playsong.

Parameters

pathconst char *
The song file's path. A path without / at the start is from your program's folder. NULL stops the music.

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