## SOUND

Loading sound and music is fairly straight forward. The big difference between sounds and music is that your program can only have one music track but you could have several sound tracks at once.

Lets first go over loading and playing sounds.

`snd = LoadSound("MySound.wav") 'Load a sound file
PlaySound(snd, 1, 3) 'Play the sound loaded in snd on channel 1 for 3 loops
`

There is a lot you can do with sounds when playing them including simulating 3D positional audio. I highly encourage you to play around with the audio to find the right mix for your project.

There is only 1 music track that can be loaded at one time. Loading and playing music is pretty straight forward.

`LoadMusic ( "MYMUSIC.MP3" )
PlayMusic ( -1 ) 'Setting the music loop to -1 will have it loop infinitely
`

Music is even simpler than sound. Generally all you will want to do is load a music track and set it to loop infinitely but you have a lot of control over how the music plays as well.