: Using enter or using arrows, that is the question

Willem van der Walt wvdwalt at csir.co.za
Sat Apr 13 16:01:55 EDT 2019


Hi Glen,
If you have python going and you can install pyalsaaudio, it should work 
on ARM as is.
Kind regards, Willem


On Sat, 13 Apr 2019, Glenn At Home wrote:

> [The e-mail server of the sender could not be verified (SPF Record)]
>
> Hi Willem,
> Any chance you can do this for ARM as well?
> Thanks.
>
> ----- Original Message -----
> From: "Willem van der Walt" <wvdwalt at csir.co.za>
> Cc: "Speakup is a screen review system for Linux."
> <speakup at linux-speakup.org>
> Sent: Saturday, April 13, 2019 10:35 AM
> Subject: Re: : Using enter or using arrows, that is the question
>
>
> Hi all,
> Janina, thanks for the suggestion, but no, I am writing this in python,
> alsamixer is written in C as far as I know.
> It is just the way  I have written the code which kind of precludes the
> up/down arrow thing, and that I do not really see what is so wrong with
> the current way things are done.
> What I might consider doing, would be to replace the two options, one for
> up and one for down, with one option, e.g.
> Playback volume 30 percent
> I can then make it use two other keys, e.g. pageup and pagedown or f2 and
> f3 to go softer or louder.
> I am not that keen on doing it, as it deviates from the way things are
> selected and used throughout the rest of the program.
> The up/down arrows are already used to move among the options.
> Left and right arrows would be the obvious choice, but I am using speakup
> and it will say space if I use them.
> One can also make the keys configurable later.
> One needs the percentages when e.g. trying to get a silent soundcard
> going, and if I take it out there, how would you know at what levels the
> controls are?
>
>  Hope this make sens.
> Willem
>
> On Sat, 13 Apr 2019, Janina Sajka wrote:
>
>> Hmmm, I hadn't considered that simply repeated presses of enter would
>> continue to adjust levels in realtime. That just might be good enough,
>> imo.
>>
>> RE: How to put such behavior on the up/down keys, alsamixer is likely
>> the source to copy from.
>>
>> Janina
>>
>> Chuck Hallenbeck writes:
>>>
>>> Hi all,
>>>
>>> I prefer to remain witgh the use of enter to make adjustments in
>>> controls suchaas Master, for instance, which makes a lot of sense given
>>> that upward adjustment and downward adjustment are offered as separate
>>> items in the menu for that control. Arrowing to the upward item and
>>> pressing enter makes the adjustment and leaves the control selected,
>>> so that pressing enter repeatedly makes a series of  adjustments in
>>> the same direction. It's beautiful to see the percent figure change and
>>> hear the perceived loudness change in sync with the numeric value. I'm
>>> not sure how one would put the entire job of making adjustment onto
>>> the arrow keys.
>>>
>>> Just my $0.02 worth.
>>>
>>> Chuck
>>>
>>>
>>>
>>>
>>> --
>>> Here In Northeast Ohio, The Moon is Waxing Gibbous (57% of Full)
>>> If you don't stand for something, you will fall for anything.
>>> Sent from Lucille's missing iPhone.
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup at linux-speakup.org
>>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>>
>> --
>>
>> Janina Sajka
>>
>> Linux Foundation Fellow
>> Executive Chair, Accessibility Workgroup: http://a11y.org
>>
>> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
>> Chair, Accessible Platform Architectures http://www.w3.org/wai/apa
>>
>>
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>


More information about the Speakup mailing list