IRT-Open-Source / binaural_nga_renderer

Binaural rendering of Next Generation Audio using virtual loudspeaker setups
Other
10 stars 7 forks source link

Question: what about --output-gain-db? #2

Open WernerBleisteiner opened 3 years ago

WernerBleisteiner commented 3 years ago

Does

--output-gain-db gain_db

function as a normaliser at the given value?

Is this related to the - afaik previously implemented - auto-normalising of the audio?

Or just as an option of setting a gain (which might cause peaks beyond 0db if there's not enough headroom).

felix-lau commented 2 years ago

This parameter influences only the first stage of rendering where the signals for the virtual loudspeakers are rendered in the EAR. This can cause peaks beyond 0dBFS. The normalization however takes place after this, which would cause a clipped, but normalized signal. This should be adressed altogether by making normalization optional. What do you think?