Jump to content

Accurate KeyTracking Script. Warning: Value of TargetEvent was clamped, needs to be between 0 and 1


Recommended Posts

Hi I want to write accurate keytracking script for things like EQ, Saturation, etc.

 

Example: when I press A4 note, I want my EQ band to go 440hz.

 

I wrote something like that but I got an Error : Warning: Value of TargetEvent was clamped, needs to be between 0 and 1

 

	var newEvent = new TargetEvent();
newEvent.target = "Key Target";
newEvent.value = 440; // example
newEvent.send();

 

It has to be between 0 and 1 (percentage) but I want it to be exact frenquency. How can I solve this? Or can anybody write an accurate keytracking script? Or are there another ways to do that?

Link to comment
Share on other sites

 Share

×
×
  • Create New...