Function play
#include <macaw.h>void play(int voice, const char *note, int ms);
Plays a musical note on one of the four sound-effect voices, as a square wave at half volume.
Parameters
voiceint- Which voice plays it, from 1 to 4. A new sound on a voice stops the one before.
noteconst char *- The note's name, like
"C4"(middle C),"F#3"or"Bb5". A name it can't read stops the program with an error. msint- How long it lasts, in milliseconds.