From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yx0-f170.google.com (mail-yx0-f170.google.com [209.85.213.170]) by speech.braille.uwo.ca (Postfix) with ESMTP id 482E5C1A404 for ; Thu, 18 Nov 2010 23:51:01 -0500 (EST) Received: by yxi11 with SMTP id 11so2258400yxi.29 for ; Thu, 18 Nov 2010 20:51:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=D7MJ30yNplPXUM6qVIh83rDEH0Cp+p/XRdxe1pDh7/8=; b=pT/AmcCnRI2idEzwsvTIZI+jiSHTEESjFiHgY4D2qHuZTBE2yMGsR9wd1+j4mFZOer KsbMttyR+JPKrhYLKhYi50HSbvUFyfoLpNgR9NS65UtcPidBifdr8SFPzUOlIVjjYyVZ AfDKfsjjkZLkJgou6qSS+s/gaKAyvJhuPegPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=IS9GJglN/zZdF3DRqS5aHVvXyyH/iM0TI0laLpoV9VNpq+8szrMrN0a19l5LK5KGvl gwgX4ti3qv6QcuvI3A8/WhlS/RC3jrwzEdr0+XGg5UEwapLX728E5TVoDK7wa3ODfjNA oXHxoWm+aX4cXrHmSSMQrTCB2sgoJ89e0UWmg= Received: by 10.100.171.18 with SMTP id t18mr1119518ane.191.1290142260592; Thu, 18 Nov 2010 20:51:00 -0800 (PST) Received: from linux1 (cpe-76-183-49-63.tx.res.rr.com [76.183.49.63]) by mx.google.com with ESMTPS id 6sm1308949anx.12.2010.11.18.20.50.57 (version=SSLv3 cipher=RC4-MD5); Thu, 18 Nov 2010 20:50:59 -0800 (PST) Received: by linux1 (sSMTP sendmail emulation); Thu, 18 Nov 2010 22:50:55 -0600 Date: Thu, 18 Nov 2010 22:50:55 -0600 From: William Hubbs To: speakup@braille.uwo.ca Subject: Re: If bash can, why not Speakup? Message-ID: <20101119045055.GA25302@linux1> Mail-Followup-To: speakup@braille.uwo.ca References: <98hbe0$4qqnq3@ipmail04.adl6.internode.on.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <98hbe0$4qqnq3@ipmail04.adl6.internode.on.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.13 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 04:51:01 -0000 On Fri, Nov 19, 2010 at 12:52:38PM +1000, pj@pjb.com.au wrote: > Janina Sajka wrote: > > to track whether I'm in insert or command mode, i.e. it would > > sure help if Speakup could give me a differently pitched voice > > Misunderstanding this to be about vim itself :-( , I wrote: > > Presumably by writing something to somewhere in > > /sys/accessibility/speakup/ (or /proc/speakup ?) > > ... It might be possible to do it with a vim script > > And it is possible :-) if you copy spokenmode.vim (after the .sig) > into your ~/.vim/plugin/ dir (you might have to mkdir it first) > then you should see the contents of /tmp/t change according to > the editing mode. > > It just remains to find something in /sys/accessibility/speakup/ > which switches between two suitable voices... What you are going to be able to do with that is speech synthesizer specific, so those settings are under the directory named by the synthesizer name in /sys/accessibility/speakup. For example on my desktop, the file to change the pitch is /sys/accessibility/speakup/ltlk/pitch. The values and their ranges are different for each synthesizer, so you have to know the possible values and ranges to make them work correctly. Also, some of them support relative pitch, so you can do things like raise or lower the pitch by a specified amount. William