Hi everyone! I’m new here and new to scripting as well. I was playing with GP scripting and I tried the following piece of code from the language manual,
// Declare a global variable var A800 : MidiInBlock // A800 is a named block in Gig Performer // Callback whenanoteevent(onoroff)isreceived On NoteEvent (m : NoteMessage) From A800 SendNow(A800, m) // Send the note to the A800 MidiIn block End SendNow(A800, Transpose(m, 5)) // Also send a transposed note
It worked but the notes kept playing even after I stopped playing. And when I played another note the same thing happened. So at the end all the keys I press just kept playing. I had to use the full reset button to reset the plug-in.
Any help would be greatly appreciated
Thank you so much!