saving rate
Janina Sajka
janina at afb.net
Mon Apr 22 20:59:34 EDT 2002
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 at 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 at afb.net Phone: (202) 408-8175
> > > >
> > > > Chair, Accessibility SIG
> > > > Open Electronic Book Forum (OEBF)
> > > > http://www.openebook.org
> > > >
> > > >
> > > > _______________________________________________
> > > > Speakup mailing list
> > > > Speakup at braille.uwo.ca
> > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > >
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup at 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 at afb.net Phone: (202) 408-8175
> >
> > Chair, Accessibility SIG
> > Open Electronic Book Forum (OEBF)
> > http://www.openebook.org
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at 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 at afb.net Phone: (202) 408-8175
Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org
More information about the Speakup
mailing list