how should I scale a live.dial to correspond to Analog freq?

Questions and discussion about building and using Max for Live devices
Post Reply
flowdesigner
Posts: 930
Joined: Sun Dec 21, 2008 5:58 am

how should I scale a live.dial to correspond to Analog freq?

Post by flowdesigner » Wed Dec 21, 2011 11:03 am

hey

I set the range to 30 to 22000, but im strugling to get the live.dial to behave exact like AAS analog filter freq dial.
Im using live.remote~ to have the live.dial to control the AAS analog filter freq


Thanks

spectro
Posts: 5
Joined: Mon May 30, 2011 1:42 pm

Re: how should I scale a live.dial to correspond to Analog freq?

Post by spectro » Wed Dec 21, 2011 2:55 pm

Have you set the Exponent on the live dial properties? Somewhere round 3.0 is a good start...

flowdesigner
Posts: 930
Joined: Sun Dec 21, 2008 5:58 am

Re: how should I scale a live.dial to correspond to Analog freq?

Post by flowdesigner » Wed Dec 21, 2011 9:47 pm

Thanks, I meant exponent, yes, but at 3 the Analog freq is 1khz when live.dial is 10khz :)

Should I specify the amount of steps?

spectro
Posts: 5
Joined: Mon May 30, 2011 1:42 pm

Re: how should I scale a live.dial to correspond to Analog freq?

Post by spectro » Thu Dec 22, 2011 4:19 am

I initially assumed you hadn't tried messing with the exponent setting. After having a closer look, getting the correct scaling does seem to be elusive: nothing I've tried here - in an admittedly brief trial - including varying exponent and Number of steps has turned out to be consistent over the entire frequency range.

Perhaps there is an official explanation of the parameters/settings (and/or maybe its got to do with the fact that, unlike the M4L dials, they are 270 degree dials) for these Frequency controls. Failing that, or at least in the interim, you might just use the raw float values (0. - 1.) as a rough indication, rather than trying to translate from an approximated range...

Gregory Taylor
Posts: 268
Joined: Tue Sep 01, 2009 3:11 pm

Re: how should I scale a live.dial to correspond to Analog freq?

Post by Gregory Taylor » Thu Dec 22, 2011 5:45 am

Depending on what you've got in mind, you might want to consider

<pre><code>
----------begin_max5_patcher----------
540.3ocoUssjaBCC8Y3qfgmSy.D1zc6a86nSlLlXQhaMxL1lrY6N4euFyMSq
IKy1WLfjrzQGcg2CChKD2.Ubz2h9QTPv6gAAVQsBB5+NHthb6DmnrlEyYWgs
TFgGuoS6UhDIUfekXSEC4f1d2zdg0RPAnlnYB7nDNo6hex1jMcG6xaOy951j
nC82QcQ75PXRlbtnQO38LWKapJ.oqs0D8oKL7rS7R2aC1K6WHjc9V+VMzYeb
7ln3RtfXt+gQ2JMfRCxi.RJ3faZxnVNQT7yu7z.enHWA5QhVKYEMZX5MUOk2
y4szJuADkChGj6FRt.OuH0OyxJA0TGr7w1DO54L7WsdR4PY+iCDTXI0LrTXQ
guf2frtJjWsBIcVkZlRJTtrRUM.TNqxx4dSKkFpWLkfa0BzzFt70Y3Ulh0WU
SVJyzusrADDE884iEJu0GyHlEGsMfd0+np2PKp+bfoMMENsmdIpKBod8sRNf
syf6ggSOrm2C2rxEJH7pYDYX.QC2rUj3Jso4+QaQJEnVw9c2H29s9WJj9gi+
o41I+7L67+SOb9eTkyncdrCdFovuKaouOAaX1uXxfOy5yz8cqvd94w8nINYy
pnqrOltdIaZo4ioqtUklclED7rWta253N6UMck3e+mJKLakOmPUhF4oATzu9
MZBnTPoYnk9brIelMWXTJft+.ohQqELT2CgnCdKtqEQ4q.Q69OPj4i6g+A.z
aC+X
-----------end_max5_patcher-----------
</code></pre>

Post Reply