[Asterisk-Users] Re: Festival Woes

Rod Bacon rod.bacon at empoweredcomms.com.au
Mon Feb 14 21:14:47 MST 2005


SIOD ERROR: wrong type of argument to car : wholeutt

Try changing your festival.scm to the following:

(Note the extra () on the 4th last line).


(define (tts_textasterisk string 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."
(let ((wholeutt (utt.synth (eval (list 'Utterance 'Text string)))))
(utt.wave.resample wholeutt 8000)
(utt.wave.rescale wholeutt 5)
(utt.send.wave.client wholeutt)))







More information about the asterisk-users mailing list