[audacity4blind] Re: Plugin testers wanted

  • From: Robert Hänggi <aarjay.robert@xxxxxxxxx>
  • To: audacity4blind@xxxxxxxxxxxxx
  • Date: Wed, 8 Feb 2017 08:00:29 +0100

Hi David

2017-02-07 11:17 GMT+01:00, David Bailes <drbailes@xxxxxxxxx>:

Hi Robert,
I think it's worth considering a couple of alternatives to self voicing
plug-ins for accessing various information.
1. plugin-ins which call the function void
TrackPanel::MessageForScreenReader(const wxString& message). I don't know
whether this
can be done from a nyquist plug-in.

Not possible right now, unless you implement it.
I don't know if the fact that Nyquist is written in C (instead of C++)
gives a problem with that.
One way to overcome this is to assign the message to a global variable
during the Lisp execution e.g.
(set *audacity* "-20 dB")
The interface to Nyquist effects could look on return if this variable
has some content and pass it to the member function you've mentioned.
It's listed in *obarray* and normally accessed by a hash function.
See for example how the *scratch* symbol is treated.
Note: *audacity* is always unbound (nil) but it has the version of
audacity as a property assigned to it.
For the Nyquist prompt:
(format nil "~a" (symbol-plist '*audacity*))
2. Have built in commands in Audacity which use the same function.

The advantages of using such a function, rather than self voicing are:
1. Translations would automatically get done.
Good point.
There should also be a way to make Nyquist plug-ins translatable
2. If the accessibility of either mac or linux was fixed, then the
information would be spoken on these platforms.
One could in parallel fix the playback problem for those two platforms
in Nyquist plug-ins.
I use this feature for years now and it brought eventually the
developers to integrate "Preview" in Nyquist effects, if they admit it
or not.

Point 3:
These ideas might become real in another year or a dozen but I'm
unfortunately impatient and so I work with what I have right now.


There's also a minor issue that I think you need permission to distribute
the audio created by ivona voices.
I've  intentionally kept the meta data for the wav file intact.
We are still at a experimental stage and I will certainly not profit
from using these 73 words.
I first want to settle on a stable  dictionary before recording it for real.

It's somewhat strange when you think about it.
If you're writing a letter, you do not ask the manufacturer of the
ink, paper,  or pencil if you may send the letter neither do you if
you print something on your inkjet printer.
Provided that you've legally purchased all those things, that speaks for itself.

Only joking... :D

Cheers
Robert




David.

On Tue, Feb 7, 2017 at 9:21 AM, Robert Hänggi <aarjay.robert@xxxxxxxxx>
wrote:

Hello Fellow-listers

I'm working on a plug-in suite that should facilitate working with
Audacity.
The goal is to have a collection of self-voicing plug-ins that report
commonly wanted information.

*** works only on Windows ***

The first one announces the peak level of the selection from -120 dB
up to +120 dB.
I'm attaching it along with the needed voice file.
Also available at
https://www.dropbox.com/s/keze2sx5lv90pxg/tts-suite.zip?dl=0

Unzip the two files into the plug-in folder of Audacity.

under "Add/Remove Plug-ins" search for "Report Peak"
It will appear in the Analyze menu if enabled.

I highly recommend that you assign a shortcut to it in order to work
more efficiently with it.

Features:
- self-voicing
- Range from -120.0 dB to +120.0 dB.
- says "less/more than..." if the audio lies outside the range.
- says even numbers (zero after the point) as e.g. -12 dB
- adds one digit if need be, e.g. -76.3 dB
- works with multiple tracks selected
- no need to press OK or something like that

I'd like to know:
- how about the speech rate, too fast/slow?
You can tweak it a bit by opening "tts-peak.ny" in a text editor and
changing the "1.0" in the very last line to something different (e.g.
0.9 will be slower and deeper)
- How about the volume?
It's also adjustable in the last line; it's the -6 which means half
volume.
- Do you want a different voice?
I can give you the text that is needed for this and future plug-ins.
Send me the audio file back or I'll explain how it should be done.
- Do you want "Peak" or "Peak Level" spoken as well?
They are included in the voice file and it needs just adding them
after "db" in the plug-in file, e.g. "db" "peak" "level".
- What other self-voicing info do you like to have?
The voice file is already prepared to speak other things.
- numbers up to 1 million (excl.)
- Note names (pitches) including flat sharp and cents.
- RMS and peak level
- bit depth
- Hertz
- stereo, dual mono and mono

Are there other things that come to your mind (e.g. time percent etc.)

Big thanks to those that are going to test it.
Looking forward to your criticism. ;-)

Best
Robert



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: