Tried to create a basic parameter that goes from 0 to 1 when a note is played. I figured it would be easy but this is my first time writing code that isn’t addressing a parameter from the parameter list so I’m not completely sure how to do it. Can anyone assist with this? The goal is create the parameter so that the user can see it on my macro page.
function onNote(event) if noteOn then MIDIdisplay = 1 else MIDIdisplay = 0 end end defineParameter("MIDIdisplay", nil, 0,0,1,1, onNote)