The first number should be the index for each touch as it appears in sequence, and resets to 0 when there are no touches active. The finger identifier index is persistent. There are up to 11 persistent markers (maybe they're assuming 2 hands and a nose?) Hans' [multitouch] object from the apple lib in Pd-extended also uses the MultitouchSupport framework, though as far as I know it doesn't allow for multiple devices, so that would be really nice to have.
PS: here's a patch using [multitouch] that shows how to use the finger identifier value to create persistent tokens in GEM. The only trouble is that 11 markers is pretty crowded on a trackpad, so it's still easy to swap identifiers.
On Thu, Jun 28, 2012 at 11:41 AM, Tom Erbe soundhack@san.rr.com wrote:
what variables are the outputs 10 and 11?
if you are counting from 1, that's finger identifier and state (not sure how identifier differs from the first number, or what state is - i'll need to study this a bit more).
there is documentation here
http://www.anyma.ch/2009/research/multitouch-external-for-maxmsp/
and here
http://www.steike.com/code/multitouch/
when i understand this a bit better, i will create a help patch for PD.
tom
On Jun 28, 2012, at 5:37 AM, André Bandeira wrote:
Hi,
what variables are the outputs 10 and 11?
thank you,
André _______________________________________________________________________________________________________________________________________________
André Damião Bandeira vimeo.com/andredamiao
From: soundhack@san.rr.com Date: Wed, 27 Jun 2012 16:33:23 -0700 To: pd-list@iem.at Subject: [PD] quick fingerpinger port
i just did a quick port of max & michael egger's fingerpinger to PD. this allows apple trackpads (under os x) to be used for multifinger control. source and external are here. if you want to improve this, you will need to compile with the MultitouchSupport framework.
http://soundhack.henthorne.org/soft/fingerpinger_pd.zip
tom
tom erbe ~ tre@ucsd.edu ~ studio director - computer music ~ ucsd department of music
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
/> tom erbe | soundhack | 608 carla way la jolla, ca 92037 /> tre at soundhack dot com | http://www.soundhack.com /> http://music.ucsd.edu/~tre | http://www.facebook.com/soundhack
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list