Espeakup and Speech-Dispatcher-git--Fighting again?

Didier Spaier didier at slint.fr
Fri Mar 22 12:23:17 EDT 2019


Hi Janina,

IIRC you are running Arch. Right?

If yes, looking at the PKGBUILD I see that it grabs a snapshot from
git at the commit d25ed10d dated 22 nov. 2018:
https://github.com/brailcom/speechd/commit/d25ed10d5ede8c0f747211928fbd5f742d753556

So I am puzzled that you just get it, knowing the PKGBUILD was last updated
on 24. Nov. 2018...

So, I can't see a reason for speech-dispatcher be in concern for an issue
occurring this week.

And espeakup-git (if that's what you use) was last updated on
2019-01-03 18:14.

So I am puzzled. I don't know what happened recently, but this issue should be
reported to your distribution rather than to upstream IMHO.

Also, a tip: you can set ALSA_CARD before starting espeakup, it will
honor this setting. This how we now do in Slint, cf. attached file
/etc/espeakup.conf.

To know which files are involved in Arch, have a look at the bottom
of https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=espeakup-git

Sorry I can't provide further guidance, not running Arch.

Best,

Didier


On 22/03/2019 15:43, Janina Sajka wrote:
> I tend to update globally about once a week, usually on Fridays. With
> today's update of Speech-Dispatcher-git Espeakup is broken.
> 
> 1.)	I boot to a console login. Works as expected. Speakup speaks
> with Espeak on hw:0. Yes, I'm using alsa, not pulse.
> 
> 2.)	I launch the graphical desktop with startx and Orca comes up
> over Speech-Dispatcher using libao on hw:1 as specified in speechd.conf.
> 
> 3.)	Switching back to any console, speech is gone. Doing a systemctl
> restart espeakup puts speech on hw:2.
> 
> This is bonkers.
> 
> PS: Isn't it time we could control what device the soft synth driver
> speaks to with a configuration option? Perhaps an additional parameter
> in /etc/conf.d/espeakup?
> 
> Or is it supposed to be in /etc/speakup/espeakup?
> 
> Both those configs say basically the same thing, but they're not
> symlinked. Why?
> 
> Okash Khawaja writes:
>> On Sat, 16 Mar 2019 20:21:07 +0100
>> Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
>>
>>> Chuck Hallenbeck, le sam. 16 mars 2019 15:14:20 -0400, a ecrit:
>>>> 5.1 slow down the display, so it never accumulates a large amount of
>>>> unspoken date,  
>>>
>>> This should be already done by speakup_stop_ttys().
>>>
>>>> or 5.2 don't be surprised if the speech gets garbled due to a buffer
>>>> overflow condition somewhere in the speech chain.  
>>>
>>> Okash, maybe you could add an overflow warning inside
>>> synth_buffer_add() in the synth_buffer_free() <= 1 case.
>>
>> Sure, that should be straightforward. I'll test it locally.
>>
>> Thanks,
>> Okash 
>> _______________________________________________
>> Speakup mailing list
>> Speakup at linux-speakup.org
>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
> 
-------------- next part --------------
# Configuration file for espeakup

# To provide a value that differs from the default one, remove the first
# character '#' from the line and modify the value.
# Values outside the authorized range are silently ignored.

# Your modifications will be applied when espeakup will be restarted
# For that, save the modified file then either reboot or type as root:
# /etc/rc.d/rc.espeakup restart

# ***Voice
# The voice used should match the language in use. If a voice is set
# below, it will be used, else it will be chosen to match the value of
# the $LANG environment variable.
# To know available voices per language type this command:
# list-espeak-ng-voices
# You may prefer to use one of the mbrola voices, that sound more
# natural. To list the installed ones type:
# spd-say -o espeak-ng-mbrola-generic -L
# The mbrola voice name in the first column should be preceded by 'mb-'
# For instance to use a French female voice you would write:
# voice=mb-fr2
#
#voice=en

# ***Rate or speech speed
# minimum:0 maximum:9 
#rate=2

# ***Sound volume
#minimum:0 maximum:9
# If you set it to 0 you won't hear anything...
#vol=4

# ***Pitch adjustment: a bigger value gives a more acute sound
# 
#minimum:0 maximum:9
#pitch=3

# You only need to set the value of ALSA_CARD if you have several sound
# cards and want to specify which one espeakup should send the speech
# to, otherwise the default sound card will be used. The value should be
# a number in a range beginning with 0, like for instance ALSA_CARD=1 or
# the corresponding id, preferable as the sounds cards number can
# change, like ALSA_CARD=PCH. To know the number and id of your cards,
# type: list-cards. To know more about your sound cards, type: aplay -l
# or aplay -L
# By default ALSA_CARD=0 (the first sound card), but if you used
# espeakup during installation, ALSA_CARD will be initially set to the
# id of the card you selected at the beginning of Slint installation
# 
#ALSA_CARD=0


More information about the Speakup mailing list