[Asterisk-Dev] Voicemail to email volume change patch
Steven Critchfield
critch at basesys.com
Fri Jan 13 10:28:31 MST 2006
On Fri, 2006-01-13 at 11:15 -0600, Aaron Daniel wrote:
> My boss and I have been working on a patch to the voicemail code, and
> I'd like to see what everyone thinks of it. I'd like suggestions and
> stuff on anything that needs to be changed, as this is the first time
> we've patched the code, and would like to submit it for use later on in
> the code.
>
> It basically sends the voicemail attachment through sox to increase (or
> decrease) the volume of the message as need be, and then sends the
> normalized file to the user.
You aren't normalizing the audio, you are just adjusting the volume. If
you are going to go to the work of using an external app, why not use
normalize so it truly is normalized and doesn't introduce problems when
audio comes from different sources and therefore needs different audio
adjustments.
Now the trouble with normalize is that it doesn't support very many
formats. I think it supports PCM wav and mp3 only. At least sox does
have better format support.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-dev
mailing list