[ecasound] Using value of -ev for -ea

From: <allfifthstuning@email-addr-hidden>
Date: Sat Apr 04 2020 - 23:21:34 EEST

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

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

This archive was generated by hypermail 2.1.8 : Sun Apr 05 2020 - 04:15:02 EEST