Stream Deck Midi plugin
Install the Elgato midi plugin
Docs
https://trevligaspel.se/streamdeck/midi/index.php
loopMIDI virtaul midi port
Install loopMIDI
Create a virtual MIDI port, say: StreamDeckBeyondOut1
In the Windows notification area, right click the Stream Deck icon and select: Start Minimised
Add to Beyond
Menu > MIDI Devices > Select StreamDeckBeyondOut1 in one of the device drop downs.
Triggering PangoScript
See the page here
Assigning StreamDeck MIDI buttons
Drag the “Generic Midi” action onto a button
Button type: Push
Command/Channel: Note On/Off
Note: select one
Midi ports > Midi Out port: StreamDeckBeyondOut1