i may be able to help with this.
i was trying to do the same thing recently with the Percussion Agent part
of Groove Agent. Percussion Agent does not output midi, whereas Groove
Agent (classic) does, and i wanted to capture the audio that i could see hitting
the "synth" track (the one with the R button missing).
i ended up downloading Silverspike Tape It 2.
http://www.silverspike.com/?Products:TapeIt Tape It 1 is free, Tape It 2 is about $20 and has some very nice features..
Real-time recording? It ends up working like this:
Insert Tape It into the fx bin of the synth track.
Create a file name in Tape It, check the checkbox that allows Broadcast Time Stamp.
Arm the Synth Track folder, start recording in SONAR.
Start recording in Tape It.
Start your synth, groove agent, whatever.
When you're done, stop the synth, stop Tape It, stop SONAR.
"Close the file" in Tape It.
just one click.
Insert an empty audio track into SONAR (you could have done that first).
Drag the file (from the Tape It icon) into the audio track.
Assuming that SONAR is configured to recognize Broadcast Time Stamp, the audio will pop right to
the "realtime" starting point, regardless of where you drop it in that audio track.
Complicated? No. Once you try it a few times, all the above steps in Tape It take about 10 seconds total.
I've been very happy with it. I tried the free version for about 5 minutes, then purchased Tape It 2.
HTH
rusty