sfamplify


NAME

sfamplify − amplify or attenuate a soundfile.

SYNOPSIS

sfamplify [-d dB][-n][-w][-s][-o output] inputSoundfile

DESCRIPTION

sfamplify amplifies or attenuates a soundfile, or reports the range of its minimum and maximum amplitudes.

USAGE

sfamplify -d 80 -o out.aiff inputSound.wav

reads in inputSound.wav and either amplifies or attenuates the sound so that the final level is 80 dB, and places the output in out.aiff

OPTIONS

−d n

Set output amplitude to n decibels. Maximum value is exactly 20 * log10(2**16), which is about 96 dB. Minimum value is 0.

−n

"Normalize" the soundfile; amplify all values to maximum.

−w

"Wyatt" normalization. Sets maximum amp to -12 dB. (Named after Scott Wyatt, director of the Experimental Music Studios at the University of Illinois.

−s

Scan soundfile, and report values.

−o output.wav

Place the output in output.wav .

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>

sfamplify is free software.