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