Macaw OS C reference

Function music_volume

#include <macaw.h>
void music_volume(double v);

Sets how loud the music chip is, for songs and for music_note. There's one chip, so this changes the music of every program.

Parameters

vdouble
The volume, from 0 (silent) to 1 (full). Numbers outside that are kept to it.

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