public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* for those who want console speech in manjaro based distros
@  Mark Peveto
   ` Chris Brannon
  0 siblings, 1 reply; 11+ messages in thread
From: Mark Peveto @  UTC (permalink / raw)
  To: blinux


I've been kicking tail trying to get console speech to work in manjaro based distros, such as sonar, and f123 visual.  I find I've been successful, but
you have to jump through a couple hoops to do it.
First, update your system as normal with sudo pacman -Syu, or however you choose to do that.
Next, install downgrade.
yaourt -S downgrade
Once that's installed, this is where things could get a little sticky.
sudo downgrade espeak
That's right, the newer versions of espeak won't allow console speech to work.  Once you type sudo downgrade espeak, you're presented with about 5
options.  I've had the best luck with option 3.
Pick that, and go through the install process.  Until the espeak issue has been fixed, I went ahead and added espeak to the ignore package list, so I
don't hafta keep downgrading after I've done a system update.
that's the very short version of what's been one heck of a process for me.
Note: once you downgrade espeak, the language may change on you...a simple reboot will fix the problem, which you'll need to do anyway.
That's it, folks.  Have a good one.

Mark Peveto
Registered Linux user number 600552
Sent from F123 Visual using alpine 2.20.13

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
   for those who want console speech in manjaro based distros Mark Peveto
@  ` Chris Brannon
     ` Jude DaShiell
  0 siblings, 1 reply; 11+ messages in thread
From: Chris Brannon @  UTC (permalink / raw)
  To: Mark Peveto; +Cc: blinux

Mark Peveto <southernprince73@gmail.com> writes:

> sudo downgrade espeak
> That's right, the newer versions of espeak won't allow console speech
> to work.

Hi Mark,
I saw this message and remembered that Manjaro and Sonar are using
espeak-ng, which is a fork of espeak.
One of the things that changed with espeak-ng is the way audio is
handled.  Actually, espeak-ng uses its very own audio library.
So I decided to take it for a spin tonight.
I built a custom copy of the emacspeak speech server and linked against
espeak-ng, using alsa for the audio.
It doesn't work.
I get messages like "file descriptor in bad state" when I try to make it speak.
I haven't tried it with espeakup yet,
but it doesn't look promising.

This really needs to be fixed.  I'll be delving more deeply into the
issue over the next week or so.

-- Chris

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
   ` Chris Brannon
@    ` Jude DaShiell
       ` Chris Brannon
       ` Al Sten-Clanton
  0 siblings, 2 replies; 11+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: Linux for blind general discussion, Mark Peveto

pulseaudio is responsible for blocking signals that rightfully alsa 
ought to get.  This is why fenrir will be the official console speech 
app for sonar.  It wasn't possible to get brltty working correctly 
either.

On Sun, 10 Jul 2016, Chris Brannon wrote:

> Date: Mon, 11 Jul 2016 00:43:59
> From: Chris Brannon <chris@the-brannons.com>
> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
> To: Mark Peveto <southernprince73@gmail.com>
> Cc: blinux <blinux-list@redhat.com>
> Subject: Re: for those who want console speech in manjaro based distros
> 
> Mark Peveto <southernprince73@gmail.com> writes:
>
>> sudo downgrade espeak
>> That's right, the newer versions of espeak won't allow console speech
>> to work.
>
> Hi Mark,
> I saw this message and remembered that Manjaro and Sonar are using
> espeak-ng, which is a fork of espeak.
> One of the things that changed with espeak-ng is the way audio is
> handled.  Actually, espeak-ng uses its very own audio library.
> So I decided to take it for a spin tonight.
> I built a custom copy of the emacspeak speech server and linked against
> espeak-ng, using alsa for the audio.
> It doesn't work.
> I get messages like "file descriptor in bad state" when I try to make it speak.
> I haven't tried it with espeakup yet,
> but it doesn't look promising.
>
> This really needs to be fixed.  I'll be delving more deeply into the
> issue over the next week or so.
>
> -- Chris
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

-- 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
     ` Jude DaShiell
@      ` Chris Brannon
         ` Jude DaShiell
       ` Al Sten-Clanton
  1 sibling, 1 reply; 11+ messages in thread
From: Chris Brannon @  UTC (permalink / raw)
  To: Linux for blind general discussion, Mark Peveto

Jude DaShiell <jdashiel@panix.com> writes:

> pulseaudio is responsible for blocking signals that rightfully alsa
> ought to get.

Yes, but I also built espeak-ng's audio library without pulseaudio
support, with the same result.
So at this point, I'm going on the assumption that there are issues with
the ALSA code as well.

-- Chris

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
     ` Jude DaShiell
       ` Chris Brannon
@      ` Al Sten-Clanton
         ` Mark Peveto
         ` Jude DaShiell
  1 sibling, 2 replies; 11+ messages in thread
From: Al Sten-Clanton @  UTC (permalink / raw)
  To: Linux for blind general discussion

Never heard of fenrir.  Do you know where the info about it is?  Thanks!

Al


On 7/11/2016 2:27 AM, Jude DaShiell wrote:
> pulseaudio is responsible for blocking signals that rightfully alsa
> ought to get.  This is why fenrir will be the official console speech
> app for sonar.  It wasn't possible to get brltty working correctly either.
>
> On Sun, 10 Jul 2016, Chris Brannon wrote:
>
>> Date: Mon, 11 Jul 2016 00:43:59
>> From: Chris Brannon <chris@the-brannons.com>
>> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
>> To: Mark Peveto <southernprince73@gmail.com>
>> Cc: blinux <blinux-list@redhat.com>
>> Subject: Re: for those who want console speech in manjaro based distros
>>
>> Mark Peveto <southernprince73@gmail.com> writes:
>>
>>> sudo downgrade espeak
>>> That's right, the newer versions of espeak won't allow console speech
>>> to work.
>>
>> Hi Mark,
>> I saw this message and remembered that Manjaro and Sonar are using
>> espeak-ng, which is a fork of espeak.
>> One of the things that changed with espeak-ng is the way audio is
>> handled.  Actually, espeak-ng uses its very own audio library.
>> So I decided to take it for a spin tonight.
>> I built a custom copy of the emacspeak speech server and linked against
>> espeak-ng, using alsa for the audio.
>> It doesn't work.
>> I get messages like "file descriptor in bad state" when I try to make
>> it speak.
>> I haven't tried it with espeakup yet,
>> but it doesn't look promising.
>>
>> This really needs to be fixed.  I'll be delving more deeply into the
>> issue over the next week or so.
>>
>> -- Chris
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
       ` Al Sten-Clanton
@        ` Mark Peveto
           ` Jude DaShiell
         ` Jude DaShiell
  1 sibling, 1 reply; 11+ messages in thread
From: Mark Peveto @  UTC (permalink / raw)
  To: Linux for blind general discussion

>From what I understand, it's just being developed.


Mark Peveto
Registered Linux user number 600552
Sent from sonar using alpine 2.20.13


On Mon, 11 Jul 2016, Al Sten-Clanton wrote:

> Never heard of fenrir.  Do you know where the info about it is?  Thanks!
>
> Al
>
>
> On 7/11/2016 2:27 AM, Jude DaShiell wrote:
> > pulseaudio is responsible for blocking signals that rightfully alsa
> > ought to get.  This is why fenrir will be the official console speech
> > app for sonar.  It wasn't possible to get brltty working correctly either.
> >
> > On Sun, 10 Jul 2016, Chris Brannon wrote:
> >
> > > Date: Mon, 11 Jul 2016 00:43:59
> > > From: Chris Brannon <chris@the-brannons.com>
> > > Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
> > > To: Mark Peveto <southernprince73@gmail.com>
> > > Cc: blinux <blinux-list@redhat.com>
> > > Subject: Re: for those who want console speech in manjaro based distros
> > >
> > > Mark Peveto <southernprince73@gmail.com> writes:
> > >
> > > > sudo downgrade espeak
> > > > That's right, the newer versions of espeak won't allow console speech
> > > > to work.
> > >
> > > Hi Mark,
> > > I saw this message and remembered that Manjaro and Sonar are using
> > > espeak-ng, which is a fork of espeak.
> > > One of the things that changed with espeak-ng is the way audio is
> > > handled.  Actually, espeak-ng uses its very own audio library.
> > > So I decided to take it for a spin tonight.
> > > I built a custom copy of the emacspeak speech server and linked against
> > > espeak-ng, using alsa for the audio.
> > > It doesn't work.
> > > I get messages like "file descriptor in bad state" when I try to make
> > > it speak.
> > > I haven't tried it with espeakup yet,
> > > but it doesn't look promising.
> > >
> > > This really needs to be fixed.  I'll be delving more deeply into the
> > > issue over the next week or so.
> > >
> > > -- Chris
> > >
> > > _______________________________________________
> > > Blinux-list mailing list
> > > Blinux-list@redhat.com
> > > https://www.redhat.com/mailman/listinfo/blinux-list
> > >
> >
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
       ` Chris Brannon
@        ` Jude DaShiell
           ` Chris Brannon
  0 siblings, 1 reply; 11+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: Linux for blind general discussion, Mark Peveto

Can you loose the -ng fork and try a build with generic espeak and 
verify identical alsa issues with the non-fork version of espeak?  That 
would for sure point at defective alsa code.

On Mon, 11 Jul 2016, Chris Brannon wrote:

> Date: Mon, 11 Jul 2016 03:31:13
> From: Chris Brannon <chris@the-brannons.com>
> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
> To: Linux for blind general discussion <blinux-list@redhat.com>,
>     Mark Peveto <southernprince73@gmail.com>
> Subject: Re: for those who want console speech in manjaro based distros
> 
> Jude DaShiell <jdashiel@panix.com> writes:
>
>> pulseaudio is responsible for blocking signals that rightfully alsa
>> ought to get.
>
> Yes, but I also built espeak-ng's audio library without pulseaudio
> support, with the same result.
> So at this point, I'm going on the assumption that there are issues with
> the ALSA code as well.
>
> -- Chris
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

-- 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
       ` Al Sten-Clanton
         ` Mark Peveto
@        ` Jude DaShiell
  1 sibling, 0 replies; 11+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: Linux for blind general discussion

The package is in alpha so not ready for you to handle yet, probably 
early alpha too.

On Mon, 11 Jul 2016, Al Sten-Clanton wrote:

> Date: Mon, 11 Jul 2016 10:33:21
> From: Al Sten-Clanton <albert.e.sten_clanton@verizon.net>
> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
> To: Linux for blind general discussion <blinux-list@redhat.com>
> Subject: Re: for those who want console speech in manjaro based distros
> 
> Never heard of fenrir.  Do you know where the info about it is?  Thanks!
>
> Al
>
>
> On 7/11/2016 2:27 AM, Jude DaShiell wrote:
>> pulseaudio is responsible for blocking signals that rightfully alsa
>> ought to get.  This is why fenrir will be the official console speech
>> app for sonar.  It wasn't possible to get brltty working correctly either.
>> 
>> On Sun, 10 Jul 2016, Chris Brannon wrote:
>> 
>>> Date: Mon, 11 Jul 2016 00:43:59
>>> From: Chris Brannon <chris@the-brannons.com>
>>> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
>>> To: Mark Peveto <southernprince73@gmail.com>
>>> Cc: blinux <blinux-list@redhat.com>
>>> Subject: Re: for those who want console speech in manjaro based distros
>>> 
>>> Mark Peveto <southernprince73@gmail.com> writes:
>>> 
>>>> sudo downgrade espeak
>>>> That's right, the newer versions of espeak won't allow console speech
>>>> to work.
>>> 
>>> Hi Mark,
>>> I saw this message and remembered that Manjaro and Sonar are using
>>> espeak-ng, which is a fork of espeak.
>>> One of the things that changed with espeak-ng is the way audio is
>>> handled.  Actually, espeak-ng uses its very own audio library.
>>> So I decided to take it for a spin tonight.
>>> I built a custom copy of the emacspeak speech server and linked against
>>> espeak-ng, using alsa for the audio.
>>> It doesn't work.
>>> I get messages like "file descriptor in bad state" when I try to make
>>> it speak.
>>> I haven't tried it with espeakup yet,
>>> but it doesn't look promising.
>>> 
>>> This really needs to be fixed.  I'll be delving more deeply into the
>>> issue over the next week or so.
>>> 
>>> -- Chris
>>> 
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list@redhat.com
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>> 
>> 
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

-- 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
         ` Mark Peveto
@          ` Jude DaShiell
  0 siblings, 0 replies; 11+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: Linux for blind general discussion

For a test of espeak-ng with alsa built into it cleanly, a system would 
have to be completely innocent of pulseaudio.  If that was the case then 
test quality was high.

On Mon, 11 Jul 2016, Mark Peveto wrote:

> Date: Mon, 11 Jul 2016 10:51:26
> From: Mark Peveto <southernprince73@gmail.com>
> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
> To: Linux for blind general discussion <blinux-list@redhat.com>
> Subject: Re: for those who want console speech in manjaro based distros
> 
>> From what I understand, it's just being developed.
>
>
> Mark Peveto
> Registered Linux user number 600552
> Sent from sonar using alpine 2.20.13
>
>
> On Mon, 11 Jul 2016, Al Sten-Clanton wrote:
>
>> Never heard of fenrir.  Do you know where the info about it is?  Thanks!
>>
>> Al
>>
>>
>> On 7/11/2016 2:27 AM, Jude DaShiell wrote:
>>> pulseaudio is responsible for blocking signals that rightfully alsa
>>> ought to get.  This is why fenrir will be the official console speech
>>> app for sonar.  It wasn't possible to get brltty working correctly either.
>>>
>>> On Sun, 10 Jul 2016, Chris Brannon wrote:
>>>
>>>> Date: Mon, 11 Jul 2016 00:43:59
>>>> From: Chris Brannon <chris@the-brannons.com>
>>>> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
>>>> To: Mark Peveto <southernprince73@gmail.com>
>>>> Cc: blinux <blinux-list@redhat.com>
>>>> Subject: Re: for those who want console speech in manjaro based distros
>>>>
>>>> Mark Peveto <southernprince73@gmail.com> writes:
>>>>
>>>>> sudo downgrade espeak
>>>>> That's right, the newer versions of espeak won't allow console speech
>>>>> to work.
>>>>
>>>> Hi Mark,
>>>> I saw this message and remembered that Manjaro and Sonar are using
>>>> espeak-ng, which is a fork of espeak.
>>>> One of the things that changed with espeak-ng is the way audio is
>>>> handled.  Actually, espeak-ng uses its very own audio library.
>>>> So I decided to take it for a spin tonight.
>>>> I built a custom copy of the emacspeak speech server and linked against
>>>> espeak-ng, using alsa for the audio.
>>>> It doesn't work.
>>>> I get messages like "file descriptor in bad state" when I try to make
>>>> it speak.
>>>> I haven't tried it with espeakup yet,
>>>> but it doesn't look promising.
>>>>
>>>> This really needs to be fixed.  I'll be delving more deeply into the
>>>> issue over the next week or so.
>>>>
>>>> -- Chris
>>>>
>>>> _______________________________________________
>>>> Blinux-list mailing list
>>>> Blinux-list@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>>
>>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

-- 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
         ` Jude DaShiell
@          ` Chris Brannon
             ` Jude DaShiell
  0 siblings, 1 reply; 11+ messages in thread
From: Chris Brannon @  UTC (permalink / raw)
  To: Linux for blind general discussion

Jude DaShiell <jdashiel@panix.com> writes:

> Can you loose the -ng fork and try a build with generic espeak and
> verify identical alsa issues with the non-fork version of espeak?
> That would for sure point at defective alsa code.

Well, the original espeak does not interface directly with alsa.  It
uses portaudio.  And it works just fine.  It's what I use every day.

I'm not running pulse over here at all, although I do have the client
libraries, because many packages link against them.
For the -ng fork, I built the audio backend with pulse disabled, and
then I verified that it was in fact not linked against pulse client
libraries at all.
I also noticed that it can support OSS, so I did a further test with OSS
disabled, just in case it was trying to use OSS and having difficulty
due to ALSA's OSS emulation.
It's definitely using ALSA,
and the emacspeak speech server is failing to speak when
linked against it.  Well, it does speak the initial greeting,
but after that, additional speech commands produce the error message:
"File descriptor in bad state".

-- Chris

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: for those who want console speech in manjaro based distros
           ` Chris Brannon
@            ` Jude DaShiell
  0 siblings, 0 replies; 11+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: Linux for blind general discussion

Time for some alsa bug reporting!

On Mon, 11 Jul 2016, Chris Brannon wrote:

> Date: Mon, 11 Jul 2016 15:43:31
> From: Chris Brannon <chris@the-brannons.com>
> Reply-To: Linux for blind general discussion <blinux-list@redhat.com>
> To: Linux for blind general discussion <blinux-list@redhat.com>
> Subject: Re: for those who want console speech in manjaro based distros
> 
> Jude DaShiell <jdashiel@panix.com> writes:
>
>> Can you loose the -ng fork and try a build with generic espeak and
>> verify identical alsa issues with the non-fork version of espeak?
>> That would for sure point at defective alsa code.
>
> Well, the original espeak does not interface directly with alsa.  It
> uses portaudio.  And it works just fine.  It's what I use every day.
>
> I'm not running pulse over here at all, although I do have the client
> libraries, because many packages link against them.
> For the -ng fork, I built the audio backend with pulse disabled, and
> then I verified that it was in fact not linked against pulse client
> libraries at all.
> I also noticed that it can support OSS, so I did a further test with OSS
> disabled, just in case it was trying to use OSS and having difficulty
> due to ALSA's OSS emulation.
> It's definitely using ALSA,
> and the emacspeak speech server is failing to speak when
> linked against it.  Well, it does speak the initial greeting,
> but after that, additional speech commands produce the error message:
> "File descriptor in bad state".
>
> -- Chris
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

-- 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 for those who want console speech in manjaro based distros Mark Peveto
 ` Chris Brannon
   ` Jude DaShiell
     ` Chris Brannon
       ` Jude DaShiell
         ` Chris Brannon
           ` Jude DaShiell
     ` Al Sten-Clanton
       ` Mark Peveto
         ` Jude DaShiell
       ` Jude DaShiell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).