Put the CBA bed height row on the 62-level grid and render PCM 2.0/5.1/7.1 binaurally
The height row of the bed reference coordinates sits at ADM 62-level steps 15/62 and 47/62, not at the room corners: Tfl/Tfr, Tsl/Tsr and Tbl/Tbr move from x = -1 / 1 to -0.516113 / 0.516113, which puts their Q15 numerators at 7928 / 24840 so every bed channel lands on its reference position instead of being snapped to the nearest neighbour. Lw/Rw keep Y = 21/31 (5285). The ADM-to-Q15 conversion scales by 32768, the full scale the renderer divides by, so half-step positions such as 16384 and 7928 are no longer one count low. 5.1, 5.1.2 and 5.1.4 keep their single surround pair at the rear corners (y = 32767) instead of y = 16384. That family has no side pair, so its Ls/Rs is the rear pair, which is the same point the multichannel PCM virtual sources use; 7.1.x and 9.1.x keep Ls/Rs at 0.5 and Lrs/Rrs at 1. Add the multichannel PCM binaural path. src/multichannel_binaural.py maps the 2.0 / 5.1 / 7.1 WAV channel order to synthetic objects (LFE on slot 0, the full-band channels on slots 1..N in ffmpeg order, the remaining slots silent), resamples the input to the native 48 kHz and drives the Rosella or .jochrtf adapter. FixedPositionTimeline gives those static directions the positions_at interface the OAMD timeline exposes, and both adapters accept an optional fixed_positions argument instead of deriving a timeline from bed labels. Checked: the fifteen bed labels convert to the reference Q15 triples, the nine output layouts agree with the layout table region by region, bed routing and the derived direct bed labels are unchanged for every layout, and the regression suite passes.
This commit is contained in:
1 parent
7de17a8576
commit
76074a05ba
9 files changed
+381
-60
No files matched your search
+3
-3
@@ -15,9 +15,9 @@ It covers the currently implemented stream forms. Unknown variants fail explicit
|
||||
- Parse ID11 OAMD position updates and build object trajectories.
|
||||
- Read the bed layout the OAMD declares (5.1, 7.1, 7.1.2, 7.1.4, 9.1.4, 9.1.6, ...): for
|
||||
bed-only content the 15 object slots are the bed channels, each rendered as a point
|
||||
source at the fixed position its channel label defines (ETSI TS 103 420 table B.10);
|
||||
speaker and binaural output share those source positions and never re-place them per
|
||||
layout, while LFE keeps its separate path.
|
||||
source at the fixed position its channel label defines; speaker and binaural output
|
||||
share those source positions and never re-place them per layout, while LFE keeps its
|
||||
separate path.
|
||||
- Reconstruct LFE plus 15 object channels through analysis QMF, parameter interpolation, the object matrix, and inverse QMF.
|
||||
- Write a 25-channel ADM BWF: a 10-channel 7.1.2 bed (silent except for LFE) plus 15 objects.
|
||||
- Render directly to `2.0`, `3.1`, `4.0`, `5.1`, `6.0`, `7.1`, `5.1.2`, `5.1.4`, `7.1.2`, `7.1.4`, `9.1.4`
|
||||
|
||||
Reference in new issue
Block a user