Mapping Parameters w/ m4l.. How can you set ranges w/ unit?

Learn about building and using Max for Live devices.
Post Reply
#1thelark
Posts: 985
Joined: Thu Nov 05, 2009 4:06 pm

Mapping Parameters w/ m4l.. How can you set ranges w/ unit?

Post by #1thelark » Wed Jun 22, 2011 8:31 pm

Hey guys,

I just tried this Max-Device for Kinect (if you have a Kinect, try it, it's really awesome!):
Image

Maybe I don't see how to do this but would it be possible to set the range for the parameter in the desired unit automatically? So f.ex. if you map the parameter sync rate you would automatically have a drop-down menu or so with the right unit (like 1/8,1/6,1/4, etc.), like when you are in mapping mode on instrument racks?

I know a workaround would be to group a device and map the kinect to a macro knob, but it would be cool to set the right range according to the proper unit directly in the device.... Is there a way to achieve that?
Last edited by #1thelark on Sun Jun 26, 2011 8:59 pm, edited 1 time in total.

#1thelark
Posts: 985
Joined: Thu Nov 05, 2009 4:06 pm

Re: Map a range for a parameter w/ correct unit?

Post by #1thelark » Thu Jun 23, 2011 5:07 pm

Anybody know how to get the unit for the parameter you want to control?

So instead of having a min and max value like this (without knowing which value corresponds to which unit):
Image
...I would prefer to have the correct unit like when mapping a macro knob and setting the min/max values there:
Image

One way would be to do a table with all those values but that would be a pain to figure them all out... has this info been documented already somewhere maybe?

#1thelark
Posts: 985
Joined: Thu Nov 05, 2009 4:06 pm

Re: Map a range for a parameter w/ correct unit?

Post by #1thelark » Sat Jun 25, 2011 1:17 pm

Bump. Anyone!?

#1thelark
Posts: 985
Joined: Thu Nov 05, 2009 4:06 pm

Re: Mapping Parameters w/ m4l.. How can you set ranges w/ unit?

Post by #1thelark » Sun Jun 26, 2011 9:07 pm

Is there no solution yet? Or do I need to explain more what I mean?

henke
Posts: 258
Joined: Fri Sep 11, 2009 7:36 am

Re: Mapping Parameters w/ m4l.. How can you set ranges w/ unit?

Post by henke » Thu Jun 30, 2011 1:45 pm

there is no solution yet. you can get a string with the actual value plus the unit ( "12.3 dB") but not the range. maybe in some later version.

Robert

eshaa83
Posts: 31
Joined: Fri May 13, 2011 10:56 am
Contact:

Re: Mapping Parameters w/ m4l.. How can you set ranges w/ unit?

Post by eshaa83 » Fri Jul 01, 2011 11:55 am

nice post amazing information and attractive..
i like your way of thinking...
keep on sharing good things to your friends

prebentious
Posts: 312
Joined: Fri Jul 20, 2007 12:07 am

Re: Mapping Parameters w/ m4l.. How can you set ranges w/ unit?

Post by prebentious » Sun Jul 03, 2011 5:56 am

henke wrote:there is no solution yet. you can get a string with the actual value plus the unit ( "12.3 dB") but not the range. maybe in some later version.

Robert
Robert, how do you get the actual value with units? Unless i'm mistaken, the 'get value' message only sometimes corresponds with the actual value, and doesn't include the units.

Post Reply