Re: Creating files with RMS gain level instead of Peak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Trammell <james.trammell@xxxxxxxxx> writes:

> I want SoX, ideally natively via some appropriate command-line switch, to
> output a white noise file with a specific RMS amplitude.

You can get this by using the standard "gain" effect and offsetting the
amount by 4.78 dB.  If you want to abuse the existing options a bit, you
could produce a stereo white noise file with a given RMS level like
this:

$ sox -n out.wav synth 10 square whitenoise whitenoise gain -12 gain -B remix 2 3

Not the most efficient or intuitive, I know.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux