How to send midi from daw to supercollider

I made a basic instrument with an adsr envelope in sc and want to know how I can use midi from a daw pianno roll to control the envelope. The only answers I found were for mac however Im using windows

You probably need to use a “virtual MIDI port”, set it as MIDI Out in your DAW and use it as MIDI In in SC.
MacOS has a built-in virtual midi port called “IAC Driver”, that can be activated in Audio MIDI Settings. On Windows there are some 3rd-party solutions - I used MIDI Yoke years ago, not sure if it works with Windows 10.

In Windows, https://www.tobias-erichsen.de/software/loopmidi.html – lightweight, clean and reliable.

hjh

thanks it worked pretty well

thanks figured it out