Launchpad has imported 27 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=467531.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-10-18T01:38:02+00:00 Matthias wrote:

I wonder why we don't configure festival to make it work with
pulseaudio.

Running festival with our package, while music is playing, yields:

[mclasen@localhost ~]$ festival --tts text
Linux: can't open /dev/dsp

This can be fixed by adding the following lines to
/etc/festival/siteinit.scm:

(Parameter.set 'Audio_Command "aplay $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Required_Format 'snd)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/3

------------------------------------------------------------------------
On 2008-10-18T13:13:42+00:00 Matthew wrote:

Thanks for the suggestion. I have a big update planned for after then
F10 release and I'll get this in then.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/4

------------------------------------------------------------------------
On 2008-10-18T21:07:20+00:00 Matthias wrote:

If you don't mind, I'd really like to get this in before F10. We're
shipping with PA on by default, and it would be a bit of a bummer to
have non-working speech as a consequence of that.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/5

------------------------------------------------------------------------
On 2008-10-19T00:42:35+00:00 Matthew wrote:

I'm fine with that -- I just don't have time to work on it.

Some notes:

This should go in /usr/share/festival/lib/init.scm rather than in
/etc/festival/siteinit.scm since it's a system default rather than a
local customization.

Are there any downsides to using this method?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/6

------------------------------------------------------------------------
On 2008-10-19T02:03:01+00:00 Matthias wrote:

Ok, I do the work to get this in the package, and I can put it into 
lib/init.scm.
I've asked Lennart for his opinion about the best way to make festival work 
with PA, I'll wait for his response before building this.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/7

------------------------------------------------------------------------
On 2008-10-20T15:19:01+00:00 Lennart wrote:

If festival behaves correctly we could simply run festival prefixed with
"padsp".

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/8

------------------------------------------------------------------------
On 2008-10-20T15:25:16+00:00 Matthew wrote:

> If festival behaves correctly we could simply run festival prefixed with
> "padsp".

Who is "we"? Any program which uses festival?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/9

------------------------------------------------------------------------
On 2008-10-20T18:23:36+00:00 Matthias wrote:

For F11, we should probably take a look at using speech-dispatcher with
orca.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/10

------------------------------------------------------------------------
On 2008-10-20T18:24:53+00:00 Matthias wrote:

see http://live.gnome.org/Orca/SpeechDispatcher

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/11

------------------------------------------------------------------------
On 2008-10-24T21:15:45+00:00 Ray wrote:

Two thoughts:

1) should probably use paplay instead of aplay since it gives us the
ability to name the stream in pavucontrol

2) isn't this a bad idea in general? I mean doesn't it mean festival
will write out all audio to a file, and play the file adding lots of
latency for orca users?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/12

------------------------------------------------------------------------
On 2008-10-24T21:26:24+00:00 Lennart wrote:

They use aplay? Oh my! That's horrible!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/13

------------------------------------------------------------------------
On 2008-10-24T21:34:31+00:00 Matthias wrote:

Does orca currently work at all when pulseaudio is running ?

As I said: longer-term, sound-dispatcher may be a better option. 
Or maybe just write a pa backend for festival.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/14

------------------------------------------------------------------------
On 2008-10-24T21:40:13+00:00 Ray wrote:

Lennart, it doesn't use aplay right now, but Matthias's proposal in
comment 0 was to use aplay.

Matthias, yea I was using orca the other day to test gnome bug 535827
and i was getting audio okay.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/15

------------------------------------------------------------------------
On 2008-10-24T21:41:17+00:00 Ray wrote:

also interesting is the festival source tree seems to suggest it has a
libesound backend, which should work with pa...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/16

------------------------------------------------------------------------
On 2008-10-24T21:42:47+00:00 Ray wrote:

Actually, I can't reproduce the failure in comment 0.

Maybe it was broken for some reason and has since been fixed?

Can you still reproduce the original issue?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/17

------------------------------------------------------------------------
On 2008-10-24T21:44:06+00:00 Ray wrote:

scratch comment 13.  i missed the "while playing music" bit.  i can
reproduce if rhythmbox is playing music.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/18

------------------------------------------------------------------------
On 2008-10-27T15:42:51+00:00 Lennart wrote:

Anyone tried whether this would work?

(Parameter.set 'Audio_Command "pacat --channels=1 --rate=$SR $FILE")

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/19

------------------------------------------------------------------------
On 2008-10-27T16:09:38+00:00 Ray wrote:

so running

(Paramter.get 'Audio_Method)

yields, linux16audio instead of esdaudio

doing

(Parameter.set 'Audio_Method 'esdaudio)

then starting rhythmbox and playing music, followed by:

(SayText "hello")

gives the message "hello" on top of the music.

I think we just need to change the default audio backend to esdaudio.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/20

------------------------------------------------------------------------
On 2008-10-27T16:11:29+00:00 Ray wrote:

Matthias pointed out this might break festival for runlevel 3 users.

Lennart, do you know if it will?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/21

------------------------------------------------------------------------
On 2008-10-27T16:36:18+00:00 Matthias wrote:

To answer that question:

ESD: error writing - Bad file descriptor
#<Utterance 0xb7197818>

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/22

------------------------------------------------------------------------
On 2008-10-27T17:14:42+00:00 Lennart wrote:

The thing with esd-style autospawning is that it is racy, does not do
locking while testing whether to startup a new instance. I'd prefer if
we didn't rely n esd style autospawning.

Which leaves us the options. a) use pacat or b) make sure that
pulseaudio --start was rung and completed before festival becomes
active.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/23

------------------------------------------------------------------------
On 2008-10-27T19:01:40+00:00 Ray wrote:

pacat doesn't work if pulseaudio isn't running, right?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/24

------------------------------------------------------------------------
On 2008-10-27T20:15:29+00:00 Matthias wrote:

Yes, I think the only solution that has a chance of working in the
absense of PA is aplay (which is why I put that in the initial comment,
btw...)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/25

------------------------------------------------------------------------
On 2008-10-27T23:53:39+00:00 Lennart wrote:

Since pacat links against libpulse it would use the race-free PA-style
autospawning. Hence using pacat is fine.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/26

------------------------------------------------------------------------
On 2008-10-28T00:37:23+00:00 Matthew wrote:

(In reply to comment #16)
> Anyone tried whether this would work?
> 
> (Parameter.set 'Audio_Command "pacat --channels=1 --rate=$SR $FILE")

So, on my rawhide system, this makes a horrible loud static noise. But
this system has been constantly tracking rawhide for a year and a half
or, and pulseaudio has always worked inconsistently.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/27

------------------------------------------------------------------------
On 2008-10-28T00:50:09+00:00 Ray wrote:

It works on my system in X.  Haven't tried from runlevel 3.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/28

------------------------------------------------------------------------
On 2008-10-28T01:59:55+00:00 Ray wrote:

okay i built festival with the pacat workaround for now.

We should revisit this at some point, though.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/comments/29


** Changed in: festival (Fedora)
       Status: Unknown => Fix Released

** Changed in: festival (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/209900

Title:
  Festival is not compatible with pulseaudio (won't speak when other app
  is playing sound)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/209900/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to