audio library

Audio for flutter_scene, an optional pluggable-backend contract.

The spatial-audio scene-graph surface, AudioEngine (the contract a backend implements), AudioListener, AudioSource / ClipAudioSource, AudioBus, AudioClip, and the attenuation model. Attach a backend engine, SoloudAudioEngine from package:flutter_scene_soloud or FmodAudioEngine from package:flutter_scene_fmod. Import this only when a build needs audio; the core package:flutter_scene/scene.dart does not carry it.

Classes

AudioAttenuation
Spatialization parameters for a positional sound.
AudioBus
A named mix group owned by an AudioEngine.
AudioClip
A loaded, playable piece of audio owned by an AudioEngine.
AudioEngine
The audio playback system for a subtree of the scene graph.
AudioListener
Places the ears of the nearest ancestor AudioEngine on a node.
AudioSource
A sound emitter attached to a node.
AudioVoice
One playback of an AudioClip, created by AudioEngine.createVoice.
ClipAudioSource
Plays an AudioClip at a node, on any backend.

Enums

AudioRolloff
Distance rolloff model for a positional sound.