> For the complete documentation index, see [llms.txt](https://docs.brownbricks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brownbricks.com/engine-api/defs/utilities/sound-defsound.md).

# Sound (defSound)

```
/**
 * OPT String asset - Asset name
 * OPT Number start [0] - Playback start time in seconds
 * OPT Number length [to end of file] - Playback length in seconds. Will override "end" option
 * OPT Number end [to end of file] - Playback end time in seconds. Alternative to "length" option
 * 
 * three.js options that may be changed on each playback
 * https://threejs.org/docs/?q=audio#api/en/audio/Audio
 * OPT Number volume [1] - Multiplicative
 * OPT Number detune [0] - Additive
 * OPT Number playbackRate [1] - Multiplicative
 * OPT Number refDistance [3] - Additive, 3D only
 * OPT Number rolloffFactor [10] - Multiplicative, 3D only
 * OPT String distanceModel ["inverse"] - 3D only
 * OPT Number maxDistance [10000] - Additive, 3D only
 */
```
