Honor OAMD warp modes and position-dependent speaker trims
Read warp mode from OAMD instead of always scaling the floor Y coordinate.
For eligible layouts, mode 1 uses clamp(2Y, 0, 1), while mode 0 leaves Y
unchanged. Height coordinates are not scaled. Modes 2/3 remain explicitly
unsupported, and the CLI provides no warp override.
Keep separate coordinates for floor panning, height panning and trim
evaluation, with W denoting warp and B denoting front-back balance:
floor Y = B(W(Y))
height Y = B(Y)
trim Y = B(Y)
Apply explicit trims as a position-dependent gain for each object before
accumulation, replacing fixed gains applied to output channels after mixing.
Automatic, disabled and explicit trim modes are mutually exclusive.
Per-object bypass disables balance and trim while retaining warp.
Update controls at OAMD metadata events and retain the previous controls
when a payload has no trim element. Keep source trajectories and binaural
rendering unchanged.
Write the OAMD warp code into dbmd segment 9 while preserving the other
packed fields. Update the bilingual mathematical notes, README files and
code comments to describe parameters and rendering behavior.
Checked: warp 0/1, Y clipping, height coordinates, balance/trim ordering,
per-object bypass, metadata updates, bed positions and LFE passthrough.
This commit is contained in:
1 parent
8424e6bdfb
commit
0e28cd085c
17 files changed
+335
-191
No files matched your search
+2
-4
@@ -5,12 +5,10 @@ The Rosella renderer can run either bank:
|
||||
``PUBLIC_FILTERBANK`` (1)
|
||||
The shared public bank of ``rosella_filterbank.py``: a 13-tap hybrid
|
||||
analysis, a 6-slot high-band delay and 961 samples of analysis/synthesis
|
||||
latency. This is the bank the reference implementation has always used.
|
||||
latency.
|
||||
|
||||
``CAPTURED_FILTERBANK`` (2)
|
||||
The bank the reference headphone renderer actually runs, captured from it:
|
||||
an 11-tap hybrid analysis, a 3-slot high-band delay and 448 samples of
|
||||
latency.
|
||||
An 11-tap hybrid analysis, a 3-slot high-band delay and 448 samples of latency.
|
||||
|
||||
Both banks expose the same four stateful stages, so the choice changes the
|
||||
coefficients, the high-band delay, the history layout and the latency together.
|
||||
|
||||
Reference in new issue
Block a user