31 May 16:57
Re: issue with prompt_them script
Thanks everyone for help. I ended up modifying the prompt_them script.
For the moment I replaces na_play with a call to the sox library: play
and na_record with another call to sox: rec wav/$f.wav trim 0 $duration
I will next try to modify it so it uses user interactivity ie. record until the user presses a key.
Thanks again!
Heather
On Sun, May 29, 2011 at 12:15 PM, Jeremy Salwen <jeremysalwen <at> gmail.com> wrote:
The source code for the script is the script itself!
If you open it up, you will see it is using na_record to record your prompts. If you change it to the appropriate sound recording tool for OSX, it will work.
Also, I would suggest using pointyclicky instead of prompt_them for recording prompts. It's a GUI which exposes much more options without having to modify the source (including which command to use to record sound).
To quote from my blog
"There are references scattered throughout the festvox documentation to a GUI program for recording speech prompts, called "pointyclicky". Sounds nice, right?
Well, if you try to find the sources, you find that it was last updated in 2000 (!), and it's in disrepair. (http://festvox.org/pointyclicky/)
It won't compile any more, but Kev 'Kyrian' Green at the redhat bugzilla patched it up so it's closer to compiling. I also made some more changes so it would work for me on Debian, but I don't remember exactly what I did. Anyway, you can download my patched version of the sources from here."
You might need to install a few libraries to get it working, although they might be pre-installed in OSX.
Jeremy SalwenOn Sun, May 29, 2011 at 2:05 AM, Heather Dewey-Hagborg <heather-Y+OgxfEabuQfNXFWsNdKCw@public.gmane.org> wrote:
_______________________________________________Hello,
I am trying to run festvox on a Mac OS10.5 laptop. So far have been successful mostly installing and running festival and early festvox scripts but when I run prompt_them I get :
start recording for 2 seconds ...
SUN16: can't open /dev/audio for reading
... end recording
Not surprising as the scripts were written for Linux. Could anyone point me to the source code for this script so I can hopefully tweak it for the mac?
Thanks!
Heather
Festlang-talk mailing list
Festlang-talk-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
https://lists.berlios.de/mailman/listinfo/festlang-talk
--
Heather Dewey-Hagborg
www.deweyhagborg.com
518-598-3775
RSS Feed