1. Open an
Environment window, cmd-8, via the *dropdown menu* top left, go to the *Clicks & Ports* layer.
2. From the
New menu, choose
Transformer. Cable it anywhere between the physical *Sum input* and the *Sequencer Input* object
3. Set the transformer up like this:
The *note on* will become a *sustain pedal down* event, the *note off* will become a *sustain pedal up* event. So there you're saved from endless sustain (aka "hanging notes")... 😉
I've chosen Note C1 in this example, you can choose
any note (or CC message, when available) for it, though you should remember that this note no longer can be played musically, so choose a note on either extreme end of the scope of your guitar).