Sonic pi reaper with loopback is multi track audio possible?

hi all, I hope your well thanks for your help so far :slight_smile:

I want to use loopback on Mac os10 to take sonic pi in to reaper to do multi track recording. For example write a bass drums and leed in sonic pi and take all of those in to separate tracks in reaper to record them at the same time is this possible? and what approaches are you all using to take sonic pi to reaper or any daw with loopback your help and advice would be most welcome thanks again all :slight_smile:

1 Like

Sonic Pi has built-in midi and osc support, so that would be a good place to start. Iโ€™m not sure how to set it up in reaper, but I would go with separate midi ports for each track.

You can also look at the sound_out FX which can enable you to route audio generated within the FX block to any output on your sound card. It may be possible to use virtual audio ports to allow you to link the audio to your DAW. However, this isnโ€™t something Iโ€™ve tried before.

I have done this before sending audio from Sonic Pi to Ableton via Loopback. The steps that worked for me are:

  1. In Loopback create a new virtual device. Set Sonic Pi as the source. In the Channel Mapping section, select โ€œManualโ€ and add the number of channels you would like to use.

  2. In your DAW, set your newly created Loopback device as the audio input. Create the individual tracks you need, and assign them to different channels.

  3. Before opening Sonic Pi, in system preferences select your Loopback device as the sound output device.

4.In Sonic Pi, use the sound_out or sound_out_stereo FX block to route your audio out of Sonic Pi. Assign specific channels using the output: opt.

Below is a simple example:

live_loop :one do
  with_fx :sound_out, output: 1 do
    sample :bd_808
    sleep 1

live_loop :two do
  with_fx :sound_out, output: 2 do
    sleep 1
    sample :elec_mid_snare
    sleep 1