[PD] Re: polyphonic ? key, keyup setup question

Luke Iannini (pd) lukexipd at gmail.com
Wed Oct 11 09:27:34 CEST 2006


Hello all,
I'm working on a keyboard patch using [hid].  I'll post it when I'm
finished, and perhaps we can somewhat "settle" this issue once and for
all (hopefully with the assistance of our resident pd gurus) as it
seems to be an oft requested component!

On 10/11/06, padawan12 <padawan12 at obiwannabe.co.uk> wrote:
>
> Cheers Roman, that clears up the different behaviour
> in Steffens patch and something to be aware of in the
> future too.
>
> I guess this is why we should generally favour [hid].
>
> thanks,
> andy
>
>
> On Wed, 11 Oct 2006 00:12:40 +0200
> Roman Haefeli <reduzierer at yahoo.de> wrote:
>
> > On Wed, 2006-10-11 at 06:35 +0100, padawan12 wrote:
> >
> > > Any idea why? Does Windows send a different
> > > event for a real key-up than a repeat?
> >
> > [key]/[keyup]/[keyname] do *NOT* behave the same on linux and on windows
> > (don't know about OSX).
> >
> > [keyname]'s left inlet on linux,when a key is pressed:
> >
> > 1..........01..01..01..01..01..01..01..01..01..01
> >
> > the time between 0 and 1 is [at least on my two linux boxes] very
> > short.. about 3ms. this makes it possible to skip a 0-1 pair with a
> > delay: if a 0 is followed by a 1 within lets say 10ms, both are skipped.
> > this adds a little delay (10ms) to the release event, though.
> >
> >
> > the same on windows:
> >
> > 1..........1..1..1..1..1..1..1..1..1..1..1..1
> >
> > that also means, that [keyup] doesn't repeat on windows, but it does on
> > linux, whereas [key] repeats on both.
> >
> > roman
> >
> >
> >
> > 	
> >
> > 	
> > 		
> > ___________________________________________________________
> > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
> http://mail.yahoo.de
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list