audio-formats 1.1.2

Streaming decoding support for popular audio formats.


To use this package, run the following command in your project's root directory:

audio-formats

Audio format loading for D.

Can decode WAV / MP3 / FLAC / OPUS / OGG from a file or memory. Can encode WAV to a file or to memory.

It is a replacement for the wave-d package but with more formats, nothrow @nogc and chunk support.

API

See examples/transcode/main.d: https://github.com/AuburnSounds/audio-formats/blob/master/examples/transcode/source/main.d

File format support

DecodingEncoding
WAVYesYes
MP3YesNo
FLACYesNo
OPUSYes (LGPL)No
OGGBrokenNo

All of this wouldn't be possible without the hard work of Ketmar.

References

  • https://github.com/Zoadian/mp3decoder

License

  • Boost license otherwise.
  • LGPL v2.1 with OPUS decoding. (use DUB subconfigurations) to choose, defaukt is boost.

Bugs

  • OGG decoding doesn't work, the sound is unusable.
Dependencies:
dplug:core
Versions:
1.1.2 2020-Apr-14
1.1.1 2020-Apr-10
1.1.0 2020-Apr-06
1.0.0 2020-Mar-18
~master 2020-Apr-14
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 11 downloads total

Score:
0.0
Short URL:
audio-formats.dub.pm