Subject: Re: festival (voice synth. package)
To: Richard Rauch <rauch@eecs.ukans.edu>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 05/26/2001 06:59:54
On Fri, 25 May 2001, Richard Rauch wrote:

> > > Has anyone succeeded in making use of ...pkgsrc/audio/festival? After
>  [...]
> > > Can't access NAS server (null)
> >
> > Works for me (NetBSD-1.5.1+). Do you have "nasd" running?
>
> I've never done anything to specifically enable, or disable, nasd.

> Did you have to customize nasd.conf?
>
> Should it be copied to /etc/nasd.conf, or /etc/nas/nasd.conf, or something
> else?

You know, I'd forgotten that I do have a customized
/etc/nas/nasd.conf. For what it's worth, here's the diffs...

diff -U0 /usr/X11R6/etc/nasd.conf /etc/nas/nasd.conf
--- /usr/X11R6/etc/nasd.conf    Mon Sep 11 21:37:33 2000
+++ /etc/nas/nasd.conf  Tue Sep 12 21:04:28 2000
@@ -11 +11 @@
-Debug 9
+Debug 1
@@ -22 +22 @@
-MixerInit      "yes"
+MixerInit      "no"
@@ -32 +32 @@
-       device          "/dev/audio"
+       device          "/dev/audio0"
@@ -44,2 +44,2 @@
-       device          "/dev/audio"
-       maxrate         33000                   # is flakey on my OPTi
mb at 44
+       device          "/dev/audio0"
+       maxrate         44100                   # is flakey on my OPTi
mb at 44
@@ -51 +51 @@
-       numchans        1                       # HiFi Stereo!
+       numchans        2                       # HiFi Stereo!

I also start "nasd" at boot time, via /etc/rc.d/nasd...

#!/bin/sh
#
# $NetBSD$
#

# PROVIDE: nasd
# REQUIRE: DAEMON

. /etc/rc.subr

name="nasd"
command="/usr/X11R6/bin/${name}"
command_args="&"

load_rc_config $name
run_rc_command "$1"


and "export AUDIOSERVER=tcp/`hostname`:8000" in my environment.
("localhost" works too, if you're on the same host as the server.)

I suggest you separate the problem. Try to get "auwave" or "auplay" to
work first, and then try a couple different voices. For "auplay",
various packages install little ".au" files, so "locate .au" might
turn up some candidates, else there are millions on the web.


Frederick