VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
marc at avvatel.com Guest
|
Posted: Tue Sep 02, 2008 7:31 pm Post subject: [Freeswitch-users] Sound files/prompts |
|
|
I've been working on having a new/alternative set of sound files to the
callie files created.
One problem that I've run into, though is the amount of leading and
trailing silence that each sound file should have.
If there is no trailing silence, the next sound in a sequence will run
over the currently playing one. In other words, if the following sounds
did not have any sort of "padding" sound-b.wav would start playing
before sound-a.wav was finished, effectively chopping off a portion of it.
<action application="playback" data="sound-a.wav"/>
<action application="playback" data="sound-b.wav"/>
If there is too much silence in a file, it sounds very choppy.
Is there a standard amount of silence that should be added to files or a
way to adjust the buffers so that the playback app actually finishes
playing a file before it moves to the next one?
Thanks.
- Marc
--
Marc Lewis
Avvatel Corporation
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Wed Sep 03, 2008 10:15 am Post subject: [Freeswitch-users] Sound files/prompts |
|
|
you can use application sleep with data set to a desired number of milliseconds
or you can make a phrase macro that includes the strung together files into 1 entity.
It's probably best to make the sound files with no padding and add it in the code as needed.
On Tue, Sep 2, 2008 at 7:06 PM, Marc Lewis <marc@avvatel.com (marc@avvatel.com)> wrote:
Quote: |
I've been working on having a new/alternative set of sound files to the
callie files created.
One problem that I've run into, though is the amount of leading and
trailing silence that each sound file should have.
If there is no trailing silence, the next sound in a sequence will run
over the currently playing one. In other words, if the following sounds
did not have any sort of "padding" sound-b.wav would start playing
before sound-a.wav was finished, effectively chopping off a portion of it.
<action application="playback" data="sound-a.wav"/>
<action application="playback" data="sound-b.wav"/>
If there is too much silence in a file, it sounds very choppy.
Is there a standard amount of silence that should be added to files or a
way to adjust the buffers so that the playback app actually finishes
playing a file before it moves to the next one?
Thanks.
- Marc
--
Marc Lewis
Avvatel Corporation
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|