Re: [asterisk-users] Which sound file formats?

2008-05-12 Thread Al Baker
Asterisk will automatically chose the best format  - per ATFOT

Roderick A. Anderson wrote:
 I've got the text files created -- thanks to Russell Bryant -- for 
 re-building the core and extra sounds using another voice but I'm not 
 sure which formats to actually build.

 This will be a small/personal system using Vitelity.net so will only 
 have SIP connections.

 The /var/lib/asterisk/sounds/ directory contains .alaw, .g722, .g729, 
 .gsm, .ulaw, and .wav.

 What are the minimal formats I need or can get by with.  Possibly even 
 an ordered preference list.


 Thanks,
 Rod
   

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Which sound file formats?

2008-05-12 Thread Roderick A. Anderson
Andreas van dem Helge wrote:
 Best is to keep native format files for all codecs you intend to use.
 
 Where are these rebuilt files with another voice? And any chance
 they'll ever be done by Pat Fleet  or Ann, the Cisco voice? FWIW I'm
 in contact with someone who's been in contact with Pat who says she's
 willing to do it but we don't think its worth the effort unless these
 were distributed officially.

I'm doing this for my own system.  I picked Callie-8kHz, from Cepstral, 
and want all the core and extra sounds done in her voice.  I'm not going 
to, nor do I think I can, distribute these.


Rod
--
 
 
 On Mon, May 12, 2008 at 4:57 PM, Roderick A. Anderson [EMAIL PROTECTED] 
 wrote:
 I've got the text files created -- thanks to Russell Bryant -- for
  re-building the core and extra sounds using another voice but I'm not
  sure which formats to actually build.

  This will be a small/personal system using Vitelity.net so will only
  have SIP connections.

  The /var/lib/asterisk/sounds/ directory contains .alaw, .g722, .g729,
  .gsm, .ulaw, and .wav.

  What are the minimal formats I need or can get by with.  Possibly even
  an ordered preference list.


  Thanks,
  Rod
  --


  ___
  -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Which sound file formats?

2008-05-12 Thread Roderick A. Anderson
Al Baker wrote:
 Asterisk will automatically chose the best format  - per ATFOT

I guess I'm not getting my head wrapped around this concept.  I 
understand the choosing but not how I might influence it.  Probably best 
to just build them all and let Asterisk sort it out.  I'll research this 
some more.

Thanks Al.


Rod
-- 
 
 Roderick A. Anderson wrote:
 I've got the text files created -- thanks to Russell Bryant -- for 
 re-building the core and extra sounds using another voice but I'm not 
 sure which formats to actually build.

 This will be a small/personal system using Vitelity.net so will only 
 have SIP connections.

 The /var/lib/asterisk/sounds/ directory contains .alaw, .g722, .g729, 
 .gsm, .ulaw, and .wav.

 What are the minimal formats I need or can get by with.  Possibly even 
 an ordered preference list.


 Thanks,
 Rod
   
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Which sound file formats?

2008-05-12 Thread Roderick A. Anderson
Tilghman Lesher wrote:
 On Monday 12 May 2008 17:27, Roderick A. Anderson wrote:
 Al Baker wrote:
 Asterisk will automatically chose the best format  - per ATFOT
 I guess I'm not getting my head wrapped around this concept.  I
 understand the choosing but not how I might influence it.  Probably best
 to just build them all and let Asterisk sort it out.  I'll research this
 some more.
 
 If you want to produce just one, I'd recommend producing slin or wav, as
 they are essentially the same (slin is just wav without the header).  The
 thing to note about this format is that as it is uncompressed, you will reduce
 the amount of work needed for transcoding (other than if you have native
 files), because transcoding from, for example, gsm to speex requires two
 transcoding operations:  first, uncompress from gsm, and second, compress
 to speex.  By adapting the most common intermediate format, you only need one
 transcoding operation per packet.  Native files require no transcoding at all.
 Transcoding tends to be the most CPU intensive task on a typical Asterisk
 machine.
 

Tilghman,

Once again you come through clear.  But just to make sure I transcode 
this correctly I can remove all the other formats and only have .wav 
and/or .slin files.

Simple and clean.  Plus swift can generate the .wav files optimized for 
VoIP.  I can go sox-less.  :-)


Thanks,
Rod
-- 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Which sound file formats?

2008-05-12 Thread Tilghman Lesher
On Monday 12 May 2008 18:44, Roderick A. Anderson wrote:
 Tilghman Lesher wrote:
  On Monday 12 May 2008 17:27, Roderick A. Anderson wrote:
  Al Baker wrote:
  Asterisk will automatically chose the best format  - per ATFOT
 
  I guess I'm not getting my head wrapped around this concept.  I
  understand the choosing but not how I might influence it.  Probably best
  to just build them all and let Asterisk sort it out.  I'll research this
  some more.
 
  If you want to produce just one, I'd recommend producing slin or wav, as
  they are essentially the same (slin is just wav without the header).  The
  thing to note about this format is that as it is uncompressed, you will
  reduce the amount of work needed for transcoding (other than if you have
  native files), because transcoding from, for example, gsm to speex
  requires two transcoding operations:  first, uncompress from gsm, and
  second, compress to speex.  By adapting the most common intermediate
  format, you only need one transcoding operation per packet.  Native files
  require no transcoding at all. Transcoding tends to be the most CPU
  intensive task on a typical Asterisk machine.

 Tilghman,

 Once again you come through clear.  But just to make sure I transcode
 this correctly I can remove all the other formats and only have .wav
 and/or .slin files.

Correct.  Just make sure that the wav files are 8000Hz, 16 bit signed linear
samples, single channel (mono) only.  Anything else will not give the desired
results.

 Simple and clean.  Plus swift can generate the .wav files optimized for
 VoIP.  I can go sox-less.  :-)

If you have the 8kHz voices, the default swift output will be exactly what
Asterisk requires.  The 16kHz voices will need to be down-sampled, however.

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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