Re: [ecasound] ecasound-2.5.2 wrongly displayes clipping info ?

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Tue Apr 14 2009 - 14:56:20 EEST

On Tue, 14 Apr 2009, Kai Vehmanen wrote:

> To get the same effect, I'll add more 'volume buckets' to "-ev" to get the
> same effect. So you'll have a counter for samples in (0dB,3dB],
> (-0.1dB,0dB] and (-3dB,0dB] ranges.

Here's how the output looks now with current git version. Comments are
welcome (about the chosen ranges and output formatting):

--cut--
-- Amplitude statistics --
Pos/neg, count,(%), ch1...n
Pos 3dB: _______0 _______0
Pos 0dB: _______0 _______0
Pos -0.1dB: _______0 _______0
Pos -3dB: __160986 __160986
Pos -6dB: ___58205 ___58205
Pos -10dB: ___44867 ___44867
Pos -20dB: ___48438 ___48438
Pos -30dB: ___14710 ___14710
Pos -60dB: ____6724 ____6724
Pos -infdB: _____480 _____480
Neg -infdB: _______0 _______0
Neg -60dB: ____6668 ____6668
Neg -30dB: ___15155 ___15155
Neg -20dB: ___48494 ___48494
Neg -10dB: ___44421 ___44421
Neg -6dB: ___58038 ___58038
Neg -3dB: __161230 __161230
Neg -0.1dB: _______0 _______0
Neg 0dB: _______0 _______0
Neg 3dB: _______0 _______0
Total.....: __668416 __668416
(audiofx) Peak amplitude: pos=0.97404 neg=0.97404.
(audiofx) Max gain without clipping: 1.02665.
(audiofx) -- End of statistics --
--cut--

... and as before, one can fetch the "max gain" result with "copp-get"
(this is preferrable if the value is used in scripts).

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Tue Apr 14 16:15:02 2009

This archive was generated by hypermail 2.1.8 : Tue Apr 14 2009 - 16:15:02 EEST