Sync the Rosella filterbank choice into the plugin and the fork
The kernel can now render the Rosella path through either bank; expose that choice in both front ends with the same values and the same default. - plugin: joc-rosella-filterbank = 1|2 (public|captured); unset means the kernel default (the public bank), and it applies only to joc-hrtf-source=rosella, logging a warning otherwise - fork: --ad-joc-rosella-filterbank, the same values and default; it sits in the ad_joc option group, so it is read only when ad_joc decodes a Rosella model - log the bank actually selected (public|captured) on both paths - add a bank-2 case to tools/verify_parity.ps1 - document the key in both READMEs and the example config Checked: the plugin builds, the option parser covers the numeric and named spellings plus invalid values, and for both banks the plugin's PCM is bit-identical to joc_cli with --rosella-filterbank 1|2.
This commit is contained in:
1 parent
a9cbffa1cf
commit
ecf14d8c32
12 files changed
+64
No files matched your search
@@ -61,6 +61,15 @@ if ($Rosella -ne "") {
|
||||
Invoke-Capture "joc-int24=yes,joc-hrtf-source=rosella,joc-hrtf=$Rosella" $actual
|
||||
& $Python (Join-Path $PSScriptRoot "compare_wav.py") $actual $reference
|
||||
if ($LASTEXITCODE -ne 0) { $failures++ }
|
||||
|
||||
Write-Output "=== binaural float32 (Rosella, captured filterbank) ==="
|
||||
$reference = Join-Path $WorkDir "reference.binaural.bank2.f32.wav"
|
||||
$actual = Join-Path $WorkDir "plugin.binaural.bank2.f32.wav"
|
||||
& $JocCli $Media --binaural --personalized-headphone $Rosella `
|
||||
--rosella-filterbank 2 --binaural-format float32 --binaural-output $reference | Out-Null
|
||||
Invoke-Capture "joc-hrtf-source=rosella,joc-hrtf=$Rosella,joc-rosella-filterbank=2" $actual
|
||||
& $Python (Join-Path $PSScriptRoot "compare_wav.py") $actual $reference
|
||||
if ($LASTEXITCODE -ne 0) { $failures++ }
|
||||
}
|
||||
foreach ($layout in @("2.0", "3.1", "4.0", "5.1", "7.1", "5.1.2", "5.1.4", "7.1.2",
|
||||
"7.1.4", "9.1.4", "9.1.6")) {
|
||||
|
||||
Reference in new issue
Block a user