public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* saving rate
@  Igor Gueths
   ` Janina Sajka
   ` Toby Fisher
  0 siblings, 2 replies; 8+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi all. I don't remember if this was talked about before, but in any case
I don't remember what the thread (s) were called. Does anyone know how I
could save any settings that I made to any parameter in /proc/speakup? I
changed the default rate from 300 to 350 fine. However, when I have to
reboot let's say for a kernel recompile like the last time I did it, the
rate was back at 300. Is there any way to save the current settings?
Thanks!



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

* Re: saving rate
   saving rate Igor Gueths
@  ` Janina Sajka
     ` Igor Gueths
   ` Toby Fisher
  1 sibling, 1 reply; 8+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup

Your correct. The answer is in the speakup archive.

Basically, the best solution seems to be to save the settings to a directory under /etc. My directory is called speakup and I have directories below
that for each synth I use. These contain the settings I may wish to change on the fly.

Do a search for /etc/speakup in the archive to find the mail on this.

On Mon, 22 Apr 2002, Igor Gueths wrote:

> Hi all. I don't remember if this was talked about before, but in any case
> I don't remember what the thread (s) were called. Does anyone know how I
> could save any settings that I made to any parameter in /proc/speakup? I
> changed the default rate from 300 to 350 fine. However, when I have to
> reboot let's say for a kernel recompile like the last time I did it, the
> rate was back at 300. Is there any way to save the current settings?
> Thanks!
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org



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

* Re: saving rate
   ` Janina Sajka
@    ` Igor Gueths
       ` Janina Sajka
  0 siblings, 1 reply; 8+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi Janina. But does saving the settings you have changed in /etc/ actually
make it so your rate is set to whatever you set it to instead of the
default of 300?

On Mon, 22 Apr 2002, Janina Sajka wrote:

> Your correct. The answer is in the speakup archive.
>
> Basically, the best solution seems to be to save the settings to a directory under /etc. My directory is called speakup and I have directories below
> that for each synth I use. These contain the settings I may wish to change on the fly.
>
> Do a search for /etc/speakup in the archive to find the mail on this.
>
> On Mon, 22 Apr 2002, Igor Gueths wrote:
>
> > Hi all. I don't remember if this was talked about before, but in any case
> > I don't remember what the thread (s) were called. Does anyone know how I
> > could save any settings that I made to any parameter in /proc/speakup? I
> > changed the default rate from 300 to 350 fine. However, when I have to
> > reboot let's say for a kernel recompile like the last time I did it, the
> > rate was back at 300. Is there any way to save the current settings?
> > Thanks!
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> --
>
> 				Janina Sajka, Director
> 				Technology Research and Development
> 				Governmental Relations Group
> 				American Foundation for the Blind (AFB)
>
> Email: janina@afb.net		Phone: (202) 408-8175
>
> Chair, Accessibility SIG
> Open Electronic Book Forum (OEBF)
> http://www.openebook.org
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



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

* Re: saving rate
     ` Igor Gueths
@      ` Janina Sajka
         ` Igor Gueths
  0 siblings, 1 reply; 8+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup

No, not saving. You then have to copy those values into /proc/speakup. Let me go get my alias command ...

alias s="cp /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup"
s

The first of these two defines an alias which I call s. The second calls the alias. This is from my .bash_profile.

Thereafter, if my settings go kerflooee, I just issue another s <ENTER>

and all is back as it should be.


On Mon, 22 Apr 2002, Igor Gueths wrote:

> Hi Janina. But does saving the settings you have changed in /etc/ actually
> make it so your rate is set to whatever you set it to instead of the
> default of 300?
> 
> On Mon, 22 Apr 2002, Janina Sajka wrote:
> 
> > Your correct. The answer is in the speakup archive.
> >
> > Basically, the best solution seems to be to save the settings to a directory under /etc. My directory is called speakup and I have directories below
> > that for each synth I use. These contain the settings I may wish to change on the fly.
> >
> > Do a search for /etc/speakup in the archive to find the mail on this.
> >
> > On Mon, 22 Apr 2002, Igor Gueths wrote:
> >
> > > Hi all. I don't remember if this was talked about before, but in any case
> > > I don't remember what the thread (s) were called. Does anyone know how I
> > > could save any settings that I made to any parameter in /proc/speakup? I
> > > changed the default rate from 300 to 350 fine. However, when I have to
> > > reboot let's say for a kernel recompile like the last time I did it, the
> > > rate was back at 300. Is there any way to save the current settings?
> > > Thanks!
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> > --
> >
> > 				Janina Sajka, Director
> > 				Technology Research and Development
> > 				Governmental Relations Group
> > 				American Foundation for the Blind (AFB)
> >
> > Email: janina@afb.net		Phone: (202) 408-8175
> >
> > Chair, Accessibility SIG
> > Open Electronic Book Forum (OEBF)
> > http://www.openebook.org
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org



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

* Re: saving rate
       ` Janina Sajka
@        ` Igor Gueths
           ` Janina Sajka
  0 siblings, 1 reply; 8+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi Janina. I know this might be stupid, but I would think you leave the
quotes in in this case? Normally I wouldn't be asking this, but judging
from the fact that its a script we're talking about, do the quotes serve
as identifiers to the command itself, and the ` just means a next-command
type function? Based on your alias command, I have derived the following.
Note: Going to leave in quotes for now, bug please correct if wrong.

alias s="echo 350 >/proc/speakup/rate"

	In Theory, I would think that the above command aliased to s would
reset the rate back to 350. The reason I left out copying the values to
/etc is because I don't have more than one synth (it could be different in
your case), so I figured I'd just leave it in /proc/speakup.

On Mon, 22 Apr 2002, Janina Sajka wrote:

> No, not saving. You then have to copy those values into /proc/speakup. Let me go get my alias command ...
>
> alias s="cp /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup"
> s
>
> The first of these two defines an alias which I call s. The second calls the alias. This is from my .bash_profile.
>
> Thereafter, if my settings go kerflooee, I just issue another s <ENTER>
>
> and all is back as it should be.
>
>
> On Mon, 22 Apr 2002, Igor Gueths wrote:
>
> > Hi Janina. But does saving the settings you have changed in /etc/ actually
> > make it so your rate is set to whatever you set it to instead of the
> > default of 300?
> >
> > On Mon, 22 Apr 2002, Janina Sajka wrote:
> >
> > > Your correct. The answer is in the speakup archive.
> > >
> > > Basically, the best solution seems to be to save the settings to a directory under /etc. My directory is called speakup and I have directories below
> > > that for each synth I use. These contain the settings I may wish to change on the fly.
> > >
> > > Do a search for /etc/speakup in the archive to find the mail on this.
> > >
> > > On Mon, 22 Apr 2002, Igor Gueths wrote:
> > >
> > > > Hi all. I don't remember if this was talked about before, but in any case
> > > > I don't remember what the thread (s) were called. Does anyone know how I
> > > > could save any settings that I made to any parameter in /proc/speakup? I
> > > > changed the default rate from 300 to 350 fine. However, when I have to
> > > > reboot let's say for a kernel recompile like the last time I did it, the
> > > > rate was back at 300. Is there any way to save the current settings?
> > > > Thanks!
> > > >
> > > >
> > > > _______________________________________________
> > > > Speakup mailing list
> > > > Speakup@braille.uwo.ca
> > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > >
> > >
> > > --
> > >
> > > 				Janina Sajka, Director
> > > 				Technology Research and Development
> > > 				Governmental Relations Group
> > > 				American Foundation for the Blind (AFB)
> > >
> > > Email: janina@afb.net		Phone: (202) 408-8175
> > >
> > > Chair, Accessibility SIG
> > > Open Electronic Book Forum (OEBF)
> > > http://www.openebook.org
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> --
>
> 				Janina Sajka, Director
> 				Technology Research and Development
> 				Governmental Relations Group
> 				American Foundation for the Blind (AFB)
>
> Email: janina@afb.net		Phone: (202) 408-8175
>
> Chair, Accessibility SIG
> Open Electronic Book Forum (OEBF)
> http://www.openebook.org
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



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

* Re: saving rate
         ` Igor Gueths
@          ` Janina Sajka
             ` Igor Gueths
  0 siblings, 1 reply; 8+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup

Yes, this will work very well, Igor.

I started with this kind of alias too. But I soon discovered that I might want to reset my punctuation level, and my
default voice. And, as you suggest, I do have several synths that I might happen to be using.

The quotes are important, I think. I have never tried without them, in any case. I think of them as identifying a single
entity in the alias--all of the params to the right of the equals sign.

On Mon, 22 Apr 2002, Igor Gueths wrote:

> Hi Janina. I know this might be stupid, but I would think you leave the
> quotes in in this case? Normally I wouldn't be asking this, but judging
> from the fact that its a script we're talking about, do the quotes serve
> as identifiers to the command itself, and the ` just means a next-command
> type function? Based on your alias command, I have derived the following.
> Note: Going to leave in quotes for now, bug please correct if wrong.
> 
> alias s="echo 350 >/proc/speakup/rate"
> 
> 	In Theory, I would think that the above command aliased to s would
> reset the rate back to 350. The reason I left out copying the values to
> /etc is because I don't have more than one synth (it could be different in
> your case), so I figured I'd just leave it in /proc/speakup.
> 
> On Mon, 22 Apr 2002, Janina Sajka wrote:
> 
> > No, not saving. You then have to copy those values into /proc/speakup. Let me go get my alias command ...
> >
> > alias s="cp /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup"
> > s
> >
> > The first of these two defines an alias which I call s. The second calls the alias. This is from my .bash_profile.
> >
> > Thereafter, if my settings go kerflooee, I just issue another s <ENTER>
> >
> > and all is back as it should be.
> >
> >
> > On Mon, 22 Apr 2002, Igor Gueths wrote:
> >
> > > Hi Janina. But does saving the settings you have changed in /etc/ actually
> > > make it so your rate is set to whatever you set it to instead of the
> > > default of 300?
> > >
> > > On Mon, 22 Apr 2002, Janina Sajka wrote:
> > >
> > > > Your correct. The answer is in the speakup archive.
> > > >
> > > > Basically, the best solution seems to be to save the settings to a directory under /etc. My directory is called speakup and I have directories below
> > > > that for each synth I use. These contain the settings I may wish to change on the fly.
> > > >
> > > > Do a search for /etc/speakup in the archive to find the mail on this.
> > > >
> > > > On Mon, 22 Apr 2002, Igor Gueths wrote:
> > > >
> > > > > Hi all. I don't remember if this was talked about before, but in any case
> > > > > I don't remember what the thread (s) were called. Does anyone know how I
> > > > > could save any settings that I made to any parameter in /proc/speakup? I
> > > > > changed the default rate from 300 to 350 fine. However, when I have to
> > > > > reboot let's say for a kernel recompile like the last time I did it, the
> > > > > rate was back at 300. Is there any way to save the current settings?
> > > > > Thanks!
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Speakup mailing list
> > > > > Speakup@braille.uwo.ca
> > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > >
> > > >
> > > > --
> > > >
> > > > 				Janina Sajka, Director
> > > > 				Technology Research and Development
> > > > 				Governmental Relations Group
> > > > 				American Foundation for the Blind (AFB)
> > > >
> > > > Email: janina@afb.net		Phone: (202) 408-8175
> > > >
> > > > Chair, Accessibility SIG
> > > > Open Electronic Book Forum (OEBF)
> > > > http://www.openebook.org
> > > >
> > > >
> > > > _______________________________________________
> > > > Speakup mailing list
> > > > Speakup@braille.uwo.ca
> > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > >
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> > --
> >
> > 				Janina Sajka, Director
> > 				Technology Research and Development
> > 				Governmental Relations Group
> > 				American Foundation for the Blind (AFB)
> >
> > Email: janina@afb.net		Phone: (202) 408-8175
> >
> > Chair, Accessibility SIG
> > Open Electronic Book Forum (OEBF)
> > http://www.openebook.org
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org



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

* Re: saving rate
           ` Janina Sajka
@            ` Igor Gueths
  0 siblings, 0 replies; 8+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi Janina. What I ended up doing was writing a start-up script which will run the alias command at boot time, because when I had to reboot to load my new rebuilt kernel, I saw that the alias s had been removed for some reason. Will have to dig around to find out why.
----- Original Message ----- 
From: Janina Sajka <janina@afb.net>
To: <speakup@braille.uwo.ca>
Sent: Monday, April 22, 2002 8:59 PM
Subject: Re: saving rate


> Yes, this will work very well, Igor.
> 
> I started with this kind of alias too. But I soon discovered that I might want to reset my punctuation level, and my
> default voice. And, as you suggest, I do have several synths that I might happen to be using.
> 
> The quotes are important, I think. I have never tried without them, in any case. I think of them as identifying a single
> entity in the alias--all of the params to the right of the equals sign.
> 
> On Mon, 22 Apr 2002, Igor Gueths wrote:
> 
> > Hi Janina. I know this might be stupid, but I would think you leave the
> > quotes in in this case? Normally I wouldn't be asking this, but judging
> > from the fact that its a script we're talking about, do the quotes serve
> > as identifiers to the command itself, and the ` just means a next-command
> > type function? Based on your alias command, I have derived the following.
> > Note: Going to leave in quotes for now, bug please correct if wrong.
> > 
> > alias s="echo 350 >/proc/speakup/rate"
> > 
> > In Theory, I would think that the above command aliased to s would
> > reset the rate back to 350. The reason I left out copying the values to
> > /etc is because I don't have more than one synth (it could be different in
> > your case), so I figured I'd just leave it in /proc/speakup.
> > 
> > On Mon, 22 Apr 2002, Janina Sajka wrote:
> > 
> > > No, not saving. You then have to copy those values into /proc/speakup. Let me go get my alias command ...
> > >
> > > alias s="cp /etc/speakup/`cat /proc/speakup/synth`/* /proc/speakup"
> > > s
> > >
> > > The first of these two defines an alias which I call s. The second calls the alias. This is from my .bash_profile.
> > >
> > > Thereafter, if my settings go kerflooee, I just issue another s <ENTER>
> > >
> > > and all is back as it should be.
> > >
> > >
> > > On Mon, 22 Apr 2002, Igor Gueths wrote:
> > >
> > > > Hi Janina. But does saving the settings you have changed in /etc/ actually
> > > > make it so your rate is set to whatever you set it to instead of the
> > > > default of 300?
> > > >
> > > > On Mon, 22 Apr 2002, Janina Sajka wrote:
> > > >
> > > > > Your correct. The answer is in the speakup archive.
> > > > >
> > > > > Basically, the best solution seems to be to save the settings to a directory under /etc. My directory is called speakup and I have directories below
> > > > > that for each synth I use. These contain the settings I may wish to change on the fly.
> > > > >
> > > > > Do a search for /etc/speakup in the archive to find the mail on this.
> > > > >
> > > > > On Mon, 22 Apr 2002, Igor Gueths wrote:
> > > > >
> > > > > > Hi all. I don't remember if this was talked about before, but in any case
> > > > > > I don't remember what the thread (s) were called. Does anyone know how I
> > > > > > could save any settings that I made to any parameter in /proc/speakup? I
> > > > > > changed the default rate from 300 to 350 fine. However, when I have to
> > > > > > reboot let's say for a kernel recompile like the last time I did it, the
> > > > > > rate was back at 300. Is there any way to save the current settings?
> > > > > > Thanks!
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Speakup mailing list
> > > > > > Speakup@braille.uwo.ca
> > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Janina Sajka, Director
> > > > > Technology Research and Development
> > > > > Governmental Relations Group
> > > > > American Foundation for the Blind (AFB)
> > > > >
> > > > > Email: janina@afb.net Phone: (202) 408-8175
> > > > >
> > > > > Chair, Accessibility SIG
> > > > > Open Electronic Book Forum (OEBF)
> > > > > http://www.openebook.org
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Speakup mailing list
> > > > > Speakup@braille.uwo.ca
> > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Speakup mailing list
> > > > Speakup@braille.uwo.ca
> > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > >
> > >
> > > --
> > >
> > > Janina Sajka, Director
> > > Technology Research and Development
> > > Governmental Relations Group
> > > American Foundation for the Blind (AFB)
> > >
> > > Email: janina@afb.net Phone: (202) 408-8175
> > >
> > > Chair, Accessibility SIG
> > > Open Electronic Book Forum (OEBF)
> > > http://www.openebook.org
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> > 
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> 
> -- 
> 
> Janina Sajka, Director
> Technology Research and Development
> Governmental Relations Group
> American Foundation for the Blind (AFB)
> 
> Email: janina@afb.net Phone: (202) 408-8175
> 
> Chair, Accessibility SIG
> Open Electronic Book Forum (OEBF)
> http://www.openebook.org
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



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

* Re: saving rate
   saving rate Igor Gueths
   ` Janina Sajka
@  ` Toby Fisher
  1 sibling, 0 replies; 8+ messages in thread
From: Toby Fisher @  UTC (permalink / raw)
  To: speakup

On Mon, 22 Apr 2002, Igor Gueths wrote:

> Hi all. I don't remember if this was talked about before, but in any case
> I don't remember what the thread (s) were called. Does anyone know how I
> could save any settings that I made to any parameter in /proc/speakup? I
> changed the default rate from 300 to 350 fine. However, when I have to
> reboot let's say for a kernel recompile like the last time I did it, the
> rate was back at 300. Is there any way to save the current settings?

Yes, just put the commands you use into your startup scripts somewhere, on
my Slakware system I use /etc/rc.d/rc.local

HTH

-- 
Toby Fisher	Email: toby@g0ucu.freeserve.co.uk
Tel.: +44(0)1480 417272	Mobile: +44(0)7974 363239
ICQ: #61744808
   Please avoid sending me Word or PowerPoint attachments.
   See http://www.fsf.org/philosophy/no-word-attachments.html




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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 saving rate Igor Gueths
 ` Janina Sajka
   ` Igor Gueths
     ` Janina Sajka
       ` Igor Gueths
         ` Janina Sajka
           ` Igor Gueths
 ` Toby Fisher

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