Plugin Script Issue
-
- KVRist
- 40 posts since 6 May, 2021
Hello, I am trying to get the frequency knob to read out the correct frequency, please see the attachment, as you can see the knob reads 100Hz but the actual peak is at 400Hz - and I'm having difficulties with the code could anyone from BlueCat audio please help?
You do not have the required permissions to view the files attached to this post.
-
Blue Cat Audio Blue Cat Audio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=39981
- KVRAF
- 6345 posts since 8 Sep, 2004 from Paris (France)
Hi,
I think changing the value of the freqFactor would do the trick:
I think changing the value of the freqFactor would do the trick:
Code: Select all
double freqFactor=2*PI/sampleRate;
filter1.setPeak(freqFactor* inputParameters[0],.1,pow(10,-.5+inputParameters[1]));