[asterisk-users] MoH WAY too loud

Doug Lytle support at drdos.info
Mon May 21 12:38:33 MST 2007


Jay Moore wrote:
> Hi folks!
>
> I did notice that sox has a -v flag for adjusting volume, but danged 
> if I can find documentation online that'll tell me what parameter to 
> pass.


Doing a 'man sox' does wonders:

-v volume Change  amplitude  (floating point); less than 1.0 decreases,
                 greater than 1.0 increases.  May use  a  negative  
number  to
                 invert  the  phase  of  the audio data.  It is 
interesting to
                 note that we perceive volume logarithmically but this 
adjusts
                 the amplitude linearly.


So,  this is how I increase the volume on my paging

sox paging.gsm -v 4 /var/lib/asterisk/sounds/outx2.gsm

Doug




More information about the asterisk-users mailing list