Package selection guidance compiled from public package information, community data, and project usage.
Flutter Sound is a comprehensive audio library for Flutter that enables audio playback and recording across multiple platforms. Part of the 'Tau' family, it provides a unified API for handling audio tasks on Android, iOS, Web, macOS, Windows, and Linux. Designed with simplicity and reliability in mind, it supports various audio formats and offers features like real-time audio processing. The package includes both an audio player and recorder, making it ideal for apps requiring robust audio functionality. A heartfelt message to support Ukraine is included in its description.
Use cases
Audio playback in mobile and desktop apps
Real-time audio recording
Voice memo applications
Music player integrations
Audio processing workflows
Cross-platform audio solutions
Key features
Supports playback and recording
Multi-platform compatibility
Unified API across platforms
Real-time audio processing
Built-in audio format support
Part of the Tau family ecosystem
Suitable for
Developers building audio-heavy apps
Cross-platform audio applications
Apps requiring voice recording
Media players and podcast apps
Educational or communication tools
Considerations
Requires platform-specific permissions
May need additional configuration for Web
Large package size due to native dependencies
Limited documentation beyond basic usage
Potential performance overhead on low-end devices
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Play local or remote files specified by their URL.
Play assets.
Play from a dart stream
Playback from a live dart Stream
Support for releasing/resuming resources when the app pauses/resumes.
Flutter Sound and Streams
Streams support is a main Flutter Sound feature that is very exciting.
Flutter Sound can record to a dart stream of audio data (PCM Float32 or PCM Int16). This let you process live audio data in dart, or send these data to a remote host.
Flutter Sound can playback from a dart stream of audio data (PCM Float32 or PCM Int16). This let play live audio data generated from dart
(sequencer, sound generator, ...) or from a remote host.
Flutter Sound is copyrighted by Dooboolab and Canardoux.
Flutter Sound is now released under the permissive Mozilla license which has a weakcopyleft clause: if you modify some of Flutter Sound code you must publish your modifications under the MPL license too. But you may publish your App with any license you want. Even a Proprietary/Closed-Sources License (shame on you!).
This is (will be) an implementation on flutter of the W3C Web Audio API.
Etau is actually in a developement state. It is an Alpha version. Even not a Beta version. There are many things to do before you can use it. Specially:
Because the Web Audio API is a W3C recommandation, you can find very good documentations on the Web. Of course, the Mozilla documentation but also documentation from other sources.
In a few words, the Web Audio API let you assembly nodes as a Node Chain, from a Source Node (perhaps the mic), to a Destination Node (perhaps the speaker), threw several nodes able to process the sound (echo, analyzer, panner, distorder, ...). But you really should look to the Mozilla documentation which is very good.
Now, you will have to ask yourself if you must use Taudio (which is just a wrapper around Etau), or directly Etau.
The W3C recommandation is powerful but simple to use. There are probably no many reasons to use Taudio any longer.
Etau is (will be) released under the Gnu Public Licence v3 (GPL v3).
The current Flutter Sound version is 9.x. Taudio is a new name for Flutter Sound 10.0. Taudio is actually in a developement state. It is an Alpha version. Even not a Beta version. There are many things to do before you can use it. Specially:
A documentation (TODO)
A support of the three main platforms:
Web (TODO)
iOS (TODO)
Android (TODO)
Taudio is (will be) released under the Gnu Public Licence v3 (GPL v3). This mean that if you don't want, cannot or maynot release your App under a GPL License, you must stuck with Flutter Sound 9.x. This is not a big deal: Flutter Sound v 9.x will be maintained for a forseable future.
Taudio is a complete rewritten of Flutter Sound 9.x. It keeps compatibility with the Flutter Sound 9.x API but adds a new wrapper above Etau.
Flutter Sound stands with Ukraine
Peace for Ukraine
We need help
{: .important }
We greatly appreciate any contributions to the project which can be as simple as providing feedback on the API or documentation.
Actually, I am almost alone to maintain and develop three important projects :
Etau
Flutter Sound 9.x
Taudio (flutter Sound 10.0)
This is too much on my shoulders. We desesperatly need at least one other developer.
Thanks
{: .note }
If you like my work, you can click on the Thumb up button of the top of the pub.dev page.
This is free and this will reassure me that I do not spend most of my life for nobody.