Here is an article regarding recording:
http://tutorials.renoise.com/?n=Renoise.SamplingInRenoise
http://www.renoise.com/indepth/tutorials/r…ry-monitor-wet/
With the following addition, it will be easier to get exact results. It will be available in 1.9b4:
https://forum.renoise.com/t/done-sample-recording-pattern-sync/19832