Add scale output to message
Hello,
I'm very new to the world of Max and thoroughly enjoying it, but I keep getting stuck on one issue.
I have used a scale object to take the output of a slider and change it to a value between 0 and 1. I then also have a umenu object which puts a value into a command, with the start and end of the command added by the prepend and append objects.
What I'd like to do is add the output of the scale object to the end of the message produced by the umenu selection.
Not very well described, but hopefully the patch will explain itself.
Thanks in advance,
Dan
Here is patch with your request, also alternative, using combine.
Also set line to output at fast - 1ms interval, in order to produce better
ramps at fast fades, and change object to avoid sending repeated values.
From the mesage format I guess you are sending osc messages, and
you don't want to flood udp port when many automated fades get executed.
That is exactly what I was looking for! Thank you so much. I need to investigate more how to use this $1 to input things to messages. Do you know what's called?
I'm also trying to get a pictslider object (or similar) to raise the values of faders/knobs as the pointer gets closer to them. Patcher attached........ any ideas........
Thank you!!
$1 sign in a message makes it output first item of received list
message like
/test $1 $2
would output
/test 11 22
if received list was 11 22
----------
To get something like that pictslider work, you would need to split and scale the x y outputs and try to create some kind of control for each of the sliders.
Definitely not very easy to do and I think you would need much bigger range to split
between as many affected sliders.