[raspberry-vi] Re: command line was Re: Re: Orca for the Raspberry Pi?

  • From: Petr Bláha <hammet.pb@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Tue, 26 Jul 2016 20:34:34 +0200

Okay then,

so if you decide to write the driver, i would be very happy to help you 
with testing.

Im not a programmer so that i am not able to help with this part of the 
job, but testing is something i can go through.



On 26.7.2016 18:04, Mike Ray wrote:

Hello Petr,

I wouldn't call it a waste of time for me, especially as I write
software for enjoyment as much as anything else.  And I would really
like to do it and get the kudos that would bring.  Peer group
recognition is what fuels the free software world as much as anything.

But as a USB sound dongle now costs so little it is pretty easy to get
one and use that.

I doubt very much whether the hardware in a new RPI would change.  It is
the GPU that the ALSA driver is written for and as my article explained
the change to the ALSA driver broke eSpeak.  I did report this but
nobody has done anything about it of course.

Mike

On 26/07/2016 16:52, Petr Bláha wrote:
Hello Mike,

thank you for the explanation,

maybe i'll thing of purchasing the soundcard in the future,

i understand that writing a new driver is waste of time for you,
especially when you do not use the GUI environment. :))

And it is possible, that this problem will be solved in the next
generation of Raspi, which will probably use different / newer HW than
the actual one.




On 26.7.2016 14:25, Mike Ray wrote:
Hello Petr,

The stuttering problem is only on a Pi, not on a desktop or llaptop
computer.

Here is a link to a page I wrote on the Raspberry VI web site about this
problem:

http://www.raspberryvi.org/stories/stuttering/index.html

This is only relevant to the SpeakUp console screen-reader, not to Orca.

Using Orca with speech-dispatcher, espeak will stutter.  This is whether
you use pulse audio or alsa in sd, because even with pulse selected it
still uses the underlying alsa driver.

I understand this can be solved by using a USB sound card and selecting
it as the default audio device, however I have not done this so I don't
know how to.

In order to solve this issue with Orca and speech-dispatcher I would
need to write a new audio driver for speech-dispatcher to ue the OMX
audio code described in the linked article.  This I have not yet done
because of the complexity of it and lack of time.

And as USB audio devices only cost a couple of dollars it seems less
important now anyway.

Mike



On 26/07/2016 12:56, Petr Bláha wrote:
Hi Mike,
can you describe for me what should be done to avoid Espeak stuttering on 
Raspi with Orca and GUI environment?
Does this problem appear on the classic desktop / laptop computers as well?
Is there any workaround to solve this or there is no way except purchasing 
the external USB soundcard for the Pi as you described yesterday?
Thank you for your answer and have a nice day.
Kind regards,
Petr.

26. 7. 2016 v 13:08, Mike Ray <mike@xxxxxxxxxxxxxxx>:

Glenn,

The short answer is no.

The longer answer is noooooooo.

No seriously...the serial bus on the GPIO pins is unbuffered so you
would need something like a MAX232 TTL to RS232 converter.  But you will
run into the same problem.  There is no hardware handshake available.
If somebody could re-write the SpeakUp hardware synth modules to use
xon/xoff and then persuade the hardware synth to use the same then
maybe.  But I think overall it is not a goer.

In theory it would be possible to pass /dev/ttyAMA0 to the kernel
SpeakUp modules but it's pointless for the above reasons.

Now, there is a speech-synthesis shield for the Arduino, can't remember
the name of it offhand, and it might be possible to write a chunk of
code for the Arduino to turn it into a serial hardware synth to connect
to the Pi over GPIO, but it would not be cheap and again, I'm not sure
whether the SpeakUp modules would work with it.  Because, no hardware
handshake.

If this was possible I might look at writing a speech-dispatcher driver
for it because writing sd synth modules is relatively easy, but I'm not
optimistic it would result in anything that brings much to our party.

All this is a great shame because a lot of the now largely redundant
hardware speech synthesisers are very nice bits of kit, and of course it
offloads another chunk of resource to an external device, freeing up
resources on the Pi.  Personally I would love to get my Apollo II and my
DECTalk going again.

Mike


On 26/07/2016 04:40, Glenn wrote:
Mike,
Is there a way to pipe the serial communications with an external synth
through the GPIO pins?
Glenn
----- Original Message -----
From: "Mike Ray" <mike@xxxxxxxxxxxxxxx>
To: <raspberry-vi@xxxxxxxxxxxxx>
Sent: Monday, July 25, 2016 3:24 PM
Subject: [raspberry-vi] Re: command line was Re: Re: Orca for the 
Raspberry
Pi?


Hello Erik,

Nice idea.  I have here a Dolphin Apollo II, a Dolphin Juno and a
DECTalk external synth.

It would be nice to be able to make a driver for speech-dispatcher to
use these, or for SpeakUp to be able to use them.

But, as far as I know, at least the Apollo II, and probably also the
other external hardware synths, all use hardware-handshaking which is
not available on a USB to serial adaptor.  If that is completely true,
and I am pretty sure it is at least for the Dolphin synths, then it
can't be done.

Mike

On 25/07/2016 20:59, erik burggraaf wrote:
Mike, how about an accent SA via usb to serial adapter?  I have kept it
around for love but without any hope I would ever be able to use it.  It
would be fantastic to find a way of using the pi to play infocom and 
some
of the old dos games either via ssh or using a synth directly on the pi.
Best,

Erik Burggraaf
Freelance jack of many trades!  Visit my website:
http://www.theoutofworkbum.work
Also check out my website for inclusion to the android platform for
persons with sensery, physical or cognitive disabilities:
http://www.inclusiveandroid.com

On Jul 25, 2016, at 8:28 AM, Mike Ray <mike@xxxxxxxxxxxxxxx> wrote:

Hello.

The reason a lot of us run the console only and never bother with a GUI
is because most of the time it is faster for doing the stuff we want to
do.

I challenge anybody to find files and directories, or move files around
with a GUI file manager.

The console screen-reader using the OMX code I wrote is fine but I have
not yet written a speech-dispatcher driver for it.  As far as I know if
you don't use an external USB sound device then the espeak speech will
stutter as badly in Orca as it does in the console without using the 
OMX
code.

I have not yet bothered to write the speech-dispatcher driver since 
most
folks who want the GUI are willing to use a USB sound device and I have
very little use for the GUI myself.

Mike

On 25/07/2016 15:18, erik burggraaf wrote:
Understand,  It's a matter of application.  I need programs such as
tonido cloud that only run on raspbian.  I also like the fact that I 
can
log in from my phone and do stuff if I need to via the command line.
All the tutorials for what I want to do such as samba and donido are 
for
command line.  Plus, I really don't need the overhead of a GUI when 
I'm
expecting my pi to deliver cloud service.  It's convenient for me not 
to
have to buy and hook up a keyboard or speakers, either of which take 
up
more space and cost more than the pi did.  Well, maybe not the 
keyboard
although I'd spend more than I had to to get a simple wireless one 
that
works via dongle.
The command line stinks unless you have very good tutorials or a prior
deep understanding of the ways in which linux treats hardware, file
systems, internet connections and so on.  It can take a couple of 
tries
to get something right, and it can be unfriendly in the way it reports
back, but it suits my needs better than the GUI.

Best,

Erik Burggraaf
Freelance jack of many trades!  Visit my website:
http://www.theoutofworkbum.work ;<http://www.theoutofworkbum.work/>
Also check out my website for inclusion to the android platform for
persons with sensery, physical or cognitive disabilities:
http://www.inclusiveandroid.com ;<http://www.inclusiveandroid.com/>

On Jul 25, 2016, at 5:31 AM, Petr Bláha <hammet.pb@xxxxxxxxx
<mailto:hammet.pb@xxxxxxxxx>> wrote:

Hello,
i absolutelly don`t understand why all the blind users work via 
console
on their raspberry machines.
I have installed Ubuntu Mate 16.04 with Orca and it works great.
Only issue i have noticed is that you can`t use pulseaudio, it 
doesn`t
work properly, not only with orca but also non blind users reported
this.
But when you reove pulseaudio, alsa becomes the defauld sound service
so that you are able to hear what Orca sais.

25. 7. 2016 v 14:19, Silberman, Kenneth A. (GSFC-1600)
<kenneth.a.silberman@xxxxxxxx>:

I successfully installed
2016-02-01-raspbian-jessie-with-console-speech.img.  Does anyone 
know
if you can run Orca in order to use the GUI?  Thanks.
Ken
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the 
Raspberry
Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the
views and attitudes expressed by the subscribers to this list do not
reflect those of the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the 
Raspberry
Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the
views and attitudes expressed by the subscribers to this list do not
reflect those of the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
<//www.freelists.org/archives/raspberry-vi>
Administrative contact: <mike.ray@xxxxxxxxxxxxxx
<mailto:mike.ray@xxxxxxxxxxxxxx>>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry
Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views
and attitudes expressed by the subscribers to this list do not reflect
those of the Foundation.

Mike Ray, list creator, January 2013

-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/ ;<http://eyesfreelinux.ninja/>

Raspberry VI:
http://www.raspberryvi.org/ ;<http://www.raspberryvi.org/>

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
<//www.freelists.org/archives/raspberry-vi>
Administrative contact: <mike.ray@xxxxxxxxxxxxxx
<mailto:mike.ray@xxxxxxxxxxxxxx>>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry 
Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views
and attitudes expressed by the subscribers to this list do not reflect
those of the Foundation.

Mike Ray, list creator, January 2013
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry 
Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views
and attitudes expressed by the subscribers to this list do not reflect
those of the Foundation.

Mike Ray, list creator, January 2013

-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/

Raspberry VI:
http://www.raspberryvi.org/

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views 
and attitudes expressed by the subscribers to this list do not reflect 
those of the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views 
and attitudes expressed by the subscribers to this list do not reflect 
those of the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of 
the Foundation.

Mike Ray, list creator, January 2013



=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: