[prev in list] [next in list] [prev in thread] [next in thread] 

List:       festival-talk
Subject:    Re: [festival-talk] Festival - Redirecting Audio Output to a file
From:       "Nickolay V. Shmyrev" <nshmyrev () yandex ! ru>
Date:       2006-12-15 6:29:10
Message-ID: 1166164150.2306.27.camel () gnome ! local
[Download RAW message or body]

message from "Nickolay V. Shmyrev" <nshmyrev@yandex.ru> to festival-talk
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =


В Чтв, 14/12/2006 в 14:38 +0000, Luis Uebel пишет:
> message from "Luis Uebel" <lfu20@hotmail.com> to festival-talk
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Dear Festival Users,
> 
> I have a question:
> 
> 1. How can I redirect festival audio output to a file in Windows XP?
>     What commands do I used for this?
> 
> I tried to use command:
> (Parameter.set 'Audio_Command "C:\projects\speech_tools\na_record -o 
> test.wav")
> 
> 
> Thanks,
> 
> 
> Luis

I suggest you to look at the code of text2wave script or use it
directly,, you can call "festival --script text2wave txt.filename"

> (define (save_record_wave utt)                                                  
> "Saves the waveform and records its so it can be joined into a                  
> a single waveform at the end."                                                  
>   (let ((fn (make_tmp_filename)))                                               
>     (utt.save.wave utt fn)                                                      
>     (set! wavefiles (cons fn wavefiles))                                        
>     utt))
> 
> ;;;                                                                             
> ;;; Redefine what happens to utterances during text to speech                   
> ;;;                                                                             
> (set! tts_hooks (list utt.synth save_record_wave))  



["signature.asc" (application/pgp-signature)]
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
=    University of Edinburgh's Festival Speech Synthesis System       =
= http://festvox.org/festival      Sent Via festival-talk@festvox.org =
=                           To unsubscribe mail majordomo@festvox.org =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic