live.dial in hertz to vst

    MaxMSPresolved

    acruno's icon
    acruno's icon
    acruno
    Jan 24 2023 | 2:42 pm
    Hello. Still a beginner with Max and i cant seem to find any solution to this. i wanted to control the vst with a live.dial in Hz unit but the vst only accepts 0-1 float value. i manage to control it using scale but it seems that its not giving me the exact value, only the min and max values. thanks!

    • Roman Thilenius's icon
      Roman Thilenius's icon
      Roman Thilenius
      Jan 24 2023 | 3:06 pm
      for hertz values and some other values you first have to find out the math the VST/AU uses inside, and you indeed start this by finding the min and the max value. if you have bad luck the internal math might be slightly different from how mtof/ftom calculates it - or the number range is distorted somehow. if something is not log10, log20 or log90, then it is more or less trial and error.
      Share
    • acruno's icon
      acruno's icon
      acruno
      Jan 24 2023 | 4:40 pm
      Thank you so much! I finally got it working. i wasn't getting it correct before because i got the numbers wrong. i also set the exponent of live.dial to make it the same angle when centered. thank you again!