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: Encoding 32bit float WAV (over 0dB) to MP3 in foobar (Read 813 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Encoding 32bit float WAV (over 0dB) to MP3 in foobar

If I convert a 32bit float WAV with over 0dBFS content to MP3 in foobar2000, it clips.
Doing the same conversion in Audacity results in no clipping.
Both use LAME, same version. What's going on and is there a way to make it work in f2k?

Re: Encoding 32bit float WAV (over 0dB) to MP3 in foobar

Reply #1
The command line frontend lame.exe clips the signal for some reason. Someone could remove this misfeature from it to solve the problem.
Until then if you want to preserve full input range you can try using LAME through ffmpeg: https://hydrogenaud.io/index.php?topic=114335.msg942256#msg942256.

 

Re: Encoding 32bit float WAV (over 0dB) to MP3 in foobar

Reply #2
I see, thanks. Indeed, the ffmpeg command works fine.

I opened a bug report for lame.exe at sourceforge.