You could use a few methods which have been described somewhere earlier on this board.
One method is to use the EnergyXT as a VST plugin and in there record your note-data.
Another method is to send your MIDI Data to another host using MIDI Yoke as your internal MIDI cable.
And then there is the option to install Xrns-SF and use the MIDI export script that has been written to convert Renoise songs to MIDI.
https://forum.renoise.com/t/xrns-php-using-windows/20469
XRenoisetools has an Xrns2Midi converter as well:
https://forum.renoise.com/t/nrenoisetools-a-renoise-xrns-xrni-library-and-tools-in-net/23155