Re: [Asterisk-Users] Sound file quality

2004-08-10 Thread Christoph Rothe
On Mon, 9 Aug 2004, hank wrote:

 can you use .wav files or does it have to be gsm?

I thought about that possibility too. Unfortunately I was not 
successful when putting .wav Files instead of gsm Files in 
/var/lib/asterisk/sound

Which Formats will * accept and what extensions may be used ? Is there 
a page in the wiki about that ?

Thanks for your help!

Christoph
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sound file quality

2004-08-10 Thread James Cloos
 Christoph == Christoph Rothe [EMAIL PROTECTED] writes:

Christoph Which Formats will * accept and what extensions may
Christoph be used? Is there a page in the wiki about that ?

Look in the formats dir in the asterisk src.  Each of those formats
can be used.

They are well documented in terms of what file types and filenames
they require.

-JimC
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Sound file quality

2004-08-09 Thread David Gurr
I'm building a phone-in demo system to use for introducing Asterisk to
prospective clients.

One of the things I'm wary of is their likely preconceptions that VoIP
systems will have poor audio quality.

As a result, I'd like to ensure that the voice prompts I'm using have the
best possible audio quality.

Is it possible to use sound files at higher than 8kHz sampling? My callers
will be coming in over PSTN to a VoIP gateway and then to me by uLaw/aLaw
... would higher sampling rates gain me anything in this configuration?

--
David Gurr
Congruity Ltd.
Hemel Hempstead, UK

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sound file quality

2004-08-09 Thread hank
can you use .wav files or does it have to be gsm?
- Original Message - 
From: Steven Critchfield [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 09, 2004 4:23 AM
Subject: Re: [Asterisk-Users] Sound file quality


On Mon, 2004-08-09 at 06:07, David Gurr wrote:
I'm building a phone-in demo system to use for introducing Asterisk to
prospective clients.
One of the things I'm wary of is their likely preconceptions that VoIP
systems will have poor audio quality.
As a result, I'd like to ensure that the voice prompts I'm using have the
best possible audio quality.
Is it possible to use sound files at higher than 8kHz sampling? My 
callers
will be coming in over PSTN to a VoIP gateway and then to me by uLaw/aLaw
... would higher sampling rates gain me anything in this configuration?
PSTN is 8khz sample rate. So obviously a higher sample rate will not get
you any where.
--
Steven Critchfield [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users 

My Inbox is protected by SPAMfighter
290 spam mails have been blocked so far.
Download free www.spamfighter.com today!
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sound file quality

2004-08-09 Thread Rick L. Wilson, Sr.


hank wrote on 8/9/04, 12:10 PM:

  can you use .wav files or does it have to be gsm?

See the wiki

http://www.voip-info.org/tiki-index.php?page=Convert%20WAV%20audio%20files%20for%20use%20in%20Asterisk



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sound file quality

2004-08-09 Thread James Cloos
 David == David Gurr [EMAIL PROTECTED] writes:

David As a result, I'd like to ensure that the voice prompts I'm
David using have the best possible audio quality.

David My callers will be coming in over PSTN to a VoIP gateway and
David then to me by uLaw/aLaw ...

The optimal quality in the case where pstn is involved would be from:

Using pro-quality (which these days does not necessarily mean
pro $$$) recording equipment

Recording in DAT quality (16 bit 48 kHz) 

the recording equipment is more likely to support that
than 16 kHz or 32 kHz

32bit float rather than 16 bit int is ok, too

Edit the files at this point for lead time, trail time,
equal volume, et al.

Use a high quality resampling algorithm (in sox use polyphase)
to resample to signed-16bit 8 kHz.

Optionally use a band-pass filter here to drop stuff
outside of the PSTN frequenc range.  

If you only do one of alaw/ulaw, you might as well convert
the files to that, else leave them as signed-16bit

You can still get things like phase distortion if the path has jitter
and the receiver does not jitter-buffer.  You will also need to do
some experimenting to determine the optimal amplitude to avoid both
clipping and too-little use of the available u/a-law bandwidth.

-JimC
-- 
James H. Cloos, Jr. [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users