[Freeswitch-users] Silence instead of spanish wav installed

Michael Collins msc at freeswitch.org
Thu May 3 01:55:51 MSD 2012


Well, since you paid these guys to give you the sounds, how about you pay
me for the answer! :P

If you do a "soxi" on the sounds you'll see something like this:
racserv01:/usr/local/freeswitch/sounds# soxi conf-alone.wav

Input File     : 'conf-alone.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 24-bit
Duration       : 00:00:03.88 = 31009 samples ~ 290.709 CDDA sectors
File Size      : 124k
Bit Rate       : 256k
*Sample Encoding: 32-bit Floating Point PCM*

The sample encoding is 32-bit FP. If you resample the file with sox it will
work. (I just tested it.):

sox conf-alone.wav -r 8000 -e signed-integer -b 16 conf-alone-working.wav

If you "soxi" it you should see something like this:

racserv01:/usr/local/freeswitch/sounds# soxi conf-alone-working.wav

Input File     : 'conf-alone-working.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 16-bit
Duration       : 00:00:03.88 = 31009 samples ~ 290.709 CDDA sectors
File Size      : 62.1k
Bit Rate       : 128k
*Sample Encoding: 16-bit Signed Integer PCM*

Give it a try. If it works ask them if they supply the files in 16 bit
signed integer format instead of 32 bit floating point. If not then you can
just sox-ify them all with a shell script. Ping me offline if you run into
any other trouble.

-MC


On Wed, May 2, 2012 at 2:41 PM, Alejandro Mejía <webudo at gua.net> wrote:

>  I know. I'm also not a fan of propietary, but I had to place spanish
> recordings for one of my customers urgently, and I thought that buying
> those would save me some trouble finding missing wav files from open
> packages.
> Maybe you can recommend me an open package for mexican or latin american
> spanish that I can use instead of this one, ask for a refund with this
> guys, and make a donation to the FS project instead ;)
>
>
> On 02/05/2012 03:30 p.m., Michael Collins wrote:
>
> Boo! Hiss! :P
>
> I'm not a fan of proprietary. Oh well. Tell you what - maybe since you
> paid them some $$ (or pesos or whatever) maybe they can provide you some
> support. :) Alternatively, you could contact them and let them know that
> the FS devs would like to troubleshoot an issue with the files and would
> like permission to receive a copy of the files *gratis*.
>
> Let me know what they say.
> -MC
>
> On Wed, May 2, 2012 at 2:26 PM, Alejandro Mejía <webudo at gua.net> wrote:
>
>>  It's a commercial pack of voices bought from westany.com
>> That's why I didn't include the file here, or a link to it, because I
>> have not read their terms of usage and I don't want to get in trouble.
>> You may get some samples here:
>> http://www.westany.com/mexican_spanish_freeswitch_voice_prompts
>>
>>
>> On 02/05/2012 03:19 p.m., Michael Collins wrote:
>>
>> Where did you download these files? I would like to download them myself
>> and do some testing.
>> -MC
>>
>> On Wed, May 2, 2012 at 2:09 PM, Alejandro Mejía <webudo at gua.net> wrote:
>>
>>>  Update finished, but the problem persists.
>>> Perhaps it helps you to have the audio file being used? (let me know and
>>> I can send it)
>>>
>>> On 02/05/2012 01:59 p.m., Alejandro Mejía wrote:
>>>
>>> Log's output here: http://pastebin.freeswitch.org/pastebin.php?dl=18970
>>>
>>> Audio remains silent during .wav file's length when reaching the line:
>>> 2012-05-02 13:13:22.728301 [INFO] switch_rtp.c:3164 Auto Changing port
>>> from 172.16.1.97:5016 to 190.149.242.46:15046
>>>
>>> Then it plays MOH normally.
>>>
>>> I'm using fusionpbx's canned version of FS, and I'm updating now to see
>>> if there was a bug that's been fixed.
>>> I'll let you know after the process completes.
>>>
>>> Thanks!
>>>
>>> Alex
>>>
>>> On 02/05/2012 09:36 a.m., Michael Collins wrote:
>>>
>>> Okay, next step is log output. Get a console debug log and drop it onto
>>> pastebin. Lots of useful information available here:
>>>
>>> http://wiki.freeswitch.org/wiki/Reporting_Bugs
>>>
>>> -MC
>>>
>>> On Tue, May 1, 2012 at 7:59 PM, Alejandro Mejía <webudo at gua.net> wrote:
>>>
>>>>  Thanks for your reply Michael.
>>>>
>>>> Yes, I can play the files manually on any player on my computer.
>>>> I'm a freeswitch newbie, so I don't know how to change conference
>>>> sampling rate, so I guess it's on default 8khz, same as the sound files.
>>>>
>>>> On 01/05/2012 11:54 a.m., Michael Collins wrote:
>>>>
>>>> Can you manually play any of the sound files? Also, what sampling rate
>>>> is the conference and what sampling rate are the files?
>>>> -MC
>>>>
>>>> On Mon, Apr 30, 2012 at 6:12 PM, Alejandro Mejía <webudo at gua.net>wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I installed a spanish sounds package to my Freeswitch under
>>>>> /usr/local/freeswitch/sounds/es/mx/ directory
>>>>> I'm trying it by entering an empty conference, and I only hear some
>>>>> seconds of silence (where conf-alone.wav should be played), and then
>>>>> the
>>>>> music on hold.
>>>>> I know the files are not missing, and Freeswitch is finding them
>>>>> because
>>>>> when I remove "/es" directory, I get error on CLI when executing a
>>>>> conference, and getting directly to MOH.
>>>>>
>>>>> Any help will be appreciated.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Alex
>>>>>
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>
>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.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
>>>
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120502/0206f14d/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list