audio-formats is meant to be the easiest package to load and write sounds in D.
float and double supportnothrow @nogc APIx86 / x86_64 / arm64audio-formats v3nothrow @nogc.
AudioFormatsException doesn't exist anymore..isError and .isValid to check for errors.audio-formats v2dplug:core anymore.audio-formats are now AudioFormatsException.
They must be clean-up with destroyAudioFormatException.audio-formats v1audio-formats as dependency to your dub.json or dub.sdl.| Decoding | Encoding | Seeking support | |
|---|---|---|---|
| 📀 WAV | Yes | Yes | Sample |
| 📀 MP3 | Yes | No | Sample |
| 📀 FLAC | Yes | Yes (LGPL) | Sample |
| 📀 OPUS | Yes (LGPL) | No | Sample |
| 📀 OGG | Yes | No | Sample |
| 📀 QOA | Yes | Yes | Sample |
| 📀 MOD | Yes | No | Pattern+Row |
| 📀 XM | Yes | No | Pattern+Row |
Some of these decoders were originally translated by Ketmar, who did the heavy-lifting.
-The following version identifiers can be used to enable/disable decoder level features
| Version Identifier | Feature |
|---|---|
| AF_LINEAR | Use linear sampling for MOD modules instead of Amiga sampling |
framesRemainingInPattern is unimplemented for XM currently.D
100.0%
audio-formats is meant to be the easiest package to load and write sounds in D.
float and double supportnothrow @nogc APIx86 / x86_64 / arm64audio-formats v3nothrow @nogc.
AudioFormatsException doesn't exist anymore..isError and .isValid to check for errors.audio-formats v2dplug:core anymore.audio-formats are now AudioFormatsException.
They must be clean-up with destroyAudioFormatException.audio-formats v1audio-formats as dependency to your dub.json or dub.sdl.| Decoding | Encoding | Seeking support | |
|---|---|---|---|
| 📀 WAV | Yes | Yes | Sample |
| 📀 MP3 | Yes | No | Sample |
| 📀 FLAC | Yes | Yes (LGPL) | Sample |
| 📀 OPUS | Yes (LGPL) | No | Sample |
| 📀 OGG | Yes | No | Sample |
| 📀 QOA | Yes | Yes | Sample |
| 📀 MOD | Yes | No | Pattern+Row |
| 📀 XM | Yes | No | Pattern+Row |
Some of these decoders were originally translated by Ketmar, who did the heavy-lifting.
-The following version identifiers can be used to enable/disable decoder level features
| Version Identifier | Feature |
|---|---|
| AF_LINEAR | Use linear sampling for MOD modules instead of Amiga sampling |
framesRemainingInPattern is unimplemented for XM currently.D
100.0%