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 Audio
- Spatialization parameters for a positional sound.
- AudioBus Audio
-
A named mix group owned by an
AudioEngine. - AudioClip Audio
-
A loaded, playable piece of audio owned by an
AudioEngine. - AudioEngine Audio
- The audio playback system for a subtree of the scene graph.
- AudioListener Audio
- Places the ears of the nearest ancestor AudioEngine on a node.
- AudioSource Audio
- A sound emitter attached to a node.
- AudioVoice Audio
-
One playback of an
AudioClip, created byAudioEngine.createVoice. - ClipAudioSource Audio
- Plays an AudioClip at a node, on any backend.
Enums
- AudioRolloff Audio
- Distance rolloff model for a positional sound.