Re: [LAU] Gain and clipping wav -> lame

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Cracauer <cracauer@...>
Cc: <linux-audio-user@...>
Date: Thursday, July 25, 2013 - 9:44 pm

On Thu, Jul 25, 2013 at 04:14:20PM -0400, Martin Cracauer wrote:

> Is there a rule of thumb how many db less I should give music

Depends entirely on what you are trying to do, what sort of
signals/music you have, how the clips are going to be used,
and where you stand in the 'loudness wars'.

'Acoustic' music has a peak/RMS ratio of around 20 dB.
The EBU standard means to aim for an average RMS level of
-23 dB. Most popular music productions try to have a much
higher average level, and hence a lower peak/RMS ratio,
something like 10 dB, or 6 dB for the more agressive ones,
and as low as 3 dB if the target audience is the braindead.

OTOH, if your clips are e.g. unprocessed drum samples, you
could have a peak/RMS ratio that is much higher than 20 dB.
So it depends, use your judgement.

> What would be the value for pink noise starting at 40 Hz?

Impossible to say. Gaussian noise (analog noise is Gaussian)
has in theory an infinite peak/RMS ratio. In practice it will
be limited of course.

To get an idea of this, you could measure the pink noise
provided by e.g. japa with jkmeter (which shows RMS and peak).
The RMS value is -20 dB. If you wait long enough, the peak
memory can take any value, there is no limit.

In practice, if one or few samples per second get clipped
you won't notice.

> Is there a way to hook up ebumeter to just an audio file or a stream

If you have ebumeter installed, try

ebur128 --full --lufs filename.wav

The ebur128 program is included in the source distribution
of ebumeter, I don't know if it's available in binary packages.

Ciao,

--
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Gain and clipping wav -&gt; lame, Martin Cracauer, (Thu Jul 25, 6:21 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Fons Adriaensen, (Thu Jul 25, 7:40 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Martin Cracauer, (Thu Jul 25, 8:14 pm)
Re: [LAU] Gain and clipping wav -> lame, Fons Adriaensen, (Thu Jul 25, 9:44 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Ralf Mardorf, (Fri Jul 26, 4:29 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Will Godfrey, (Thu Jul 25, 9:09 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Marc , (Thu Jul 25, 8:46 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Martin Cracauer, (Fri Jul 26, 10:35 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Marc , (Sun Jul 28, 4:45 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Fons Adriaensen, (Sun Jul 28, 11:27 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Jörn Nettingsmeier, (Sun Jul 28, 12:44 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Ralf Mardorf, (Sun Jul 28, 1:21 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Jörn Nettingsmeier, (Mon Jul 29, 1:29 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Ralf Mardorf, (Mon Jul 29, 6:00 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Marc , (Sun Jul 28, 2:21 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Edgar Aichinger, (Sun Jul 28, 12:00 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Ralf Mardorf, (Sun Jul 28, 12:21 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Ralf Mardorf, (Sun Jul 28, 11:47 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Fons Adriaensen, (Sat Jul 27, 9:18 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Martin Cracauer, (Mon Jul 29, 6:13 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Fons Adriaensen, (Mon Jul 29, 7:56 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Marc , (Sun Jul 28, 11:50 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Fons Adriaensen, (Mon Jul 29, 9:25 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Philipp , (Mon Jul 29, 9:45 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Fons Adriaensen, (Mon Jul 29, 10:13 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Philipp , (Mon Jul 29, 1:27 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Fons Adriaensen, (Mon Jul 29, 2:15 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Philipp , (Mon Jul 29, 4:22 pm)
Re: [LAU] Gain and clipping wav -&gt; lame, Jörn Nettingsmeier, (Mon Jul 29, 1:27 am)
Re: [LAU] Gain and clipping wav -&gt; lame, Philipp , (Sat Jul 27, 7:10 am)