Changing the Range/Enum of live.dial remotely

SonOfAGlitch's icon

Hello,
I'd like to know if it's possible to update the range of [live.dial] remotely.
E.g. I got a [live.dial] that handles pitch change (in semitones to [makenote]). I would like to reduce the range to smaller scales, so that I can isolate specific octaves.
I have tried but I can't figure out how to do this.
Can somebody give me a hint?

Thanks!

tyler mazaika's icon

you can programmatically set that by sending a message to live.dial (or other live parameter objects) like

_parameter_range -12 12

But it’s not supported and there are some consequences (like breaking existing automation of some is written etc). So you’d need to be careful about how you’re using it.


SonOfAGlitch's icon

Thanks for your reply!
I tried these three messages, but nothing happened.

How should I write it?

schlam's icon

Hello
I think you have to use the "+" in the live.dial's inspector...

Max Patch
Copy patch and select New From Clipboard in Max.

SonOfAGlitch's icon

It works! Thanks :)

SonOfAGlitch's icon

!!!!!!!!
This method did the job but not for free, as Tyler anticipated.
After a couple of days my Max4Live device started overloading the CPU (around 250%) whenever loaded and my computer didn't allow me to work with Max without crashing.
After I got rid of this function, everything started to work perfectly again!

raskjaerbo's icon

Nice one, thanks !