Hi David,

Could you delete this modification done by you from festival.scm
> (set! voice_default 'voice_cstr_upc_upm_spanish_hts)
>     (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 e 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))
and could you run txt2ave as follows?

text2wave -eval '(voice_cstr_upc_upm_spanish_hts)' prueba.txt -o prueba.wav

This will allow you to use this Spanish voice from the txt2wave command

Regards,
Junichi

Sent from iPad

On 12 Sep 2011, at 18:45, "David Piedra Rojas" <[email protected]> wrote:

> Hello, I’m new with Festival and I’m trying to use the HTS Spanish voice 
> (voice_cstr_upc_upm_spanish_hts) with text2wave, but I’m getting an error.
>  
> #SpanishHTSVoice-ver0.8/build/festival/bin/text2wave prueba.txt -o prueba.wav
>  
> Phoneset "spanish" redefined
> -=-=-=-=-=- EST Error -=-=-=-=-=-
> {FND} Feature POS_Method not defined
>  
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>  
> To use the voice I add these lines in the festival.scm file:
>  
> (set! voice_default 'voice_cstr_upc_upm_spanish_hts)
>     (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 e 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)))
>  
> If I remove these lines the command 
> SpanishHTSVoice-ver0.8/build/festival/bin/text2wave prueba.txt -o prueba.wav 
> use the default voice which is in English. 
>  
> Thanks for your help,
>  
> David
>  
>  
> 
> ** Este correo ha sido revisado por los dispositivos de seguridad Informática 
> de la C.N.E **
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
Festlang-talk mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/festlang-talk

Reply via email to