ws-audio2: Monkey's Audio: codecs/audio/Ape (port of the MAC SDK 13.28 decoder, BSD-3) + audio/ape

File versions 3.95+ (3.99+ verified; the 3.95-3.98 range-coder model is ported without a reference fixture), every
level (fast .. insane), 8/16/24/32-bit int and 32-bit float, 1-32 channels, special frames, frame CRCs, seeking,
APEv2 tags, ID3v2 in front. 35 fixtures (mac 13.28, the FATE luckynight sample) bit-exact against mac -d.
tests/audio/_lossless.luau: the per-fixture checks shared by the lossless format tests. tools/bench.luau: the
ws-audio2 lossless block.
This commit is contained in:
4DBug committed 2026-10-31 14:52:08 -05:00
1 parent 66c3819063
commit ae8ff9d6bf
12 files changed
+1543 -99

No files matched your search

+12
View File
@@ -170,6 +170,18 @@ local list: { Entry } = {
return require("@formats/audio/aiff")
end,
},
{
name = "ape",
category = "audio",
path = "audio/ape",
extensions = { "ape" },
mime = { "audio/ape", "audio/x-ape", "audio/x-monkeys-audio" },
deps = { "core/Err", "core/Bytes", "Types", "codecs/audio/Pcm", "codecs/audio/Stream", "codecs/audio/ApeTag", "codecs/audio/Ape" },
caps = { decode = true, encode = false, streaming = true, seek = true, lossless = true, float = true, depths = { 8, 16, 24, 32 } },
load = function()
return require("@formats/audio/ape")
end,
},
{
name = "au",
category = "audio",