Audio: reverb / convolution effects are silent #17
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@LakshanSivakumar on GitHub · 2026-11-26 09:20 UTC · original
Sound plays through CoreAudio, but effects that rely on the console audio DSP (reverb and convolution) are not emulated, so they are silent. Dry sound is fine. The work is to implement the DSP effect path in victory-hle's audio module, or a CPU fallback.
@LakshanSivakumar on GitHub · 2026-11-26 15:57 UTC · original
Status: not started. Still open and up for grabs.
@m0rff on GitHub · 2026-11-26 20:41 UTC · original
Opened #146: a CPU-fallback convolution tail for chad.dll streams, behind
VICTORY_GUESS_DSP=1(off by default, so current silent behaviour is unchanged until someone verifies it on a real run). It doesn't read the title's own impulse response (still unknown format), so it's a synthetic ~100ms decaying-noise tail, not the real effect — also addedVICTORY_TRACE_DSP=1to help capture the realStreamDesc::irdata on a future run and settle that.@brainbudt on GitHub · 2026-11-27 12:56 UTC · original
/claim — replacing the O(N*TAPS) scalar convolution in chad.dll (modules/dsp.rs) with a zero-allocation partitioned overlap-save FFT convolver.
@github-actions[bot] on GitHub · 2026-11-27 12:57 UTC · original
Claimed by @brainbudt. Open a draft pull request with
Refs #17in its description within 24 hours, or the claim expires.@AnastasisKon on GitHub · 2026-11-28 12:03 UTC · original
Finding from the GDK 2026.10 public docs (the XDK's MarkdownDocsOnly package, "XDSP" audio reference + overviews) — in my own words, no SDK text copied:
The impulse-response layout that
StreamDesc::irholds is documented now:impulseResponseLengthInFloatscounts floats, so N complex bins = N*2 floats. With the stereo-IR option and channelCount 2 the buffer is doubled (one IR per channel).0xFFFFACE1, then up to 15 little-endian 4-byte entries of (u16 cutoff frequency, u16 block index). Entries must have strictly increasing block indices; the hardware processes whole blocks up to an entry's block index, then only the firstcutoffsamples of each later block. (This is the "partitioned IR layout" our dsp.rs comment calls unknown — it is the block structure plus this trailing reduction table.)So a
VICTORY_TRACE_DSP/VICTORY_DUMP_DSPcapture can now be interpreted:stream<n>_ir.f32should parse as complex float pairs in blocks, with a trailingE1 AC FF FFreduction block when present. Still unverified against a real run (the game download here is incomplete), but the format question is settled by the docs. This should let theVICTORY_GUESS_DSP=1fallback be upgraded to a real FFT-based convolution over the title's own IR once a run confirms the layout.