audio_decode 1.3.6
audio_decode: ^1.3.6 copied to clipboard
Decode MP3, Ogg Vorbis and WAV to raw PCM in Dart. MP3 and Ogg Vorbis run as C code over FFI, built from source with no plugins or prebuilt binaries. On the web only WAV decodes.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add audio_decodeWith Flutter:
$ flutter pub add audio_decodeThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
audio_decode: ^1.3.6Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:audio_decode/audio_decode.dart';