Donald Gordon
2004-Jun-14 03:58 UTC
[Asterisk-Users] Festival application: clipping start of sound?
Hi I'm running a bright shiny new asterisk installation, and have discovered a problem with the festival application - when it plays back the generated sound, it skips the start. If, on the other hand, it has caching turned on, then when it plays the cached sound, it doesn't skip the first word or two. I assume that this has something to do with the time taken to generate the speech - is there anything I can do about this, apart from getting a faster machine for festival? Also, files in the festival cache directory seem to be created with mode 0000. Is there any setting I need to prod to make them readable by asterisk? I'm running the debian packaged asterisk. thanks donald
Iain Stevenson
2004-Jun-14 05:52 UTC
[Asterisk-Users] Festival application: clipping start of sound?
IMHO the Festival application is slightly broken since it doesn't interface to the asterisk playback routines in a standard way. I've never had much luck with caching but have experienced the problem you outline on direct text conversions. This issue has been discussed on the bug tracker and this list in the past. You can hack Festival to pad out the pokayback with silence so the silence gets chopped before your sound. You can also have Festival save the sound file and then play back the sound using asterisk's standard playback routines. Both work but they're not nice solutions and add some latency, Iain --On Monday, June 14, 2004 10:58 pm +1200 Donald Gordon <don@dis.org.nz> wrote:> Hi > > I'm running a bright shiny new asterisk installation, and have > discovered a problem with the festival application - when it plays back > the generated sound, it skips the start. If, on the other hand, it has > caching turned on, then when it plays the cached sound, it doesn't skip > the first word or two. I assume that this has something to do with the > time taken to generate the speech - is there anything I can do about > this, apart from getting a faster machine for festival? > > Also, files in the festival cache directory seem to be created with mode > 0000. Is there any setting I need to prod to make them readable by > asterisk? I'm running the debian packaged asterisk. > > thanks > > donald > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >