Note on/note off in variations

Can GP send “note on” automagically when I switch to a variation, and send “note off” when I go to the next variation?
I want to trigger a plug-in - CCStepper by CodeFN42 - by note, but my hands are full so I can’t really play that note manually.

Also, can Play start automatically when loading a rackspace (or can it be set to Play always)? It needs to be running for CCStepper to work, and I keep forgetting to turn it on….

[Edit] I figured the note on/off out! Yay me.So I’m just wondering about the auto-play question now.

This is really easy to to.
Include a widget (best is a button).
Then map the widget to the Midi In connected to your plugin
Choose from the list for example C-2_NoteOn_0.
Press the button
Create a new variation an press the button again,
When the button is on it sends C-2 Note On to the Midi In
When the button is off it sends C-2 Note Off the Midi In.

This script, global play is started as soon as the rackspace is switched:
On Activate
EnablePlayhead(true)
end

2 Likes