Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: clippless before and after transcoding (=converting) (Read 1091 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

clippless before and after transcoding (=converting)

Hi,

ReplayGain Settings - Converter to prevent clipping doesn't help.
I tested with RG-scanned files with -20,-10-,0,+10,+20dB and the louder tracks with +10 and +20 preamp show massive clipping/distortion in Audacity after transcoding. It really seems like the pre-amp is a post-amp or the prevent clipping according to peak doesn't work?

With EAC I used the implemented postprocessing 92%-95% Normalization and then transcoded in lame with clipdetect/replaygain to be save.

How can I manage the workflow in foobar?



Re: clippless before and after transcoding (=converting)

Reply #1
You tested files that were ReplayGain scanned by foobar2000 and tags updated prior to convert?
And using the same scan mode (track or album) as you selected in converter?
korth

Re: clippless before and after transcoding (=converting)

Reply #2
You tested files that were ReplayGain scanned by foobar2000 and tags updated prior to convert?
And using the same scan mode (track or album) as you selected in converter?

Yes. I did.
I would like to have TruePeak in between 0.90 and 1.00 before and after converting. I won't convert a track with TP 0,6 and so much headroom without any peaks (in Audacity visible and with Peak Normalisation tested) and will also not risk the convertet track to have TP 1.4.

Re: clippless before and after transcoding (=converting)

Reply #3
You tested files that were ReplayGain scanned by foobar2000 and tags updated prior to convert?
And using the same scan mode (track or album) as you selected in converter?

Yes. Track per File
Ctrl+P...Tools: EBU128 ...TruePeakScan: auto 4xoversample

converter setup - processing - RG: track, aply and prevent, PreGain tried from -20 to +20 and seems like "post-Gain" and/or without clip-detect

I would like to have a solution to end with TruePeak in between 0.90 and 1.00 before and after converting. I won't convert a track with TP 0,6 and so much headroom without any peaks (in Audacity visible and with Peak Normalisation tested) and will also not risk the convertet track to have TP 1.4.



Re: clippless before and after transcoding (=converting)

Reply #4
here you can see the empty headromm in the untouched original CD-RIP.

then with ReplayGain Preamp +10 dB and Gain/Scale 0.95
the last one dito without Gain/Scale DSP = too loud.


https://www.udrop.com/86cz/image.png

Re: clippless before and after transcoding (=converting)

Reply #5
You can't prevent clipping after lossy compression.
The settings you use in foobar2000 do prevent clipping. If you output the file to 32-bit floating point WAV you will see that there is zero clipping. But lossy audio compression does not retain the original waveform shape. It will almost always have unpredictably higher peaks than the source.

Edit: you can use "ReplayGain" -> "Apply gain to file content ..." context menu command on your lossy files after the conversion to losslessly alter their loudness and apply clipping prevention.

 

Re: clippless before and after transcoding (=converting)

Reply #6
Thank you. I understand.

The given example in the photo (from VA CD Bravo Hits 118) looks like the original was compressed and after that normalized far too far below the maximum.
This is the reason I don't trust the originals and am looking for an automated workflow.

My my previous way was:
- prepare: ReplayGain scan
- converter setup: set Album Gain with clipping prevention with pre-amp of +20dB
- gain/scale: 0,85-1,10 depending on the output TP
- Advanced Limiter
- transcoding
- check the TP if not to high/low
- scan ReplayGain

Shoud I ignore the clipping shown in audacity because they are just "new" distortions produced by the lossy calculations and irrelevant?

I would like a "standard" DSP-chain preset:

1. normalize near to the TruePeak-Maximum but smaller < 100%
2. lower the gain / scale to 0.91 because of the possible new created peaks from the following transcoding process
3. transcode to lossy
4. ideally, the "Advanced Limiter" should now be placed
5. ReplayGain scan for the final tracks when finished
6. when resulting TP is ok delete the flacs after the conversion

so to 1.:
Is there a way inside foobar to add a Peak normalizer if there really are no peak dropouts or outliers in the lossless track to raise or lower the gain automatically to 0.92 scale from highest peak?

Is there a way to implement something like sox or ffmpeg in the DSP chain?