Re: [orca-list] Proposed patch for progress beeps



Howdy,

i tried your patch. i didnt recognize a big difference in the beginning...
try the attached one (test.py)
now it works this way
return( int(100 + percentage * (percentage / 3.5 + 10 )))

cheers chrys

Am 17.02.2016 um 19:20 schrieb Nolan Darilek:
Hey,

So I had some of the same issues with progress bar beeps that I did with NVDA. As an experiment, I whipped up this patch.

Basically, according to my non-coffee-fueled back-of-napkin calculations, the current implementation starts progress bar beeps at a few hundred Hz and scales them up to something like 2100. I don't objectively know what 2.1 KHz sounds like, but I do have some objective notion of what an octave sounds like, and just as a sighted person doesn't have to think about how far along a progress bar is, I think we should have the same convenience.

This patch starts progress bar beeps at middle C and ramps the progression up an octave linearly. I initially had a logarithmic implementation but found it more confusing than I thought. Perceptually the progress bar appeared to move quickly then slow down, which is consistent with the numbers. I haven't tested this out with faster progress bars yet so there may be some benefit to logarithmic, but one thing at a time.

We may also be able to drop the volume-scaling code if we're not ramping the frequencies up above 1 KHz, but I haven't tested that yet.

Thoughts?


_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org

Attachment: sound.py
Description: Text Data

Attachment: sound_generator.py
Description: Text Data

Attachment: test.py
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]