Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipping with dynamic volume normalisation #934

Closed
roderickvd opened this issue Jan 10, 2022 Discussed in #933 · 1 comment · Fixed by #935
Closed

Clipping with dynamic volume normalisation #934

roderickvd opened this issue Jan 10, 2022 Discussed in #933 · 1 comment · Fixed by #935

Comments

@roderickvd
Copy link
Member

Originally posted by acid-sun January 10, 2022
I have some sound problem with new type (dynamic) volume normalisation. Sound clipping.

  1. Track: Fast Flux - Zealous.
    [2022-01-10T14:06:56Z INFO librespot_playback::player] (141606 ms) loaded
    [2022-01-10T14:06:56Z WARN librespot_playback::player] This track will at its peak be subject to 2.93 dB of dynamic limiting.
    [2022-01-10T14:06:56Z WARN librespot_playback::player] Please lower pregain to avoid.
    [2022-01-10T14:06:56Z DEBUG librespot_playback::player] Normalisation Data: NormalisationData { track_gain_db: 2.933378219604492, track_peak: 0.7943402528762817, album_gain_db: 2.933378219604492, album_peak: 0.7943402528762817 }
    [2022-01-10T14:06:56Z DEBUG librespot_playback::player] Calculated Normalisation Factor for Track: 140.17%

  2. Track: Lucien - Revasser
    [2022-01-10T14:10:14Z INFO librespot_playback::player] (209250 ms) loaded
    [2022-01-10T14:10:14Z WARN librespot_playback::player] This track will at its peak be subject to 6.20 dB of dynamic limiting.
    [2022-01-10T14:10:14Z WARN librespot_playback::player] Please lower pregain toavoid.
    [2022-01-10T14:10:14Z DEBUG librespot_playback::player] Normalisation Data: NormalisationData { track_gain_db: 6.802104949951172, track_peak: 0.7412295341491699, album_gain_db: 6.802104949951172, album_peak: 0.7412295341491699 }
    [2022-01-10T14:10:14Z DEBUG librespot_playback::player] Calculated Normalisation Factor for Track: 218.83%

I tried to upper threshold to 0 dBFS, but it did not ideal result. Earlier it was possible to specify threshold > 0.
If I switched to basic method, music played normal.

@roderickvd
Copy link
Member Author

These are great reference tracks! I can confirm and will see what I can come up with.
For now I recommend that you set pregain to something like -5 or even -9 when listening to tracks with a wide dynamic range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant