# MusicParts · API · zvuk

zvuk v1.14.1 · MIT · https://zvuk.schmooky.dev/api/MusicParts/

A three-part music asset: optional intro stinger, mandatory loop body,
optional outro tail. Modelled on the Wwise / FMOD pattern every casino
slot, action game, and rhythm game uses for combat/win/menu music.

Each part accepts a single URL or a codec ladder, the same shape as

`engine.loadSound`
's second argument.

[← API](/api/)

Interface

# MusicParts

A three-part music asset: optional intro stinger, mandatory loop body, optional outro tail. Modelled on the Wwise / FMOD pattern every casino slot, action game, and rhythm game uses for combat/win/menu music. Each part accepts a single URL or a codec ladder, the same shape as \`engine.loadSound\` 's second argument.

## Members

-   intro
-   loop
-   outro
