Re: Program to modify RMS levels (Pallier Christophe )


Subject: Re: Program to modify RMS levels
From:    Pallier Christophe  <pallier(at)LSCP.EHESS.FR>
Date:    Sat, 11 Aug 2001 09:32:59 +0200

On Wed, 1 Aug 2001, Mitchell Sommers wrote: > Does anyone know of software that will allow users to modify (specify) RMS levels. Ideally, it would accept .wav files but this is not a necessity. I have several hundred speech files that I'd like to equalize based on RMS levels so batch processing would be essential. Thanks in advance for any suggestions You'll find a program that does just that, at ftp://ftp.lscp.ehess.fr/pub/pallier/progs/rms.tar.gz The package contains 3 programs dealing with the Root Mean Square, which operate on 16 bit signed raw PCM sound files (sox options: -t raw -sw) rms_plr : computes the Root Mean Square of a sound file amplify_plr : multiply samples by a fixed value setrms_plr : multiply samples to set the RMS of a sound file to a given value To set the RMS to "targeRMS" (an integer between 0 and 32767), you type: setrms_plr soundfilename targetRMS Notes: clipping is not checked the file is changed in place, so backup your files before proceeding. setrms_plr is a unix shell script the C source code of rms_plr and amplify_plr are included Christophe Pallier www.pallier.org


This message came from the mail archive
http://www.auditory.org/postings/2001/
maintained by:
DAn Ellis <dpwe@ee.columbia.edu>
Electrical Engineering Dept., Columbia University