fix: use the correct filterbank for Rosella rendering

Replace the shared SOFA filterbank in the personalized headphone path
with a dedicated Rosella bank. The previous variant caused a
frequency-dependent room-tail error despite correct room processing.

- Use the matching QMF prototype and 11-tap hybrid filters
- Apply the 3-slot high-band delay and 448-sample filterbank latency
- Resize the rendered buffer correctly for short final blocks
- Add reference-vector, chunking, reset, isolation, and latency tests
- Document the filterbank differences and validation results
This commit is contained in:
yuygfgg committed 2026-10-30 17:46:18 +08:00
1 parent 8e688d496e
commit 188a066642
10 files changed
+899 -18

No files matched your search

+5 -1
View File
@@ -112,7 +112,7 @@ No path may add a second ear delay or phase-group delay.
## Public filterbank and directional field
The runtime is fixed at:
The SOFA and `.jochrtf` runtime is fixed at:
- 48 kHz;
- a 64-sample QMF hop;
@@ -121,6 +121,10 @@ The runtime is fixed at:
- fifth order, 36 terms, ACN/N3D real spherical harmonics;
- float64 PCM, delay, SH, and room state; complex128 band transfers and spectra.
The `.personalized_headphone` path uses a separate Rosella filterbank with
448 samples of latency. See [Rosella filterbank](rosella_filterbank.en.md) for
its parameters and validation results. The SOFA bank described here is unchanged.
Real and imaginary unit gains for every hybrid band pass through the same
analysis/synthesis chain to form a 154-real-parameter impulse dictionary. The
compiler does not sample 77 FFT bins. Defaults are `1e-3` projection ridge and