On Wed, 23 Sep 2015, Jerry Geis wrote:

If I use the rasterisk convert file method - that works and has PCM not GSM but I need to use sox.

Never been a fan of using a sledge hammer when a tack hammer will do.

How does one correctly convert gsm to wav for play in the browser?

I use:

        sox\
                input.xxx\
                --bits=16\
                --channels=1\
                --encoding=signed-integer\
                --rate=8000\
                output.wav

Followed by a trip through:

        normalize\
                --amplitude=-22dB\
                output.wav

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to