Now I have a separate issue, my GetParameter is never equal to the value I give it even though "C" is selected in the window. Am I using it incorrectly?
var PluginParameters =
[{
type: "menu",
name: "Note Selector",
valueStrings: ["none", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"],
defaultValue: 0,
}];
function HandleMIDI(event)
{
if(event)
{
var pitch = GetParameter("Note Selector");
if(GetParameter("Note Selector") == "C")
{
event.pitch = 48;
event.send();
}
}
}