You can create music with these instruments with MML.
SmileBASIC includes a basic guide for MML if you type MML in the editor and press the help button. You might want to use an MML tracker to write complex songs much more easily.
Hint:
if you want to view the MML help without retyping "MML" each time (since it causes a syntax error in the program), you can put
REM MML
in the program.