Can anyone suggest a shell script in linux bash for encodimg raw audio output from text to speech app into an ogg file. I am running festival speech. The command line for basic tts is festival> bin/festival --tts myfile.txt Thanks -- Raena Lea-Shannon --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Raena Lea-Shannon (raen7@ihug.com.au) wrote:> Can anyone suggest a shell script in linux bash for encodimg raw audio output > from text to speech app into an ogg file. I am running festival speech. The > command line for basic tts is > > festival> bin/festival --tts myfile.txt$ vsound -f hello.wav sh -c 'echo hello | festival --tts -' && oggenc -q 1 -o hello.ogg hello.wav && rm hello.wav I couldn't find any options in festival to write to a file, so I used vsound to intercept the output to the sound card. If your version of festival has some sort of file output, then use that instead. -- Greg Wooledge | "Truth belongs to everybody." greg@wooledge.org | - The Red Hot Chili Peppers http://wooledge.org/~greg/ | -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis/attachments/20030511/79af6140/part-0001.pgp
Raena Lea-Shannon wrote:>Can anyone suggest a shell script in linux bash for encodimg raw audio output >from text to speech app into an ogg file. I am running festival speech. The >command line for basic tts is > >festival> bin/festival --tts myfile.txt > >Thanks > >There is a program called text2wave that comes with festival that has the ability to send the audio to std-out then you can just use oggenc from std-in. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
There is a program in festival called "text2wav" or something like
that.
I think you can pipe the output through oggenc to get an Ogg Vorbis file.
If it doesn't work, I can write a bash script for you.
Lorenzo
The memory management on the PowerPC can be used to frighten small children.
-- Linus Torvalds
Raena Lea-Shannon staggered into view and mumbled:
> Can anyone suggest a shell script in linux bash for encodimg raw audio
output
> from text to speech app into an ogg file. I am running festival speech. The
> command line for basic tts is
>
> festival> bin/festival --tts myfile.txt
>
> Thanks
> --
> Raena Lea-Shannon
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to
'vorbis-request@xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is
needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'vorbis-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.