record instrument track to audio

Hi,i have a zebra cm playing a bassline,i have it looped over 16 bars.
i have audio damage replicant inserted with a random effect.
i want to record the 16 bars to audio while its playing.
how do i do this?