# Music, pause and rewind

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

`audio.Music(Theme, 1.5)` loops a clip on the music bus and crossfades from the music that played before; `audio.StopMusic(1)` fades it out. Music keeps playing while the game is paused.

Pausing the world pauses sounds whose Pause With is `game` and leaves those with `never`; `PlayOptions.Unscaled` does the same for a single play. A sound stops with a short fade when the node that played it is destroyed.

Rewind and replay are silent: sounds started before a seek stop at once, nothing plays while the recording replays, and after Live new sounds play again. Sounds are not part of the state hash, so a game plays back the same with and without them. Wait for game logic with a timer, never with a sound.
