[audacity4blind] Re: Jaws Script for Audacity V2.2.0-alpha-2017-08-15 released

  • From: "David Engebretson Jr." <d.engebretson@xxxxxxxxxxx>
  • To: <audacity4blind@xxxxxxxxxxxxx>
  • Date: Tue, 15 Aug 2017 13:09:37 -0700

Hmmm, the provided link to installer doesn't seem to work...


-----Original Message-----
From: audacity4blind-bounce@xxxxxxxxxxxxx 
[mailto:audacity4blind-bounce@xxxxxxxxxxxxx] On Behalf Of Gary Campbell
Sent: Tuesday, August 15, 2017 12:53 PM
To: audacity4blind@xxxxxxxxxxxxx
Subject: [audacity4blind] Jaws Script for Audacity V2.2.0-alpha-2017-08-15 
released

Hi,

(Oops! forgot to update the subject line!) I just posted a new alpha release of 
the JAWS script.  You can download the installer from 
https://github.com/campg2j003/JAWS-Script-for-Audacity/releases/download/rel2.2.0-Alpha-2017-08-15/Jaws-Script-for-Audacity_2_2_0-Alpha-2017-08-15.exe.


The source is on GitHub on the "next" branch.  (Go to 
http://www.github.com/camp2j003/Jaws-Script-for-Audacity, choose "Switch ;
Branches or Tags", the Branches tab, and next.)

Changes in this release:
- Fixed implementation of JAWSKey+a&p&{s l e c} so that the Audacity interface 
is updated.  Previously the combo box was updated but Audacity didn't realize 
it.
- Pressing SaySelectedText (JAWSKey+Shift+DownArrow) while in the main window 
says the numbers of the selected tracks.
- Implemented the ability to calculate the tempo in BPM of audio.

The tempo feature is similar to that of Robert's NVDA add-on, but the algorithm 
is a bit simpler.  To use it:
- Locate the audio of interest.
- Press JAWSKey+a&t&SPACE (JAWSKey+a followed by t followed by the spacebar).  
Audacity starts playing.
- Press ENTER to mark each beat.
- Then press SPACE to stop playing.  The tempo is spoken.

You can repeat this announcement by pressing a and copy it to the clipboard by 
pressing c.  The value is remembered until SPACE is pressed again.  Note that 
this is implemented using the JAWS key layer feature, so if you hit another key 
not in the Tempo layer, you will have to type 
JAWSKey+a&t& before these keys will work again.  The default algorithm
divides the average of the time between the first "tap" and the last by the 
number of taps minus 1.

There is a commented out implementation that more closely follows Robert's 
algorithm but it only works with JAWS 11 or later.  After 9 taps, it looks at 
the last 8 taps and replaces the one with the time that differs most from the 
average of the 8 taps.  To use it, make the following changes in audacity.jss:
(You can do this by going to Audacity and pressing JAWSKey+0 (on the typing 
row).  The Script Manager opens.)
- Back up your copy of audacity.jss.
- Search for "JAWS 11" and locate a section bracketed by /* and */.
- Place a semicolon (;) before the lines that contain /* and */.  This 
uncomments the enclosed section while still retaining the section markers.
- Search for "JAWS 11" again and do the same for the section that contains 
scripts TempoStartStop, TempoTap, and function TempoAddTime.
- Remove the semicolons from the /* and */ lines containing the JAWS 10 version 
that follow them.
- On the version line (line 7) add the letter "t" just before the final quote 
(so we know it's been modified).
- Recompile the script  (in Script Manager press CTRL+s).

I found it hard to get accurate results with either algorithm.  Let me know how 
it works for you.

Thanks.


Gary



The audacity4blind web site is at
//www.freelists.org/webpage/audacity4blind

Subscribe and unsubscribe information, message archives, Audacity keyboard 
commands, and more...

To unsubscribe from audacity4blind, send an email to 
audacity4blind-request@xxxxxxxxxxxxx
with subject line
unsubscribe



The audacity4blind web site is at
//www.freelists.org/webpage/audacity4blind

Subscribe and unsubscribe information, message archives,
Audacity keyboard commands, and more...

To unsubscribe from audacity4blind, send an email to
audacity4blind-request@xxxxxxxxxxxxx
with subject line
unsubscribe

Other related posts: