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
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> wrote:
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (2)
-
Anthony Minessale
-
Marc Lewis