Max4live: modified to send OSC, help w/auto-scale position?
Posted: Sat Jan 21, 2012 9:39 am
Hey all,
I just received mspinky last week. How awesome!
So far i've managed to get the maxipatch controlling resolume via osc.
However the method is clumsy so I've explored modifying the m4l patch to send out osc in ableton. Just copied the osc section from the maxipatch (filescratchpatch_MPTCFS) and connected it appropriately to the m4live patch.
It works! but i'm having trouble getting the "auto-scale position by file length" to work as expected with scale, offset; min; max. In the original maxipatch for position osc out, I set: scale - 1, offset - 0, min - 0, max - 1, autoscale on, I get a value float between 0-1 which works with resolume. This is not the case with the m4l patch? I just get the value of whatever I set the max value to (unless very high like 20000, then the numbers run up) could it be the min max scaling function? Or is my understanding of the position output values a miss. The autoscale button works correctly as I can see the ouput value match fike_position_out in max4live when I toggle button. E.g When I change scale - 0.001 and max - 100 I get number that works but value 100 doesn't match end of file with autoscale giggled.
Any help would be appreciated, as Im struggling with only a little maxmsp knowledge. Thanks
(EDITED: Add screenshot so you can see what I'm talking about ... damn don't have 3 posts yet)
h**p://img208.imageshack.us/img208/4008/m4loscpatch.jpg
I just received mspinky last week. How awesome!
So far i've managed to get the maxipatch controlling resolume via osc.
However the method is clumsy so I've explored modifying the m4l patch to send out osc in ableton. Just copied the osc section from the maxipatch (filescratchpatch_MPTCFS) and connected it appropriately to the m4live patch.
It works! but i'm having trouble getting the "auto-scale position by file length" to work as expected with scale, offset; min; max. In the original maxipatch for position osc out, I set: scale - 1, offset - 0, min - 0, max - 1, autoscale on, I get a value float between 0-1 which works with resolume. This is not the case with the m4l patch? I just get the value of whatever I set the max value to (unless very high like 20000, then the numbers run up) could it be the min max scaling function? Or is my understanding of the position output values a miss. The autoscale button works correctly as I can see the ouput value match fike_position_out in max4live when I toggle button. E.g When I change scale - 0.001 and max - 100 I get number that works but value 100 doesn't match end of file with autoscale giggled.
Any help would be appreciated, as Im struggling with only a little maxmsp knowledge. Thanks
(EDITED: Add screenshot so you can see what I'm talking about ... damn don't have 3 posts yet)
h**p://img208.imageshack.us/img208/4008/m4loscpatch.jpg