[asterisk-users] Better audio in than just 8k

John Kiniston johnkiniston at gmail.com
Thu Jul 11 13:33:23 CDT 2019


Jerry, What if you specify a higher bitrate to mpg123?

You are limiting it to 8k with the 'r' option.

I convert my source audio files with sox to 16khz signed linear for
wideband hold music.

sox -c1 hold.wav -r 16000 -c 1 -e signed-integer -r 16k hold.raw

Then I rename the .raw file to a .sln16 and place it in the moh directory.

On Thu, Jul 11, 2019 at 11:21 AM Jerry Geis <jerry.geis at gmail.com> wrote:

> >>Maybe streaming will be helpful,
>
> >>
> https://www.agix.com.au/streaming-internet-music-for-asterisk-10-on-hold-music/
>
> >>Doug
>
> I had played with that also - but it still down converts to 8k:
> application=/usr/local/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0 -@
> http://media.on.net/radio/155.m3u
>
> I was looking for a way to get something like an opus codec quality - not
> just 8k.
>
> Jerry
>
>> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190711/7a27ac24/attachment.html>


More information about the asterisk-users mailing list