[Freeswitch-users] Is there Sampling rate conversion CPU penalty?
Guillermo Ruiz Camauer
grcamauer at gmail.com
Fri Jul 28 22:13:40 UTC 2017
Isn't this what mod_native_file does?
On Fri, Jul 28, 2017 at 6:53 PM, jungle Boogie <jungleboogie0 at gmail.com>
wrote:
> On 28 July 2017 at 13:00, Anthony Minessale <anthony.minessale at gmail.com>
> wrote:
> >
> > Pro tip:
> >
> > If the file path is /var/sounds/example.wav
> >
> > you can create
> >
> > /var/sounds/8000/example.wav
> > /var/sounds/16000/example.wav
> > /var/sounds/32000/example.wav
> > /var/sounds/48000/example.wav
> >
> > And it will auto-select the correct one that matches the sample rate of
> that call.
> >
> >
>
> Yes, a great tip!
>
> Also, you might need to normalize the audio. Michael pointed me in the
> right direction on this earlier in the week and it made a big
> difference on some of my audio files.
>
> This is this script freeswitch uses for MOH and the audio files:
> https://freeswitch.org/stash/projects/FS/repos/freeswitch-
> sounds/browse/dist.pl
>
> Check out these lines:
> https://freeswitch.org/stash/projects/FS/repos/freeswitch-
> sounds/browse/dist.pl#82
> https://freeswitch.org/stash/projects/FS/repos/freeswitch-
> sounds/browse/dist.pl#112
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Guillermo Ruiz Camauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170728/7a35423d/attachment.html>
More information about the FreeSWITCH-users
mailing list