Re: [ecasound] Using value of -ev for -ea

From: <allfifthstuning@email-addr-hidden>
Date: Sun Apr 05 2020 - 10:09:08 EEST

On Sun, Apr 05, 2020 at 06:21:34AM +1000, allfifthstuning@email-addr-hidden wrote:
> Dear all,
>
> I'm trying to normalize an audio file.
>
> using the effect preset '-ev' gives me the maximum gain which can be applied before clipping.
>
> But the manual states that this value can be used to amplify the signal using the '-ea ' preset.
>
> I want to make a script which passes the value from the '-ev' output into '-ea', so:
>
> ecasound -i Test.wav -ev -o:null
>
> ...some code from the script...
>
> ecasound -i Test.wav -ea:<percentage_based_on_ev> -o Test2.wav
>
> I can get any value that is listed in the output of '-ev' using grep and then pipe it into a variable.
>
> I get the impression that I have to make a calculation from gain (in dB I presume) to a percentage, before I can pass the value into '-ea'.
>
> Is this correct or can I somehow pipe the output of '-ev' directly into '-ea'?
>
> Kind regards,
>
> Hans

Hi Hans,

ecanormalize file.wav

should do it for you. ecanormalize is a utility
that comes with ecatools.

https://eca.cx/ecasound-list/2001/10/0211.html

Joel Roth

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Apr 6 04:15:02 2020

This archive was generated by hypermail 2.1.8 : Mon Apr 06 2020 - 04:15:02 EEST