flutter_sound 6.3.0+4 copy "flutter_sound: ^6.3.0+4" to clipboard
flutter_sound: ^6.3.0+4 copied to clipboard

outdated

Flutter plugin that relates to sound like audio and recorder.

Flutter Sound #

pub version

This plugin provides simple recorder and player functionalities for both Android and iOS platforms.

#

We (I) think that this version will be a major release. Please refer to the CHANGELOG.md file to get learn all the great new features. It has especially the following :

Record to Dart Stream #

This feature has been requested from many months from many, many, many Flutter Sound users. This open doors to things like feeding a Speech-to-Text engine.

You can refer to the Getting Started with Record-to-Stream notice.

Playback from a live Dart Stream #

This feature has also been requested from many months from many Flutter Sound users.

You can refer to the Getting Started with Playback-from-Stream notice.




Demo

Features #

  • Play and Record sounds or music with various codecs. (See the supported codecs here)
  • Play local or remote files specified by their URL.
  • Record to a Dart Stream
  • Playback from a Dart Stream
  • The App playback can be controled from the device lock screen or from an Apple watch

Flutter Sound branches #

We actually maintain two branches for Flutter Sound :

  • The V5 branch (the version ^5.0.0)
  • The master branch (actually the version ^6.0.0)

Migration Guides #

See the migration guide to migrate from an anterious version (V5, V4 or V3)

SDK requirements #

  • Flutter Sound requires an iOS 9.3 SDK (or later)
  • Flutter Sound requires an Android 21 (or later)

Installation #

Here is a guide for Flutter Sound installation

Flutter Sound API #

Flutter Sound is composed with 4 modules :

To use Flutter Sound you just do :

import 'package:flutter_sound/flutter_sound.dart';

This will import all the necessaries dart interfaces.

Examples (Demo Apps) #

Flutter Sound comes with several Demo/Examples :

Please refer to the README.md to have a preview of those examples. The examples App is a driver which can call all the various examples.

License #

Flutter Sound is copyrighted by Dooboolab (2018, 2019, 2020) Flutter Sound is released under a license with a copyleft clause: the LGPL-V3 license. This means that if you modify some of Flutter Sound code you must be publish your modifications under the LGPL license too.

Contributions #

Flutter Sound is a free and Open Source project. Several contributors have already contributed to Flutter Sound. Specially :

  • @hyochan who is the Flutter Sound father
  • @salvatore373 who wrote the Track Player
  • @bsutton who wrote the UI Widgets
  • @larpoux who add several codec supports

We really need your contributions. Pull Requests are welcome and will be considered very carefully.

Bugs, Features Requests, documentation inaccurate, help needed, ... #

We use Github actively.

When you fill an issue, we try to answer something in less than 48h. Of course, this will not mean that your issue will be fixed in 48h. But you will know that we confirm (or not) your issue and what answer you can expect. Maintenance is our priority. We try to make it perfect.

TODO #

  • Record raw PCM both on Android and iOS
  • Record OPUS on Android
  • Record MP3 both on Android and iOS
  • Record raw PCM to a Dart Stream instead of a file
  • Playback raw PCM from a Dart Stream instead of a file
  • Streaming records to Speech to Text
  • More support for the Apple Watch
  • Tests unit to avoid any regression
  • Flutter Web App support
  • Flutter Sound port to React Native
  • Better UI Widget
  • Lock screen control between two sounds (Done on iOS).

Help Maintenance #

My friend Hyo has been maintaining quite many repos these days and he is burning out slowly. If you could help him cheer up, buy him a cup of coffee will make his life really happy and get much energy out of it. As a side effect, we will know that Flutter Sound is important for you, that you appreciate our job and that you can show it with a little money.
Buy Me A Coffee Paypal