@lo94 The old way to use audio outputs to control CV gear is to use a high frequency sine (highest your interface can put out) as a carrier for your CV, amplitude modulate the sine with what you really want and send it to [adc~]. Then you run it through a full wave rectifier and maybe some filtering and you have your CV. If you have some soldering skills you can make a two channel CV output that you can plug into your computer headphone jack for maybe $5, if not you can always go with simple passive rectifier and filter which is as easy as it get but you loose some of the signals amplitude in the process, if you have a VCA on that modular you use that too make that loss up or if your modular has a fullwave/halfwave rectifier and filter that can go down to DC than you can use those to do the lifting for you. It can be tricky to get well calibrated CVs this way, probably not too bad with a decent audio interface but if you don't need perfect key tracking than it is not a problem anyways. You can do very complex CV stuff this way on even simple analog synths with just a 1v/oct and expression input for CV, create all the modulation in pd or the like, sum and scale them then send them out, you can even piggy back gate and trigger signals on the audio signal by exploiting DC offset or just gating the CV itself if you are OK with the CV ceasing when the release cycle of the envelopes starts.
Let me knwow if you need more info, I kept it simple since I have no idea of your skill level.
Edit: if you want more info it would also be helpful to know your modulars CV/gate standards and what sort of CVs you want to send, plain modulators like LFO are much simpler than well calibrated key CV.
Edit 2: just remembered you said midi note information, not modulation. so needs to be calibrated. A bit more work but not much, very helpful to have access too a meter for calibration but can be done by ear if you do not.
Edit 3: we can probably use pd for calibration instead of a meter. Have not done this since the 90s, but it has me thinking and kind of makes me wish I still had some analog gear so I could play with this, will be much simpler in these days of modern interfaces, although the tendency for modern interfaces to have an analog volume control does complicate things some.