# Engine · API · zvuk

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

The audio engine. Generic in 
`TBusName`
 so that 
`engine.bus(name)`

type-checks against the bus names you declared in

`createEngine({ buses })`
. When the buses map is inferred from a
literal, typos like 
`engine.bus('sxf')`
 fail at compile time.

[← API](/api/)

Interface

# Engine

The audio engine. Generic in \`TBusName\` so that \`engine.bus(name)\` type-checks against the bus names you declared in \`createEngine({ buses })\` . When the buses map is inferred from a literal, typos like \`engine.bus('sxf')\` fail at compile time.

## Members

-   context Live AudioContext. Constructs one on first read. Throws if engine is closed.
-   now
-   state
-   activeVoices
-   blendSnapshots
-   bus
-   busGroup
-   captureSnapshot
-   close
-   createSound
-   crossfade
-   hasMusic
-   hasSound
-   hasSprite
-   hasStream
-   hasVariants
-   loadMusic
-   loadSound
-   loadSprite
-   loadStream
-   loadVariants
-   masterMeter
-   music
-   onStateChange
-   parameter
-   preload
-   removeSound
-   scheduleAt
-   snapshot
-   sound
-   sprite
-   stream
-   unloadSound
-   unlock
-   variants
