Re: [Asterisk-Users] Low Volume WAV Files in Email Attachments

2004-11-28 Thread Gregory Junker
Third, those complaining of low volume in emailed files are usually
using a compressed format. In the uncompressed wav format, the volume is
effectively doubled by shifting the audio data to the left one bit. This
is done at the format level. Of course on playback via asterisk, it
checks to see if it needs to shift the audio down and does so. So
playback between asterisk recorded wav files should all sound the same
on asterisk but isn't the same when played via a normal audio app.
The complaints come mainly regarding the emailed attachements, which are 
WAV49 (MS-GSM) files, which (as far as I can tell) are just justified 
right and packed into 65 bytes per the IETF I-D.

These files are not played back within Asterisk, and honestly, most of 
what you said above here is rubbish. I just spent more time than I ever 
cared to spend (including studying the actual GSM codec spec from the 
ETSI), learning more than I ever cared to learn about GSM (which, btw, 
if you are concerned about patents, is just as subject to them if you 
believe Philips' claims), and the difference between uncompressed WAV 
files (which also suffer from attenuated signal levels) and the GSM 
and/or MS-GSM files is far far more than just shifting the audio data 
to the left one bit.

There is an issue surrounding the recording of data through Asterisk. 
That is inarguable. The problem is that no one seems to agree on where 
to begin looking, so no one has, really. I don't know the origin of the 
GSM files that make up the Comedian VM system prompts, but they do not 
suffer from this problem. However, GSM files generated by the VM system, 
at the least, have a signal attenuation problem to the point that the 
emailed attachments are unusable, and by most accounts, the phoned-in VM 
retrieval is barely useful to boot.

Not only am I willing to try to track this down, I am furiously taken 
with the task, because it's a real issue that needs to be addressed, and 
I do understand that the actual devs have more important things to fix 
first. That's one of the nice things about open-source, eh? ;)
___
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] Low Volume WAV Files in Email Attachments

2004-11-28 Thread Jason Becker
Steven Critchfield wrote:
Second, read the rants on licensing. Unless you find a BSD licensed mp3
encoding library and convince Mark of it's need, it is unlikely to make
it to the core code base. 
When snackAmp blew up on GSM-encoded wav files I did some cursory 
research and found FLAC:

http://flac.sourceforge.net/
The license for the libraries is a BSD-variant.
I'm not an expert on audio formats so no flames please.
Regards,
--
Jason Becker
Director  CEO
Coalescent Systems Inc.
403.244.8089
www.coalescentsystems.ca
___
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] Low Volume WAV Files in Email Attachments

2004-11-27 Thread Philippe Daoust
I have read several posts regarding this problem but can't find one with 
a solution...

I see the same issue:
Voicemails picked up by handset have normal volume, but voicemail sent 
as a wav attachments in email are so low they are barely usable...

Is there a way to fix the volume before they are emailed out?
Thanks for any tips.
___
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] Low Volume WAV Files in Email Attachments

2004-11-27 Thread Steve Prior
Philippe Daoust wrote:
I have read several posts regarding this problem but can't find one with 
a solution...

I see the same issue:
Voicemails picked up by handset have normal volume, but voicemail sent 
as a wav attachments in email are so low they are barely usable...

Is there a way to fix the volume before they are emailed out?
Thanks for any tips.
Sign up and join the fun in bug #2023...
http://bugs.digium.com/bug_view_page.php?bug_id=0002023
I'd also recommend emailing support at digium - not because
you'll get anywhere, but to keep them aware that people are
interested in getting this fixed.  I've got the same problem and
emailed support last week and got very little to encourage me
that it's any kind of priority.
What are you using for telephone hardware?  Your situation is
a little different in that you say the voicemails play back at
decent volume over the phone - are you testing with voicemails
left through a POTS line connection in all cases?
I'm pretty new myself, but I've got C skills and am planning to
get back to looking over the code myself soon.
Steve
___
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] Low Volume WAV Files in Email Attachments

2004-11-27 Thread Gregory Junker
I'm taking a look at the functions involved to see what the issue is, if 
anyone cares.

One question thowith all of the sound libraries on the planet, ones 
that write to far mroe open formats, such as MP3, which are just as 
acceptable as email attachments, and _have_ to be easier to deal with...

But I digressI'll dive in and snoop around format_wav_gsm anyway.
Greg
Steve Prior wrote:
Philippe Daoust wrote:
I have read several posts regarding this problem but can't find one 
with a solution...

I see the same issue:
Voicemails picked up by handset have normal volume, but voicemail sent 
as a wav attachments in email are so low they are barely usable...

Is there a way to fix the volume before they are emailed out?
Thanks for any tips.

Sign up and join the fun in bug #2023...
http://bugs.digium.com/bug_view_page.php?bug_id=0002023
I'd also recommend emailing support at digium - not because
you'll get anywhere, but to keep them aware that people are
interested in getting this fixed.  I've got the same problem and
emailed support last week and got very little to encourage me
that it's any kind of priority.
What are you using for telephone hardware?  Your situation is
a little different in that you say the voicemails play back at
decent volume over the phone - are you testing with voicemails
left through a POTS line connection in all cases?
I'm pretty new myself, but I've got C skills and am planning to
get back to looking over the code myself soon.
Steve
___
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 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] Low Volume WAV Files in Email Attachments

2004-11-27 Thread Steven Critchfield
On Sat, 2004-11-27 at 18:21 -0500, Gregory Junker wrote:
 I'm taking a look at the functions involved to see what the issue is, if 
 anyone cares.
 
 One question thowith all of the sound libraries on the planet, ones 
 that write to far mroe open formats, such as MP3, which are just as 
 acceptable as email attachments, and _have_ to be easier to deal with...

First, mp3 is patent encumbered. Also it seems most patent enforcement
is aimed at the encoders and not the decoders. Much like the way WMP and
Real work, those producing content can afford to pay for the work.

Second, read the rants on licensing. Unless you find a BSD licensed mp3
encoding library and convince Mark of it's need, it is unlikely to make
it to the core code base. 

Third, those complaining of low volume in emailed files are usually
using a compressed format. In the uncompressed wav format, the volume is
effectively doubled by shifting the audio data to the left one bit. This
is done at the format level. Of course on playback via asterisk, it
checks to see if it needs to shift the audio down and does so. So
playback between asterisk recorded wav files should all sound the same
on asterisk but isn't the same when played via a normal audio app.

I wouldn't mind seeing someone place a audio adjustment in the voicemail
app and make it adjustable. Then remove what I suspect is a crude hack
in format_wav.c

 But I digressI'll dive in and snoop around format_wav_gsm anyway.

-- 
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


Re: [Asterisk-Users] Low Volume WAV Files in Email Attachments

2004-11-27 Thread Philippe Daoust
[SNIP]
What are you using for telephone hardware?  Your situation is
a little different in that you say the voicemails play back at
decent volume over the phone - are you testing with voicemails
left through a POTS line connection in all cases?
I tried it with a Cisco 7960, SPA-2000 and Panasonic cordless connected 
to a Digium 4 port FXS board and get good volumes.  Most of the times 
the VM's are left from people calling my POTS line via a Digium FXO board.

Thanks for the reply.  Glad to see some folks are looking into this.  I 
am available to test if that helps...  unfortunately my C coding skills 
are extremely rusty...

-Regards,
___
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