stat and dither not playing together?

View: New views
2 Messages — Rating Filter:   Alert me  

stat and dither not playing together?

by Sanjeev Sharma-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to get an idea for max vol adjustment

Is this an argument order issue or some such?


____________________________________
sox -V -t mp3 input -n rate -v -M 22050  stat

sox: SoX v14.3.0

Input File     : '16 discussion.MP3'
Channels       : 2
Sample Rate    : 48000
Precision      : 16-bit
Duration       : 00:12:56.14 = 37254528 samples ~ 58210.2 CDDA sectors
File Size      : 6.30M
Bit Rate       : 64.9k
Sample Encoding: MPEG audio (layer I, II or III)


Output File    : '' (null)
Channels       : 2
Sample Rate    : 22050
Precision      : 16-bit
Duration       : 00:12:56.14 = 17113799 samples ~ 58210.2 CDDA sectors

sox INFO sox: effects chain: input      48000Hz 2 channels
sox INFO sox: effects chain: rate       22050Hz 2 channels
sox INFO sox: effects chain: stat       22050Hz 2 channels
sox INFO sox: effects chain: dither     22050Hz 2 channels
sox INFO sox: effects chain: output     22050Hz 2 channels
sox WARN rate: rate clipped 334 samples; decrease volume?
Samples read:          33497302
Length (seconds):    759.576009
Scaled by:         2147483647.0
Maximum amplitude:     1.000000
Minimum amplitude:    -1.000000
Midline amplitude:    -0.000000
Mean    norm:          0.025586
Mean    amplitude:    -0.000010
RMS     amplitude:     0.044348
Maximum delta:         1.649013
Minimum delta:         0.000000
Mean    delta:         0.011609
RMS     delta:         0.023772
Rough   frequency:         1881
Volume adjustment:        1.000
sox WARN dither: dither clipped 296 samples; decrease volume?

______________________________________________
sox -V -t mp3 $i -n rate -v -M 22050 dither  stat

sox: SoX v14.3.0

Input File     : '16 discussion.MP3'
Channels       : 2
Sample Rate    : 48000
Precision      : 16-bit
Duration       : 00:12:56.14 = 37254528 samples ~ 58210.2 CDDA sectors
File Size      : 6.30M
Bit Rate       : 64.9k
Sample Encoding: MPEG audio (layer I, II or III)


Output File    : '' (null)
Channels       : 2
Sample Rate    : 22050
Precision      : 16-bit
Duration       : 00:12:56.14 = 17113799 samples ~ 58210.2 CDDA sectors

sox INFO sox: effects chain: input      48000Hz 2 channels
sox INFO sox: effects chain: rate       22050Hz 2 channels
sox INFO sox: effects chain: dither     22050Hz 2 channels
sox INFO sox: effects chain: stat       22050Hz 2 channels
sox INFO sox: effects chain: output     22050Hz 2 channels
sox WARN rate: rate clipped 334 samples; decrease volume?
sox WARN dither: dither clipped 292 samples; decrease volume?
Samples read:          33497302
Length (seconds):    759.576009
Scaled by:         2147483647.0
Maximum amplitude:     0.999969
Minimum amplitude:    -1.000000
Midline amplitude:    -0.000015
Mean    norm:          0.025586
Mean    amplitude:    -0.000010
RMS     amplitude:     0.044348
Maximum delta:         1.648987
Minimum delta:         0.000000
Mean    delta:         0.011609
RMS     delta:         0.023772
Rough   frequency:         1881
Volume adjustment:        1.000




--
Regards,
Sanjeev (Sam) Sharma

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sox-users mailing list
Sox-users@...
https://lists.sourceforge.net/lists/listinfo/sox-users

Re: stat and dither not playing together?

by robs-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Manual volume adjustment should no longer be needed; e.g. try something like this:

sox --norm input output.mp3 rate -v -M 22050

Cheers,
Rob

--- On Fri, 9/10/09, Sanjeev Sharma <throwit1@...> wrote:
> I'm trying to get an idea for max vol
> adjustment
>
> Is this an argument order issue or some such?
>
>
> ____________________________________
> sox -V -t mp3 input -n rate -v -M 22050  stat



     

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sox-users mailing list
Sox-users@...
https://lists.sourceforge.net/lists/listinfo/sox-users