Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56
Flutter low-level audio plugin using SoLoud C++ library and FFI
License
alnitak/flutter_soloud
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A low-level audio plugin for Flutter.
| Linux | Windows | Android | MacOS | iOS | Web | |
|---|---|---|---|---|---|---|
| Support | 💙 | 💙 | 💙 | 💙 | 💙 | 💙 |
| Minimum Version | Any | Any | 21 | 10.15 | 13.0 | Any |
A high-performance audio plugin designed primarily for games and immersive applications, providing low latency and advanced features.
- ⚡ Low latency, high performance audio
- 🎮 3D positional audio with Doppler effect
- 🔄 Gapless looping
- 🔄 Stream audio with auto-pause for buffering, support for PCM, MP3, Ogg with Opus, Vorbis and FLAC containers
- 📊 Get audio wave and/or FFT audio data in real-time (useful for visualization)
- 🎛️ Rich effects system (reverb, echo, limiter, bassboost, etc.)
- ⚙️ Faders for attributes (e.g. fade out for 2 seconds, then stop)
- 🎚️ Oscillators for attributes
- 🌊 Waveform generation and visualization
- 🔊 Multiple voices, playing different or even the same sound multiple times
- 🎵 Support for MP3, WAV, OGG, and FLAC
- ⏱️ Read audio data samples from a file with a given time range
- 🌊 Generate waveforms in real-time with various types (sine, square, saw, triangle, etc.)
- Watch FlutterPackage of the Week video.
- Read CodeLabAdd sound and music to your Flutter game.
If you are looking for a package to visualize audio using shaders or CustomPainter, please check outaudio_flux. It uses this plugin for output andflutter_recorder for input.
voidexample()async {final soloud=SoLoud.instance;await soloud.init();final source=await soloud.loadAsset('assets/sound.mp3');final handle=await soloud.play(source);// Later...await soloud.stop(handle);await soloud.disposeSource(source); }
The Dart plugin is covered by the MIT license. For information about the underlying SoLoud engine license, see thedocumentation.
About
Flutter low-level audio plugin using SoLoud C++ library and FFI
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.