Kyma Forum
  Kyma Support
  !PenX vs. !PenY anomaly

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   !PenX vs. !PenY anomaly
Phi Curtis
Member
posted 09 October 2006 17:33         Edit/Delete Message   Reply w/Quote
Hi,

I'm trying to divide the wacom tablet in four parts and have each of the parts track and hold it's own pen functions - So I'll have four virtual tablets, one in each of the four quarters of the one tablet.

I've run into a problem with this expression, which is supposed to track !PenX in the upper right corner of the tablet (and scale what would be 0.5-1 to 0-1):

((!PenX rounded) * (!PenY rounded)) trackAndHold: (!PenX into: #({0.5@0} {1@1}))

It is supposed to hold !PenX's last value when you put the pen down in any of the 3 other quarters. The problem is that it jumps once (and then holds) when you put the pen down in the bottom right corner. The left side doesn't cause a jump.

The anomaly that I'm referring to in the subject heading is that, if I put !PenY in the "into:" part of the expression, it tracks Y values fine and doesn't jump no matter which quarter you then put the pen in.

I've tried a few variations on the same basic idea and can't rid myself of the problem with tracking !PenX. Any insights would be appreciated as always!

thanks,
Phil

IP: Logged

SSC
Administrator
posted 09 October 2006 19:56         Edit/Delete Message   Reply w/Quote
Your expression looks correct and it seems to work here. Maybe you should include !PenDown in the condition as well?

(!PenDown * (!PenX rounded) * (!PenY rounded)) trackAndHold: (!PenX into: #({0.5@0} {1@1}))

Have you tried putting the trigger expression and/or the entire expression into a SoundToGlobalController so you can see what values you are getting?

Is it possible that your computer has gone to sleep at some point before you tried this? I've noticed that the Wacom sometimes wacks out if the computer goes to sleep. (as in, it inserts 0s in between each real value that it sends)

IP: Logged

Phi Curtis
Member
posted 09 October 2006 20:35         Edit/Delete Message   Reply w/Quote
Hi,

I just tried restarting, and it behaves the same, so I guess it wasn't the sleep problem (I haven't seen that one, I don't think). But adding the !PenDown to the expression solves the problem. Thanks!

I guess it'll remain a mystery. The trigger part worked as expected in a global controller.

I'll put the completed patch on the Tweaky when I'm done with it. I think it's a pretty neat idea.

best,
Phil

[This message has been edited by Phi Curtis (edited 09 October 2006).]

IP: Logged

Phi Curtis
Member
posted 24 October 2006 00:17         Edit/Delete Message   Reply w/Quote
I've posted the results of these questions (and other recent ones) on the Tweaky.
http://www.symbolicsound.com/zzz/pub/Share/Sounds/FourWacomsInOne.kym

It gives you independent global controllers in all four corners of the wacom tablet - like having four wacoms in one (hence the name). Plus some other tricks.

Phil

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c