सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
flutter_soloud एक निम्न-स्तरीय ध्वनि प्लगइन है जो Flutter के लिए SoLoud C++ ध्वनि इंजन पर बनाया गया है। यह खेलों और अवतार आवेदनों के लिए उपयुक्त दक्ष, वास्तविक समय में ध्वनि प्रस्तुति प्रदान करता है। यह पैकेज Android, iOS, Web, macOS, Windows और Linux सहित कई प्लेटफ़ॉर्मों को समर्थन देता है, जिससे उपकरणों के बीच एक समान ध्वनि प्रदर्शन सुनिश्चित होता है। ध्वनि पर बारीक नियंत्रण की आवश्यकता वाले विकासकर्ताओं के लिए डिज़ाइन किया गया है, जिसमें 3D स्पेशल ध्वनि, स्ट्रीमिंग और नमूना संशोधन जैसी विशेषताएं शामिल हैं। इसकी हल्की प्रकृति उन एप्लिकेशन के लिए उपयुक्त है जहां न्यूनतम लेटेंसी और उच्च प्रतिक्रिया की आवश्यकता होती है।
उपयोग
गेम ऑडियो कार्यान्वयन
अमर्सिव वीआर/एआर अनुभव
रियल-टाइम ध्वनि प्रभाव
ऑडियो-ड्राइव इंटरैक्टिव ऐप्स
कम लेटेंसी ऑडियो प्रोसेसिंग
मुख्य विशेषताएँ
क्रॉस-प्लेटफॉर्म ऑडियो समर्थन
3D स्पेशल ऑडियो
स्ट्रीमिंग ऑडियो प्लेबैक
नमूना-स्तरीय ऑडियो नियंत्रण
कम लेटेंसी
इनके लिए उपयुक्त
गेम डेवलपर्स
इंटरैक्टिव ऐप निर्माता
ऑडियो इंजीनियर्स
प्रदर्शन-केंद्रित एप्लिकेशन
C++-आधारित ऑडियो एकीकरण
विचार योग्य बातें
कम स्तरीय ऑडियो अवधारणाओं के ज्ञान की आवश्यकता है
सीमित उच्च स्तर के अभाषण
सरल संगीत प्लेबैक के लिए आदर्श नहीं
उन्नत उपयोग केस के लिए सबसे उपयुक्त
प्लेटफॉर्म-विशिष्ट ऑडियो व्यवहार में भिन्नता हो सकती है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
A high-performance audio plugin designed primarily for games and immersive applications, providing low latency and advanced features.
Key Features
⚡ Low latency, high performance audio
⏱️ Sample-accurate scheduled playback: 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
🎮 3D positional audio with Doppler effect
🔄 Gapless looping with half-open [start, end) loop regions
🔄 Stream audio with auto-pause for buffering, support for PCM, MP3, WAV, Ogg with Opus, Vorbis and FLAC containers
📥 Pull-buffer streaming: the engine requests encoded data on demand (MP3, WAV, FLAC, Ogg Opus/Vorbis/FLAC), with seek support and callbacks for buffering, metadata, duration and data requests — ideal for network streams and custom data sources
🚌 Mixing buses: group voices (music, SFX, UI...) into sub-mixes with their own volume, filters and visualization
📊 Get audio wave and/or FFT audio data in real-time (useful for visualization)
⚙️ 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
🔴 Capture the master mixer output as a stream for recording, processing, or streaming (with different PCM formats and Opus, Vorbis, FLAC, WAV encoded stream formats)
⏱️ 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.)
If 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:
System libraries: Set <platform>_use_system_libs: true (e.g. linux_use_system_libs: true) to link system packages.
Force source build: Set <platform>_force_build_libs: true to clone and compile from source via CMake.
Without Xiph mode: Set no_xiph_libs: true to exclude Xiph codecs and shrink binary size.
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: