# Music

The old music commands have been deprecated in favour of the new OGG music commands (except on HTML5). The new commands require files compressed with OGG Vorbis, but will work on all platforms, support multiple music files playing at the same time, and allow seamless looping.

On HTML5 the old music commands have better performance than the newer commands.

## OGG

- DeleteMusicOGG
- GetMusicDurationOGG
- GetMusicExistsOGG
- GetMusicLoopCountOGG
- GetMusicPlayingOGG
- GetMusicPositionOGG
- LoadMusicOGG
- PauseMusicOGG
- PlayMusicOGG
- ResumeMusicOGG
- SeekMusicOGG
- SetMusicSystemVolumeOGG
- SetMusicVolumeOGG
- StopMusicOGG

## Deprecated

- DeleteMusic
- GetMusicDuration
- GetMusicExists
- GetMusicPlaying
- GetMusicPosition
- LoadMusic
- PauseMusic
- PlayMusic
- ResumeMusic
- SeekMusic
- SetMusicFileVolume
- SetMusicSystemVolume
- StopMusic