sndrms


NAME

sndrms − Reports the Root Mean Square (RMS) level of a soundfile.

SYNOPSIS

sndrms snd1.wav snd2.wav ...

DESCRIPTION

sndrms concatenates a sequence of soundfiles. The soundfiles must have the same number of channels, the same sampling rate, and must all be 16-bit PCM samples.

USAGE

sndrms -o sequence.wav snd1.wav snd2.aiff snd3.wav ...

Reads in snd1.wav snd2.aiff snd3.wav and places the output in sequence.wav

OPTIONS

−o output.wav

Place the resulting sequence in the soundfile output.wav

−e n

"Elide" the soundfiles together, where n is given in samples. This will cause the end of the 1st soundfile to be ramped down to 0 over n samples, the beginning of the 2nd soundfile ramped up from 0 over n samples. The last n samples of the 1st soundfile and the first n samples of the 2nd soundfile will be mixed together. This process will be done for all the soundfiles in the sequence, i.e., all will be "elided" together.

−g n

Place a gap of n seconds between each soundfile.

−s

Suppress the normal output messages. Useful for running from a scripting language, such as Python, etc.

BUGS

This program will only work with WAVE, AIFF, AIFC, and the old NeXT/Sun "snd" format soundfiles, that are 16-bit PCM encoded, with 1 or 2 channels.

AUTHOR

Arun Chandra <arunc@evergreen.edu>

sndrms is free software.