Hi,
I am here because I have exhausted all my resources and searches. I’ve tried about 10+ different combinations from over 18 tabs of sites and pages from the knowledgebase; not to mention like 8 30+mins YouTube tutorials. I have a good amount of Beginner experience and have successfully done a few setups with Kinect, and other neat stuff.
THE GOAL:
Volume Control of an Ableton Track/Clip using Kinect (not the standard kind, because I already have a setup where one hand gesture Up/Down controls the volume perfectly.)
The problem, is not how to do it, but how to do it IF a certain set of conditions are met. This is where I looked at Python, which has helped in the past with simple things.
This is a simple thing, but I just have 0 to none Python skills, and I know it’s just a few lines of code, and I don’t know which ones go with which and getting errors, and migraines.
THE SETUP I’M TRYING TO CONFIGURE:
I just want to control the volume, to go up and down (ie from 0 to 100) in an Ableton Track or ClipSlot) but only when-
IF my leftHand’s Y axis is between and certain range (ie from -0.30 to 0.30)
AND ALSO IF
my leftHand’s X axis in within another range.
The purpose is to not have to keep my hands up the whole time just to control the volume. The problem is right now, I can’t find a way to make this work with BOTH conditions being met, only one-
and the result is as soon as I drop my leftHand, the volume plummets.
I want to ideally do this:
When my leftHand’s X axis enters a range (using the Kinect’s outputs, ideally in an area just at left arm’s length) THEN somehow “activate” or make the Y axis become the next operator to actually control the volume.
This way, my leftHand enter’s into the X Axis range and triggers the ability to control the Y axis (which will be the one actually controlling the volume going up or down), and when I “leave” the X Axis range, for the volume to STAY at the level that I left it at (meaning where my leftHand Y axis was when I “exited” that zone.)
How in the living heck do you make this happen? I know it’s probably so simple, and I’m so mad at myself that I can’t figure it out, so I am phoning a friend!
I’m attaching a screenshot of what I have in TD as far as Kinect stuff.
In the TDAbleton package in the same project, basically there are 3 clips under 1 track.
I know how to trigger (FIRE) the clips individually with my RightHand, but rather than controlling each one’s volume independently, I’m simplifying it by controlling the main volume with the LeftHand.
So the setup is-
RightHand triggers a clip to start and stop when I want (this is successful).
Then,
LeftHand controls the Volume, but only if my hand is a little under almost extended, and in that zone, by me raising my hand up or down the volume is raised or lowered.
Then,
Take my LeftHand out of that zone and the volume remains where I left it, unless I go back into that zone and make it change.
Otherwise, I’m stuck keeping my hand up the entire time, and with a 4 minute track, that’s a workout that will burn your arm. Plus, if I’m being honest, it looks stupid af lol.
The hand up the whole time. I’d like to free up the hands and do other things with them unless I need to raise/lower the Vol again.
2 conditions in one or two CHOPS need to be met to make it happen.
I just have no clue of how to do it, and everything I’m trying, chops like (math, merge, expression, out, in, CHOPexecute,) are making things just bug out.
Someone please help!
Thanks!