flutter_soloud
Flutter용 저수준 오디오 플러그인으로, 주로 게임과 몰입형 앱을 위한 것입니다. SoLoud(C++) 오디오 엔진 기반입니다.
SoLoud C++ 라이브러리와 FFI를 사용한 Flutter 저수준 오디오 플러그인
^2.0.0^2.1.4{"sdk":"flutter"}^2.2.0^1.3.0^1.3.0^1.15.0^0.19.4^1.9.0^2.1.5^2.1.8^1.1.0^19.1.0{"sdk":"flutter"}^1.24.9^6.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A low-level audio plugin for Flutter.
Pub Version style: very good analysis
| Linux | Windows | Android | MacOS | iOS | Web | |
|---|---|---|---|---|---|---|
| Support | 💙 | 💙 | 💙 | 💙 | 💙 | 💙 |
| Minimum Version | Any | Any | 21+ | 10.15+ | 13.0+ | iOS 16.4+ Safari 16.4+ Chrome 91+ Edge 91+ Firefox 89+ |
A high-performance audio plugin designed primarily for games and immersive applications, providing low latency and advanced features.
playClocked for sub-millisecond spaced playback regardless of buffer size, and playScheduled for score/manifest-style scheduling of whole batches of sounds on the engine's own clock (with optional scheduled stop/fade). Perfect for metronomes, music sequencers, rhythm games and precisely timed audio cues[start, end) loop regionsIf you are looking for a package to visualize audio using shaders or CustomPainter, please check out audio_flux. It uses this plugin for output and flutter_recorder for input.
If you are working with MIDI or SoundFont files (SF2/SF3/SFZ), check out soundfont_kit—a companion package that is very helpful for musicians and game developers looking to synthesize instrument audio using SoundFonts with flutter_soloud.
The native code is built with Dart build hooks: no CMake, CocoaPods script phases, or SPM configuration is needed — it works the same whether your app uses CocoaPods or Swift Package Manager.
By default, Xiph audio codecs (Ogg, Vorbis, Opus, FLAC) are linked and bundled from tested prebuilt libraries (xiph/prebuild/<platform>/), ensuring that packaged apps (Android AAB/APK, iOS IPA, macOS APP, Windows EXE) work out of the box with zero external build dependencies. You can also configure:
<platform>_use_system_libs: true (e.g. linux_use_system_libs: true) to link system packages.<platform>_force_build_libs: true to clone and compile from source via CMake.no_xiph_libs: true to exclude Xiph codecs and shrink binary size.For complete setup instructions and Windows download links, see the Xiph Libraries & Codecs Guide.
flutter_soloud includes bundled Agent Skills (SKILL.md instruction files) to help AI coding agents (Claude, Cursor, Gemini, GitHub Copilot, Cline, Codex, OpenCode, etc.) generate correct, high-performance code for all features of this audio engine.
Install or update the skills in your project by running:
dart run flutter_soloud:skills
To check whether installed skills are up to date without modifying any files:
dart run flutter_soloud:skills --check
void example() async {
final soloud = SoLoud.instance;
await soloud.init();
await soloud.playSource(asset: 'assets/sound.mp3');
// or
final sound = await soloud.loadAsset('assets/sound.mp3');
final handle = soloud.play(sound);
[...]
await soloud.deinit();
}
A showcase of apps and games built with this plugin:
| App/Game | Developer | Description |
|---|---|---|
| GPhil web MacOS Windows |
Vyacheslav Gryaznov | Innovative app designed for musicians to play instrumental concertos with flexible virtual orchestral accompaniment. |
| Forcebar | Doug Todd | Forcebar is a pure reflex game. |
| RadioVisualizer | Marco Bavagnoli | Stream over 35,000 live radio stations from every corner of the globe. |
| Stellar Bastion web Android iOS |
Coconut Island Apps | 2D Tower Defense game. |
| Mortigen web Android iOS |
Luis Enrique Ruiz | Roguelite survival shooter. |
| SUMOJI web Android iOS |
Valentin Martinet | Fun Emoji-based Sudoku. |
| GuanDan web MacOS Windows Android iOS |
yangyuan | GuanDan (掼蛋) is a popular four-player Chinese card game. |
| DeReMi Piano: Play & Learn Android |
Gent Mecaj | A piano learning app. |
Want to add your app? Feel free to open a PR!
The Dart plugin is covered by the MIT license. For information about the underlying SoLoud engine license, see the documentation.