[raspberry-vi] Re: Quick start again

  • From: Jack Falejjczyk <jackf723@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Fri, 30 Dec 2016 18:56:08 -0600

So basically, what I get if done right is terminal speech via analog
audio, and, at least on my end, mate audio using usb audio. So what
has to be done is the usb soundcard obviously has to be inserted when
you power up the pi, but you should also have speakers plugged into
the analog output. There is some supposed way to fix this if you go
into sound properties in mate and change the audio output so it's not
using audio adapter, but mate uses Alsa and while espeak doesn't
stutter persay, it does introduce a little under a second of lag.
Granted, I'm using a Miccus Minijack tx4 connected to a bluetooth
speaker which inevitably produces a little bit of latency, but we're
talking miliseconds here, thus Alsa is definitely responsible for the
better part of the latency.

On 12/30/16, Mike Ray <mike@xxxxxxxxxxxxxxx> wrote:

Pranav

You need to follow the instructions exactly.  Piespeakup will NOT work
with a soundcard but will work with either the headphone jack or HDMI
audio.

It will give you console screen-reader speakup with no stuttering.

In the page:

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

There is a link to a podcast of me demonstrating the stuttering and the
fixed audio with my OMX code and piespeakup.

Mike


On 30/12/2016 23:24, Pranav Lal wrote:
Hi Mike,

I currently have espeak working with an external sound card. Can I use
your instructions to switch to using espeak via the regular headphone
jack? I am using raspbian jessie.

Pranav

-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx
[mailto:raspberry-vi-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Ray
Sent: Friday, December 30, 2016 9:27 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Quick start again

Hello

Again here are some quick start instructions for the new build method for
the OMX audio code and piespeakup.

First, it seems the armv7 Arch image is broken, but the armv6h image will
work on all Pis.

To install on either Arch or Raspbian:

OMX code:

wget http://www.raspberryvi.org/Downloads/ilctts-1.0.0.tar.gz
tar zxvf ilctts-1.0.0.tar.gz
cd ilctts-1.0.0
./configure
make
sudo make install
sudo ldconfig

Piespeakup:

wget http://www.raspberryvi.org/Downloads/piespeakup-1.0.0.tar.gz
tar zxvf piespeakup-1.0.0.tar.gz
cd piespeakup-1.0.0
./configure
make
sudo make install
sudo modprobe speakup_soft
sudo systemctl enable piespeakup
sudo systemctl start piespeakup

On Arch you will need to add this line to the bottom of /boot/config.txt
:

dtparam=audio=on

And note the word 'Downloads' in the above wgets has a capital D.

To change from the 3.5mm jack to HDMI, edit:

/etc/systemd/system/piespeakup.conf

And change --device=local to --device=hdmi

(I can't test that bit because i do not have an HDMI TV or monitor).

Mike


--
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



--
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

Other related posts: