public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* killing speech from cli
@  Daniel Dalton
   ` Zachary Kline
   ` Gaijin
  0 siblings, 2 replies; 13+ messages in thread
From: Daniel Dalton @  UTC (permalink / raw)
  To: Speakup

Hi,

Is there a command line argument or something I can echo to speakup to
kill speech? And is there one to echo to get speakup back up talking
again? I'm using software speech with speechd. I'm wanting a command to
turn speech on and off so I can call this from within a script.

Thanks,

Danny

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

* Re: killing speech from cli
   killing speech from cli Daniel Dalton
@  ` Zachary Kline
     ` Nick Stockton
     ` Daniel Dalton
   ` Gaijin
  1 sibling, 2 replies; 13+ messages in thread
From: Zachary Kline @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Danny,
    I'm not a speakup developer, so one of them should feel free to correct 
me if I'm wrong.
    However, in the version of speakup I have, 3.0.3, there isn't a way to 
do this from the CLI.
    The only way I'm aware of is to use the keyboard command to kill 
speakup--think it's the "print screen" key?
    I've just been looking around the /sys/modules/speakup/parameters 
directory and not found anything obvious.
Hope this helps,
Zack.

----- Original Message ----- 
From: "Daniel Dalton" <d.dalton@iinet.net.au>
To: "Speakup" <Speakup@braille.uwo.ca>
Sent: Friday, November 21, 2008 6:59 PM
Subject: killing speech from cli


> Hi,
>
> Is there a command line argument or something I can echo to speakup to
> kill speech? And is there one to echo to get speakup back up talking
> again? I'm using software speech with speechd. I'm wanting a command to
> turn speech on and off so I can call this from within a script.
>
> Thanks,
>
> Danny
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> 


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

* Re: killing speech from cli
   ` Zachary Kline
@    ` Nick Stockton
     ` Daniel Dalton
  1 sibling, 0 replies; 13+ messages in thread
From: Nick Stockton @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I wish there was one as well.  It would make speech interupts in my mud 
client alot easier.  At the moment I have to sent a control code to my 
doubletalk while it's speaking which doesn't always work if speakup is still 
sending text to it.

Nick Stockton
----- Original Message ----- 
From: "Zachary Kline" <klinez@onid.orst.edu>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Friday, November 21, 2008 10:18 PM
Subject: Re: killing speech from cli


> Hi Danny,
>    I'm not a speakup developer, so one of them should feel free to correct 
> me if I'm wrong.
>    However, in the version of speakup I have, 3.0.3, there isn't a way to 
> do this from the CLI.
>    The only way I'm aware of is to use the keyboard command to kill 
> speakup--think it's the "print screen" key?
>    I've just been looking around the /sys/modules/speakup/parameters 
> directory and not found anything obvious.
> Hope this helps,
> Zack.
>
> ----- Original Message ----- 
> From: "Daniel Dalton" <d.dalton@iinet.net.au>
> To: "Speakup" <Speakup@braille.uwo.ca>
> Sent: Friday, November 21, 2008 6:59 PM
> Subject: killing speech from cli
>
>
>> Hi,
>>
>> Is there a command line argument or something I can echo to speakup to
>> kill speech? And is there one to echo to get speakup back up talking
>> again? I'm using software speech with speechd. I'm wanting a command to
>> turn speech on and off so I can call this from within a script.
>>
>> Thanks,
>>
>> Danny
>> _______________________________________________
>> 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
>
> __________ Information from ESET Smart Security, version of virus 
> signature database 3630 (20081121) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
> 


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

* Re: killing speech from cli
   ` Zachary Kline
     ` Nick Stockton
@    ` Daniel Dalton
       ` Chris Brannon
  1 sibling, 1 reply; 13+ messages in thread
From: Daniel Dalton @  UTC (permalink / raw)
  To: speakup

Hey Zack,

Thanks for the reply. I thought you could echo none or your synth name
to the synth file in the sys file system, however, I can kill speech, but
can't get it back... I'll have to try the latest speakup out of guit
when I get time and see if I can do it with this...

Cheers,

Danny


On Fri, Nov 21, 2008 at 07:18:02PM -0800, Zachary Kline wrote:
> Hi Danny,
>    I'm not a speakup developer, so one of them should feel free to 
> correct me if I'm wrong.
>    However, in the version of speakup I have, 3.0.3, there isn't a way to 
> do this from the CLI.
>    The only way I'm aware of is to use the keyboard command to kill  
> speakup--think it's the "print screen" key?
>    I've just been looking around the /sys/modules/speakup/parameters  
> directory and not found anything obvious.
> Hope this helps,
> Zack.
>
> ----- Original Message ----- From: "Daniel Dalton" 
> <d.dalton@iinet.net.au>
> To: "Speakup" <Speakup@braille.uwo.ca>
> Sent: Friday, November 21, 2008 6:59 PM
> Subject: killing speech from cli
>
>
>> Hi,
>>
>> Is there a command line argument or something I can echo to speakup to
>> kill speech? And is there one to echo to get speakup back up talking
>> again? I'm using software speech with speechd. I'm wanting a command to
>> turn speech on and off so I can call this from within a script.
>>
>> Thanks,
>>
>> Danny
>> _______________________________________________
>> 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

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

* Re: killing speech from cli
   killing speech from cli Daniel Dalton
   ` Zachary Kline
@  ` Gaijin
  1 sibling, 0 replies; 13+ messages in thread
From: Gaijin @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

On Sat, Nov 22, 2008 at 01:59:10PM +1100, Daniel Dalton wrote:
> Is there a command line argument or something I can echo to speakup to
> kill speech? And is there one to echo to get speakup back up talking

	While I haven't tried it myself, I would assume rmmod and
instmod would work to unload and reload the module, if it's the loadable
type.  Maybe something like:

#!/bin/sh
rmmod (your-speakup-module
echo "SpeakUP has been unloaded."
instmod <your-speakup-module>
echo "SpeakUP module has been loaded."

...to test this out.  HTH,

			Michael


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

* Re: killing speech from cli
     ` Daniel Dalton
@      ` Chris Brannon
         ` Chuck Hallenbeck
         ` Daniel Dalton
  0 siblings, 2 replies; 13+ messages in thread
From: Chris Brannon @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Daniel Dalton <d.dalton@iinet.net.au> writes:

> Thanks for the reply. I thought you could echo none or your synth name
> to the synth file in the sys file system, however, I can kill speech, but
> can't get it back... I'll have to try the latest speakup out of guit

Yes, you can change synths by echoing the name to
/sys/module/speakup/parameters/synth
Echoing a value of none will stop speech.  You also need to kill
speechd-up before changing synths.
This applies to espeakup too.
You probably don't have speech after changing synth from none to soft,
because your old daemon is running.  It's reading from a file descriptor
which became invalid as soon as you changed synth from soft to none.
That's just a wild guess on my part.

-- Chris

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

* Re: killing speech from cli
       ` Chris Brannon
@        ` Chuck Hallenbeck
           ` Daniel Dalton
         ` Daniel Dalton
  1 sibling, 1 reply; 13+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

The scripts speakwith and talkwith can be called from another script to
make the transition from none to soft smoothly.


On Sat, Nov 22, 2008 at 06:43:32AM -0600, Chris Brannon wrote:
> Daniel Dalton <d.dalton@iinet.net.au> writes:
> 
> > Thanks for the reply. I thought you could echo none or your synth name
> > to the synth file in the sys file system, however, I can kill speech, but
> > can't get it back... I'll have to try the latest speakup out of guit
> 
> Yes, you can change synths by echoing the name to
> /sys/module/speakup/parameters/synth
> Echoing a value of none will stop speech.  You also need to kill
> speechd-up before changing synths.
> This applies to espeakup too.
> You probably don't have speech after changing synth from none to soft,
> because your old daemon is running.  It's reading from a file descriptor
> which became invalid as soon as you changed synth from soft to none.
> That's just a wild guess on my part.
> 
> -- Chris
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waning Crescent (23% of Full)

                My web site: http://hallenbeck.ftml.net
                                --------
A right is not what someone gives you; it's what no one can take from you.
		-- Ramsey Clark

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

* Re: killing speech from cli
       ` Chris Brannon
         ` Chuck Hallenbeck
@        ` Daniel Dalton
  1 sibling, 0 replies; 13+ messages in thread
From: Daniel Dalton @  UTC (permalink / raw)
  To: speakup

Hi,

Yep echo now works, I reverted back from kernel 2.6.26 to 2.6.25, and
when I get time I'll debug it. But changing permissions of
speakup/parameters/synth and echoing from my script worked...

Thanks for your help,

Danny


On Sat, Nov 22, 2008 at 06:43:32AM -0600, Chris Brannon wrote:
> Daniel Dalton <d.dalton@iinet.net.au> writes:
> 
> > Thanks for the reply. I thought you could echo none or your synth name
> > to the synth file in the sys file system, however, I can kill speech, but
> > can't get it back... I'll have to try the latest speakup out of guit
> 
> Yes, you can change synths by echoing the name to
> /sys/module/speakup/parameters/synth
> Echoing a value of none will stop speech.  You also need to kill
> speechd-up before changing synths.
> This applies to espeakup too.
> You probably don't have speech after changing synth from none to soft,
> because your old daemon is running.  It's reading from a file descriptor
> which became invalid as soon as you changed synth from soft to none.
> That's just a wild guess on my part.
> 
> -- Chris
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

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

* Re: killing speech from cli
         ` Chuck Hallenbeck
@          ` Daniel Dalton
             ` Chuck Hallenbeck
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Dalton @  UTC (permalink / raw)
  To: speakup

On Sat, Nov 22, 2008 at 09:53:20AM -0500, Chuck Hallenbeck wrote:
> The scripts speakwith and talkwith can be called from another script to
> make the transition from none to soft smoothly.

Sorry, I must have missed this mail... Where can I obtain these scripts?

Thanks,

Daniel

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

* Re: killing speech from cli
           ` Daniel Dalton
@            ` Chuck Hallenbeck
               ` Daniel Dalton
  0 siblings, 1 reply; 13+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Daniel,

They are in the extras directory of the speakup directory created by
git.

Also on my web site.

There are two of them: speakwith works with speech-dispatcher, talkwith
works with espeakup.

Chuck

On Fri, Nov 28, 2008 at 06:44:29PM +1100, Daniel Dalton wrote:
> On Sat, Nov 22, 2008 at 09:53:20AM -0500, Chuck Hallenbeck wrote:
> > The scripts speakwith and talkwith can be called from another script to
> > make the transition from none to soft smoothly.
> 
> Sorry, I must have missed this mail... Where can I obtain these scripts?
> 
> Thanks,
> 
> Daniel
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is New

                My web site: http://hallenbeck.ftml.net
                                --------
A right is not what someone gives you; it's what no one can take from you.
		-- Ramsey Clark

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

* Re: killing speech from cli
             ` Chuck Hallenbeck
@              ` Daniel Dalton
                 ` Chuck Hallenbeck
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Dalton @  UTC (permalink / raw)
  To: speakup

Hi,

I don't see an extras directory, what git url should i be using?

Thanks,

Danny


On Fri, Nov 28, 2008 at 05:40:08AM -0500, Chuck Hallenbeck wrote:
> Daniel,
> 
> They are in the extras directory of the speakup directory created by
> git.
> 
> Also on my web site.
> 
> There are two of them: speakwith works with speech-dispatcher, talkwith
> works with espeakup.
> 
> Chuck
> 
> On Fri, Nov 28, 2008 at 06:44:29PM +1100, Daniel Dalton wrote:
> > On Sat, Nov 22, 2008 at 09:53:20AM -0500, Chuck Hallenbeck wrote:
> > > The scripts speakwith and talkwith can be called from another script to
> > > make the transition from none to soft smoothly.
> > 
> > Sorry, I must have missed this mail... Where can I obtain these scripts?
> > 
> > Thanks,
> > 
> > Daniel
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> -- 
> The Moon is New
> 
>                 My web site: http://hallenbeck.ftml.net
>                                 --------
> A right is not what someone gives you; it's what no one can take from you.
> 		-- Ramsey Clark
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

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

* Re: killing speech from cli
               ` Daniel Dalton
@                ` Chuck Hallenbeck
                   ` Chuck Hallenbeck
  0 siblings, 1 reply; 13+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

On Sat, Nov 29, 2008 at 09:52:06AM +1100, Daniel Dalton wrote:
> Hi,
> 
> I don't see an extras directory, what git url should i be using?

It's in my signature, just past the moon.

Chuck


-- 
The Moon is Waxing Crescent (1% of Full)

                My web site: http://hallenbeck.ftml.net
                                --------
A right is not what someone gives you; it's what no one can take from you.
		-- Ramsey Clark

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

* Re: killing speech from cli
                 ` Chuck Hallenbeck
@                  ` Chuck Hallenbeck
  0 siblings, 0 replies; 13+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Woops! I misread your message. My web site is not a git repository, but
you can find the scripts on it.


On Fri, Nov 28, 2008 at 06:01:23PM -0500, Chuck Hallenbeck wrote:
> On Sat, Nov 29, 2008 at 09:52:06AM +1100, Daniel Dalton wrote:
> > Hi,
> > 
> > I don't see an extras directory, what git url should i be using?
> 
> It's in my signature, just past the moon.
> 
> Chuck
> 
> 
> -- 
> The Moon is Waxing Crescent (1% of Full)
> 
>                 My web site: http://hallenbeck.ftml.net
>                                 --------
> A right is not what someone gives you; it's what no one can take from you.
> 		-- Ramsey Clark
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waxing Crescent (1% of Full)

                My web site: http://hallenbeck.ftml.net
                                --------
A right is not what someone gives you; it's what no one can take from you.
		-- Ramsey Clark

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

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

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 killing speech from cli Daniel Dalton
 ` Zachary Kline
   ` Nick Stockton
   ` Daniel Dalton
     ` Chris Brannon
       ` Chuck Hallenbeck
         ` Daniel Dalton
           ` Chuck Hallenbeck
             ` Daniel Dalton
               ` Chuck Hallenbeck
                 ` Chuck Hallenbeck
       ` Daniel Dalton
 ` Gaijin

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