Summary:ASTERISK-00101: festival 1.4.3 patch
Reporter:yebo (yebo)Labels:
Date Opened:2003-08-14 15:58:09Date Closed:2011-06-07 14:05:09
Versions:Frequency of
Environment:Attachments:( 0) festival-1.4.3.diff
( 1) festival-1.4.3-speed.diff
Description:I have patched Festival 1.4.3 (based on the 1.4.2 patch).

The patch has been tested and seems to work fine.
Comments:By: Mark Spencer (markster) 2003-08-14 16:00:09

Added to CVS. Thanks!

By: yebo (yebo) 2003-08-14 17:51:10

I made a further modification to the diff to allow for speed adjustments, although I see that the speed issue may have been fixed already.

festivalcommand=(tts_textasterisk "%s" 1.5 'file)(quit)\n

I added another argument.. 1.5 is a speed modifier that works well for me.  The higher the number the slower the speech.

The diff now looks more like this:
+;; begin tts_textasterisk
+(define (tts_textasterisk string speed mode)
+  "(tts_textasterisk STRING MODE)
+Apply tts to STRING.  This function is specifically designed for
+use in server mode so a single function call may synthesize the string.
+This function name may be added to the server safe functions."
+;;  to use other voices, you simply define them
+;;  (voice_rab_diphone)
+;;  (voice_kal_diphone)
+;; This slows it down for *
+  (Parameter.set 'Duration_Stretch speed)
+  (utt.send.wave.asterisk
+   (utt.synth
+    (eval (list 'Utterance 'Text string)))))
+;; end tts_textasterisk

I can reupload the diff if you can use it.

By: Mark Spencer (markster) 2003-08-15 13:33:01

Not necessary the speed hting was something different.