On Mon, 9 Nov 2009, John Denker wrote:

> I reiterate that chez moi, the festival features as
> documented in Docs/getstart.pdf do not work.  They
> have not worked for years, if ever.  This bug has been
> observed using Debian Etch, Debian Lenny, and now Debian
> Squeeze.
>
> In every case, I observe that the festival server works
> fine when FGFS is not running, but is unable to make any
> sound when FGFS is running.  This is unsurprising, given
> that both of them are trying to send to /dev/dsp which
> AFAICT has never allowed multiple access.

Well, that you have not configured your sound system correctly isn't 
really FlightGear's fault, is it?

Of course, the documentation could match your system better than it does, 
but Linux sound is pretty diverse and changes over time. The wiki might 
contain something about systems closer to yours.


I have Debian/testing and use ALSA for sound (default for my installation).

1. I configured OpenAL to use ALSA:
(If you have OpenAL-soft you might find more info in 
/etc/openal/alsoft.conf)

and...@sleipner:~$ cat ~/.alsoftrc
format = AL_FORMAT_STEREO16
cf_level = 2
drivers = alsa
[alsa]  # ALSA backend stuff
device = plug:dmix
capture = plug:dsnoop

2. I don't remeber if I had to touch the festival config or not, but here 
it is:

and...@sleipner:/etc$ cat /etc/festival.scm
(Parameter.set 'Audio_Command "aplay -D plug:dmix -q -c 1 -t raw -f s16 -r 
$SR $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Required_Format 'snd)

3. I set /sim/sound/voices/enabled to true in my ~/.fgfs/preferences.xml 
file (included via .fgfsrc).

> Setting up a .openalrc file as mentioned in README.sound
> does not solve the problem.

One possibility is that you have OpenAL-soft which uses .alsoftrc 
with a different syntax instead. (IIRC it does complain if it finds a 
.openal, though).

I hope this helps.

Cheers,

Anders
-- 
---------------------------------------------------------------------------
Anders Gidenstam
WWW: http://www.gidenstam.org/FlightGear/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to