Re: best way to change speakup defaults in debian automatically when the system boots into console mode

2024-03-21 Thread Samuel Thibault
Frank Carmickle wrote:
> Samuel, would it be a good idea to add a check for the existence of 
> speakupconf in the espeakup systemd unit, and if it exists, load the config?

Ideally it'd stay within the speakup-tools package.

And we need to make sure this gets started at the proper time, i.e. not
before the speakup module is loaded. I have tried putting the script
call into /etc/modprobe.d/ with an install line, and it works fine, I'll
upload that.

Samuel



Re: best way to change speakup defaults in debian automatically when the system boots into console mode

2024-03-21 Thread Frank Carmickle
On Mar 21, 2024, at 13:39, Chime Hart  wrote:
> 
> Well Geoff, I wonder if speakupconf only has an affect on software speech? 
> Anyway, as I have mentioned in multiple lists since 2003, I have a DecTalk 
> USB, similar to an Express. The settings in dectlk.c are not what I want. 
> While reading, scrolling, or booting, the rate drops from my prefered 229 to 
> 180, volume drops from 86 to maybe 70, and pitch from 111 down to 81. After 
> these rates drop, I must go to the speakup control-pannel-and-jossle the 
> settings by 1 click, so they are back where I set them. However, there are 
> times this will happen twice in 30seconds. I think at 1 point Samuel was 
> thinking this had to do with caps-start or stop? I thought of making a 
> recording of this trouble, but haven't done that yet. I also explored trying 
> Fenrir on this machine, but since spd-say needs to run Fenrir as root, I get 
> no sound, but spd-say works as user. After all, I have Voxin voices such as 
> Allison. I hope that best explains whats still going on.

It's been a really long time since I've used a hardware synth, but I still have 
a number of them, including DECtalk expresses, but the serial versions from the 
mid 90s.

It used to be that the speech rate, pitch, tone, and voice would respected. 
I'll see if I can set one up over here.

--FC

> Chime
> 



Re: best way to change speakup defaults in debian automatically when the system boots into console mode

2024-03-21 Thread Chime Hart
Well Geoff, I wonder if speakupconf only has an affect on software speech? 
Anyway, as I have mentioned in multiple lists since 2003, I have a DecTalk USB, 
similar to an Express. The settings in dectlk.c are not what I want. While 
reading, scrolling, or booting, the rate drops from my prefered 229 to 180, 
volume drops from 86 to maybe 70, and pitch from 111 down to 81. After these 
rates drop, I must go to the speakup control-pannel-and-jossle the settings by 
1 click, so they are back where I set them. However, there are times this will 
happen twice in 30seconds. I think at 1 point Samuel was thinking this had to 
do with caps-start or stop? I thought of making a recording of this trouble, 
but haven't done that yet. I also explored trying Fenrir on this machine, but 
since spd-say needs to run Fenrir as root, I get no sound, but spd-say works as 
user. After all, I have Voxin voices such as Allison. I hope that best explains 
whats still going on.

Chime



Re: best way to change speakup defaults in debian automatically when the system boots into console mode

2024-03-21 Thread Geoff Shang

On Thu, 21 Mar 2024, Chime Hart wrote:

Well, Frank-and-All, while I am certainly not useing espeak, I don't think 
speakupconf  does any good for these DecTalk settings, which hopefully I 
filed a bug. These seem to be defalts, unless there are ways of compiling 
changes in the drivers? I know what values I would like, but its just a 
matter of not only getting there, but making sure values aren't dropping 
back. Thanks in advance


Not quite sure what your issue is, can you explain in more detail?

To be clear, the way speakupconf works is that you get the settings as you 
would like them, then run


speakupconf save

Then any time you run

speakupconf load

the settings you saved will be restored.

HTH,
Geoff.



Re: best way to change speakup defaults in debian automatically when the system boots into console mode

2024-03-21 Thread Chime Hart
Well, Frank-and-All, while I am certainly not useing espeak, I don't think 
speakupconf  does any good for these DecTalk settings, which hopefully I filed 
a bug. These seem to be defalts, unless there are ways of compiling changes in 
the drivers? I know what values I would like, but its just a matter of not only 
getting there, but making sure values aren't dropping back. Thanks in advance

Chime



Re: best way to change speakup defaults in debian automatically when the system boots into console mode

2024-03-21 Thread Frank Carmickle


> On Mar 21, 2024, at 11:51, Geoff Shang  wrote:
> 
> On Wed, 20 Mar 2024, Nick Gawronski wrote:
> 
>> Hi, I was wondering what is the proper method as I can not locate any 
>> documentation on how to change things like rate and volume and pitch 
>> automatically when the system boots as there is no information in any of the 
>> manual pages and I do not always like manually echoing values to 
>> /sys/accessibility/speakup after the system is booted so what is the proper 
>> way to automatically set options for espeakup when the system is booted?
> 
> I use speakupconf from the speakup-tools package.
> 
> Admittedly, I've not automated the loading of settings, but it's no big deal 
> for me to type
> 
> speakupconf load
> 
> when I boot the system.
> 
> I'm sure there's an easy enough way to automate this, I've just not bothered 
> to look into it.

Right now I just put the above line in rc.local and enable the rc.local systemd 
unit. It works fine for me, and I have other things in there also.

Samuel, would it be a good idea to add a check for the existence of speakupconf 
in the espeakup systemd unit, and if it exists, load the config?

--FC