> For the complete documentation index, see [llms.txt](https://canardoux.gitbook.io/tau/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://canardoux.gitbook.io/tau/doc/pages/flutter-sound/examples/demo.md).

# Examples

Flutter Sound Demo.

## Demo

[Demo](https://github.com/canardoux/tau/blob/master/flutter_sound/example/lib/demo/demo.dart)

This is a Demo of what it is possible to do with Flutter Sound. The code of this Demo app is not so simple and unfortunately not very clean :-( .

Flutter Sound beginners : you probably should look to [SimplePlayback](https://github.com/Canardoux/tau/tree/6bd245d293bcf9a123677735835549585d32b2ee/doc/pages/flutter-sound/examples/README.md#simpleplayback) and [SimpleRecorder](https://github.com/Canardoux/tau/tree/6bd245d293bcf9a123677735835549585d32b2ee/doc/pages/flutter-sound/examples/README.md#simplerecorder)

The biggest interest of this Demo is that it shows most of the features of Flutter Sound :

* Plays from various media with various codecs
* Records to various media with various codecs
* Pause and Resume control from recording or playback
* Shows how to use a Stream for getting the playback (or recoding) events
* Shows how to specify a callback function when a playback is terminated,
* Shows how to record to a Stream or playback from a stream
* Can show controls on the iOS or Android lock-screen
* ...

It would be really great if someone rewrite this demo soon

The complete example source [is there](https://github.com/canardoux/tau/blob/master/flutter_sound/example/lib/demo/demo.dart)
