Jump to content

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


Jorman
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...