Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Sensekey and ASCII key-up

Date2011-07-06 21:53
From"Art Hunkins"
SubjectRe: [Csnd] Sensekey and ASCII key-up
Thanks, Lou.

Right now I'm about where you were on this.

Art Hunkins

----- Original Message ----- 
From: "Louis Cohen" 
To: 
Sent: Wednesday, July 06, 2011 11:38 AM
Subject: Re: [Csnd] Sensekey and ASCII key-up


>I had the same experience on MacOSX, with MacCsound and QTCsound. I  gave 
>up trying to sense when a key is released, and found a different  musical 
>solution.
>
> At one point I thought of using FLTK, which had somewhat more  promising 
> support of the keyboard. But other problems about FLTK were  too hard to 
> deal with, so I just decided that great art didn't always  need to know 
> when a key was released.
>
> -Lou
>
> On Jul 5, 2011, at 7:29 PM, Art Hunkins wrote:
>
>> I've been working with sensekey again, and find that sensekey cannot 
>> tell me when an ASCII key is released. Indeed all it does is  identify a 
>> key*press*.
>>
>> I had thought that the kdown parameter could tell me when a key is 
>> released, but no; a test shows that all parameter activity is at the 
>> keypress, none at the release. (Sensekey shows all data emanating at 
>> "keypress time".)
>>
>> Of course, perhaps this is just the way ASCII keyboards work (I've  tried 
>> two of them on my Windows XP; same "action"). Though I'm not  sure how 
>> keyboard repeat would work without knowledge that a key was  being held 
>> down.
>>
>> I've also tried multiple delay and repeat options under my  Accessibility 
>> settings; the basic fact remains: a message is sent  out when a key goes 
>> down, and nothing when it is released. The ASCII  info *immediately* 
>> returns to "zero" as soon as the keystroke is  registered.
>>
>> Am I missing anything here, or is "ASCII key-up" a non-starter?
>>
>> Art Hunkins
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  "unsubscribe 
>> csound"
>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
> 



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"