Macaw OS C reference

Function playloadedsong

#include <macaw.h>
int playloadedsong(int song, int loop);

Plays a song you loaded with loadsong.

Parameters

songint
The number loadsong gave you. A number that isn't a song stops the program with an error.
loopint
1 to let it loop until you stop it or your program closes, or 0 to play it once.

Returns int

1 if the song started, or 0 if it couldn't.

In Songs and the music chip, with playsong, stopsong, loadsong, freesong, music_volume, music_note, music_release, notenumber, notename.