Here is a bash script that will increase volume of all wav files in a directory:
-----------------------
#!/bin/bash
for i in *.wav; do
val=${i%.wav}
echo converting $val.wav
sox $i -v 2 $I $val.wav
done
-----------------------
#!/bin/bash
for i in *.wav; do
val=${i%.wav}
echo converting $val.wav
sox $i -v 2 $I $val.wav
done
------------------------
-v 2 will increase the volume 2 times.
Here is a patch that someone else wrote, I haven't tested it or used it.
Enjoy,
bp
Technical Support wrote:
> I frequently find voice messages are emailed to users with insufficient
> volume - barely audible. I would like to have asterisk run a sox command to
> adjust the volume of each message before emailing (perhaps once the message
> has been left).
>
> Has anyone done this? Care to share the steps?
>
> Thanks,
> MD
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users