Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th May 2010
godfrank godfrank is offline
Port Guard
Join Date: Jun 2008
Posts: 14
Default Text to speech (save to file) - text2wave broken

It seems that the script text2wave bundled with festival is broken in FreeBSD 8.0.

The situation seems to have been constant for a few years already, as you can see from this thread: http://markmail.org/message/ltz57kxq...+state:results

What I want to do is read a text file, send it through a text-to-speech application and save the result to a file (no playback through the soundcard). The URL seen above seems to answer that question and I tried to paste the few lines of code contained in the last post into a script file and used festival to execute it, but it didn't work. I don't even know how to program a "Hello World" in Scheme so bear with me Therefore, maybe I wasn't using the script correctly.

Besides text2wave, is there an alternative that could do what I need?

Thank you!
Reply With Quote
  #2   (View Single Post)  
Old 23rd May 2010
godfrank godfrank is offline
Port Guard
Join Date: Jun 2008
Posts: 14

Just found out espeak which will do the job for what I need.

I am still interested in getting text2wave to work on FreeBSD 8, though.
Reply With Quote
  #3   (View Single Post)  
Old 23rd May 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: New Zealand
Posts: 2,201

I looked at it when you made your first post.
The first she-bang line was set wrong, it was an absolute path to the festival build directory instead if /usr/local/bin/festival
It still didn't work after I fixed that, I got some error from festival itself. Since I am not familiar with this program I wasn't able to fix it in a reasonable amount of time.

You can try asking the festival people, I suspect the number of people who have even a passing familiarity with festival on this forums are very few, if any at all.

The script had a copyright header from 1997. It may very well be an old relic that hasn't been working for years that nobody ever fixed or removed ...
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PLEASE HELP SAVE BSD MAGAZINE Kruzer Off-Topic 14 27th August 2009 05:10 PM
how to save stackoverflow podcasts? ephemera Off-Topic 4 19th July 2009 03:32 PM
Doing a fresh install - what to save? Bruco FreeBSD General 4 30th May 2009 01:49 PM
Savemail panic, cannot save rejected email anywhere Mantazz FreeBSD Ports and Packages 12 11th January 2009 03:03 AM
Firefox PROTIP: getting back to a normal Save As Dialogue. caesius Guides 5 15th October 2008 06:24 AM

All times are GMT. The time now is 10:47 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick