Re: Using value of -ev for -ea
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <9c47f011-a01d-4912-8790-de1da8df67cc@localhost> |
--===============5369708779529680948== Content-Type: multipart/alternative; boundary=c4e01bade5355500a92c6a639f862ed84dc6afb28032797eaf8375e93d93 --c4e01bade5355500a92c6a639f862ed84dc6afb28032797eaf8375e93d93 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun, Apr 05, 2020 at 06:21:34AM +1000, [email protected] wrote= : > Dear all, >=20 > I'm trying to normalize an audio file. >=20 > using the effect preset '-ev' gives me the maximum gain which can be appl= ied before clipping. >=20 > But the manual states that this value can be used to amplify the signal u= sing the '-ea ' preset. >=20 > I want to make a script which passes the value from the '-ev' output into= '-ea', so: >=20 > ecasound -i Test.wav -ev -o:null >=20 > ...some code from the script... >=20 > ecasound -i Test.wav -ea:<percentage_based_on_ev> -o Test2.wav >=20 > I can get any value that is listed in the output of '-ev' using grep and = then pipe it into a variable. >=20 > 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'. >=20 > Is this correct or can I somehow pipe the output of '-ev' directly into '= -ea'? >=20 > Kind regards, >=20 > Hans Hi Hans, ecanormalize file.wav=20 should do it for you. ecanormalize is a utility that comes with ecatools. =20 https://eca.cx/ecasound-list/2001/10/0211.html Joel Roth --c4e01bade5355500a92c6a639f862ed84dc6afb28032797eaf8375e93d93 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <div>Thanks Joel,<br></div><div><br></div><div>Will look into it.<br></div>= <div><br></div><div>Hans<br></div><div data-atmail-signature=3D"" class=3D"= gmail_signature" data-smartmail=3D"gmail_signature" style=3D""><br></div><d= iv><br></div><div><br></div><blockquote><p><div>Op Sun Apr 05 2020 03:41:43= GMT+0200 (Midden-Europese zomertijd) schreef Joel Roth <[email protected]= >:<br></div><div>---------- Oorspronkelijk bericht ----------<br></div><= /p><pre>On Sun, Apr 05, 2020 at 06:21:34AM +1000, allfifthstuning@kliksafe.= nl wrote: > Dear all, >=20 > I'm trying to normalize an audio file. >=20 > using the effect preset '-ev' gives me the maximum gain which can be a= pplied before clipping. >=20 > But the manual states that this value can be used to amplify the signa= l using the '-ea ' preset. >=20 > I want to make a script which passes the value from the '-ev' output i= nto '-ea', so: >=20 > ecasound -i Test.wav -ev -o:null >=20 > ...some code from the script... >=20 > ecasound -i Test.wav -ea:<percentage_based_on_ev> -o Test2.wav >=20 > I can get any value that is listed in the output of '-ev' using grep a= nd then pipe it into a variable. >=20 > I get the impression that I have to make a calculation from gain (in d= B I presume) to a percentage, before I can pass the value into '-ea'. >=20 > Is this correct or can I somehow pipe the output of '-ev' directly int= o '-ea'? >=20 > Kind regards, >=20 > Hans Hi Hans, ecanormalize file.wav=20 should do it for you. ecanormalize is a utility that comes with ecatools. =20 https://eca.cx/ecasound-list/2001/10/0211.html Joel Roth <br></pre></blockquote><div><br></div> --c4e01bade5355500a92c6a639f862ed84dc6afb28032797eaf8375e93d93-- --===============5369708779529680948== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5369708779529680948== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ecasound-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ecasound-list --===============5369708779529680948==--