Skip to main content

audio_decode 1.3.6 copy "audio_decode: ^1.3.6" to clipboard
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_decode

With Flutter:

 $ flutter pub add audio_decode

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  audio_decode: ^1.3.6

Alternatively, 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';
0
likes
160
points
1.02k
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

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.

Repository (GitHub)
View/report issues
Contributing

Topics

#audio #mp3 #vorbis #pcm #ffi

License

MIT (license)

Dependencies

code_assets, ffi, hooks, native_toolchain_c

More

Packages that depend on audio_decode