You can also use the Interpolation patch- handy if you want to scale
your value using different curves, rather than just in a completely
linear way.
Right-click the Interpolation patch and set the Timebase to
'External'. Then, feed the Patch Time input with a value in the Range
0 > 1. You can then set the Start and End values to anything you like,
and set the Curve to any of the preset curves, or make your own
control curves. It's surprising how often you'll find a use for this
technique. Oh, and don't forget to set the Loop parameter to None.
a|x
http://machinesdontcare.wordpress.com
On 4 Nov 2008, at 19:03, Dustin O'Connor wrote:
i am new to .qtz so i apologize if this sounds daft. i am trying to
scale a incoming float range [0.0.] => [1.0] to [-1.0] =>[1.0]
i know there has to be an easy way to do this with a numeric patch.
i have tried "range" and "math" which seem like they would be the
answer but am not getting the right results.
there may be another solution, so i will explain what i am doing.
i am taking multi touch cursor events from an ipod via osc or udp
through the tuio plugin. im unpacking my "xpos" and "ypos" to draw
things on the screen etc... and im trying to calibrate my ipod
screen to my .qtz view. well my screen i guess = 2.0 so i want a
range from -1.0 to 1.0 for at leaste one of my postions. i use
oscemote from my ipod.
thanks
Dustin O'Connor
http://numedia-sci.info
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/the_voder%40yahoo.co.uk
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]