Migrating from Flutter Sound
Sounds is a Flutter package allowing you to play and record audio for both the
Sounds provides both a high level API and widgets for:
Sounds can be used to play a beep from an asset all the way up to implementing a complete media player.
The API is designed so you can use the supplied widgets or roll your own.
The Sounds package supports playback from:
The Sounds package includes the following features
Play audio without any UI
Play audio using the built in SoundPlayerUI Widget.
Play audio using the OSs' Media Player
Roll your own UI utilising the Sounds api.
Record audio without any UI
Record audio using the builtin SoundRecorderUI Widget.
Roll your own Recording UI utilising the Sounds api.
Support for releasing/resuming resources when the app pauses/resumes.
The core classes are:
A Flutter Widget Audio Player
A Flutter Widget for recording
Plays an audio file without a UI. Easiest way to play a beep.
API to playback audio with fine grained control
API to playback audio using the OS's Shade (media player)
API to record audio with fine grained control.
Container for audio used by all of the above classes.
Defines what MediaFormat is being used.
Flutter InheritedWidget used to co-ordinate Recording and Playback in a single UI.
Play a sequence of Tracks via the OS's Shade (media player)
Audio is a fundamental building block needed by almost every flutter project.
I'm looking to make Sounds the go to project for Flutter Audio with support for each of the Flutter supported platforms.
Sounds is a large and complex project which requires me to maintain multiple hardware platforms and test environments.
I greatly appreciate any contributions to the project which can be as simple as providing feedback on the API or documentation.
section below for details.
If you can't help out by directly contributing code maybe you could Sponsor me so I can spend more time improving Sounds.
Sounds is a large commitment and I'm maintaining several other dart related projects so any support would be greatly appreciated.
Key short term goals are:
Hire a graphics designer to improve the look of the widgets
Provide support for the web
Provide support for a wider range of Codecs
Provide support for streaming
If I can get enough sponsorship I intend hiring a grad to do a chunk of the dirty work so I can focus on some of the larger features such as Web Support.
You can find the purple heart Sponsor button at the top of the page.
If you can't afford a coffee then show your support by 'liking' the Sounds project on the
for details on the future of Sounds.
guide for details on contributing to Sounds.
The key classes are:
- instantly play an audio file (no ui). Perfect for the odd beep.
- Defines a track including the artist details and the audio media.
- play a collection of tracks via the OSs' audio UI.
- provides an API for playing audio including pause/resume/seek.
- API for recording audio.
- displays an HTML 5 style audio controller widget.
- displays a recording widget.
- pairs a SoundPlayerUI and SoundRecorderUI to provide a coordinated recording/playback UI.
Note: there are some limitations on the supported