I’m trying to use the following code to use live audio in my project:
live_audio :foo, stereo: true, input: 1
From what I understand the above code should allow mono audio from input 1 and input 2 to play in Sonic Pi but I can’t seem to get it to work.
I am taking audio in through Input 1 and 2 on my audio interface which is connected to my computer via USB. I’m not really sure how to check the audio routing of my computer but I did confirm that when I open my DAW that the audio comes through fine on Input 1 and 2, just not in Sonic Pi. I’ve made sure to reboot Sonic Pi after each attempted configuration change but can’t seem to get it to work.
I’m not sure if I’m missing something obvious. In the meantime, I’ll research how I can see where the audio is flowing.