dials
I've been trying to improve the interface on my patch by replacing the number boxes with dials, but i'm running into a problem. For values that range from zero to one (e.i. modulation depth or delay feedback), a dial is not working because it seems to only deal with integers. i tried to change its setting in GET INFO by changing the range to 1 and the multiplier to 0.01, but it automatically set the range from my 1 to a 2 and my 0.01 to 0. why won't it let me do this, or is there another dial type object i could use?
4 Comments:
I ran into a similar problem...what I did was put a multiplier between the dial and its recipient. That seemed to take care of it. Good luck!
You have to divide that number to get floats.
It could look like
Dial (with 128 steps)

/ 127.
(it's imperative that you put a "." there. That makes it ouput floats. The "/" number has to be one less to make it 0. to 1.0 because midi counts "0" as a number)
This would equal 0. to 1.0 with 128 steps.
You could have any sort of variation (100 steps into "/ 100."
Max is all about converting numbers. You could even do it with zmap or scale.
Any confusion, ask again.
Errrr, 101 steps into "/ 100."
Thanks for posting on this  dials can indeed be tricky, and I'm always forgetting exactly which numbers to plug in to make it work correctly (I think Keith has it right above).
I'll try to cover some dials this morning in class.
Post a Comment
Links to this post:
Create a Link
<< Home