[Asterisk-Users] Playback Volume for Record Application

2004-03-22 Thread Hadar Pedhazur
The Asterisk Demo prompts come through loud and clear on any phone 
that I use to call in on. When someone leaves me voicemail, it also 
comes through loud and clear.

When I use the Record application and then use the recorded file in 
a Playback or Background application, it is very soft (clear, but 
the volume is cranked way down). This is true for all format types 
(I've tried wav, WAV and gsm). Also, from a number of different input 
devices (headset using an DIAX, real phone connected on the lan to *, 
etc.).

Just curious whether there is anything I can do to improve the volume, 
other than recording the prompts in another application and dropping 
in the resulting files (it's obviously ultra-convenient to be able to 
change prompts just by dialing the correct extension) :-).

___
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] Playback Volume for Record Application

2004-03-22 Thread Steven Critchfield
On Mon, 2004-03-22 at 09:11, Hadar Pedhazur wrote:
 The Asterisk Demo prompts come through loud and clear on any phone 
 that I use to call in on. When someone leaves me voicemail, it also 
 comes through loud and clear.
 
 When I use the Record application and then use the recorded file in 
 a Playback or Background application, it is very soft (clear, but 
 the volume is cranked way down). This is true for all format types 
 (I've tried wav, WAV and gsm). Also, from a number of different input 
 devices (headset using an DIAX, real phone connected on the lan to *, 
 etc.).
 
 Just curious whether there is anything I can do to improve the volume, 
 other than recording the prompts in another application and dropping 
 in the resulting files (it's obviously ultra-convenient to be able to 
 change prompts just by dialing the correct extension) :-).

I've not experienced the low volume when using record, but I have when
using the record command in AGI. Upon looking around to see what it was
that caused voicemail to be of such a passable volume, but not our AGI
apps, I noticed that there is a section in format_wav.c that will bit
shift the audio data up to increase volume. When I changed our
application from recording in GSM to recording in WAV, it fixed some of
our volume problems.

Not necessarily a solution to your problem but a few data points to help
sort the problem out.
-- 
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] Playback Volume for Record Application

2004-03-22 Thread Hadar Pedhazur
Thanks Steve. Right after I sent my note, it occurred to me that I 
could create a dummy voicemail account, and point my current Record 
extension to that, and use Voicemail to record the higher volume 
version.

I just did one quick test, unscientific at best, and I think the above 
works reasonably well. Instead of leaving a message, I actually 
created a dummy vm user, and used VoicemailMain to record a busy.wav 
file, which I then moved to a normal sound file, and used the 
Playback application. It sounded enough louder to me than the original 
Record application made it.

Steven Critchfield wrote:
I've not experienced the low volume when using record, but I have when
using the record command in AGI. Upon looking around to see what it was
that caused voicemail to be of such a passable volume, but not our AGI
apps, I noticed that there is a section in format_wav.c that will bit
shift the audio data up to increase volume. When I changed our
application from recording in GSM to recording in WAV, it fixed some of
our volume problems.
Not necessarily a solution to your problem but a few data points to help
sort the problem out.
___
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