← API
Symbol
Voice
One playback instance, returned from sound.play(). Owns its source node and gain stage; disposes itself on natural end, signal abort, or stop(). Voice constructor is package-private — callers obtain instances via Sound.play().
Members
- constructor
- bus
- ended Resolves when playback finishes (natural end, stop(), or abort).
- id
- priority
- sourceName Name of the Sound that spawned this voice (if any). Used for crossfade.
- startedAt
- nextId
- isPaused
- playbackRate
- spatializer
- cues
- fade
- pause
- resume
- setPlaybackRate
- stop