Live_audio with quadcapture issue

Hi,

i just try to get live_audio working. I send midi note to a hardware synth. Then connect the synth output to the input of my audio interface (quadcapture) … and when using these lines of code :

live_audio :volca, amp: 10

live_loop :volca_trigger do
  midi (octs :e2, 1).tick, sustain: 4, port: "quad-capture_1"
  sleep 4
end

live_loop :drums do
  sample :bd_fat, amp: 3
  sleep 1
end

just hear nothing. I know that the synth receives the midi messages. It’s just the live_audio part that doesn’t work…

I see my audio interface in the pref… but can’t get it work in live_audio

I disabled laptop microphone and now …sonic pi doen’t start …
I think I have to select a sound card name in the config file (as mentionnée in the log below) but which one should I choose, i’m lost

boot error message:

Sorry, the Audio Server failed to start…

Please try changing your default OS audio input & outputs.

Note, the audio rate of the inputs & outputs must be the same.

For the curious among you, Sonic Pi uses the SuperCollider Audio Server to generate its sounds. By default it will connect to your default system audio input and outputs.

Unfortunately SuperCollider is having problems starting correctly. You can read the full error log below which should explain why.

To fix this you can try changing your default operating system audio inputs and outputs (ensuring they have the same audio rate).

Advanced Users - you may manually override this and further configure how SuperCollider boots by editing the file: C:\Users\Utilisateur.sonic-pi\config\audio-settings.toml

SuperCollider Log

Device options:

  • MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)

  • MME : 3-4 (QUAD-CAPTURE) (device #1 with 2 ins 0 outs)

  • MME : Réseau de microphones (Realtek (device #2 with 2 ins 0 outs)

  • MME : 1-2 (QUAD-CAPTURE) (device #3 with 2 ins 0 outs)

  • MME : MAIN (QUAD-CAPTURE) (device #4 with 2 ins 0 outs)

  • MME : Microsoft Sound Mapper - Output (device #5 with 0 ins 2 outs)

  • MME : 1-2 (QUAD-CAPTURE) (device #6 with 0 ins 2 outs)

  • MME : 3-4 (QUAD-CAPTURE) (device #7 with 0 ins 2 outs)

  • MME : Haut-parleur/Ecouteurs (Realtek (device #8 with 0 ins 2 outs)

  • Windows DirectSound : Pilote de capture audio principal (device #9 with 2 ins 0 outs)

  • Windows DirectSound : 3-4 (QUAD-CAPTURE) (device #10 with 2 ins 0 outs)

  • Windows DirectSound : Réseau de microphones (Realtek High Definition Audio) (device #11 with 2 ins 0 outs)

  • Windows DirectSound : 1-2 (QUAD-CAPTURE) (device #12 with 2 ins 0 outs)

  • Windows DirectSound : MAIN (QUAD-CAPTURE) (device #13 with 2 ins 0 outs)

  • Windows DirectSound : Périphérique audio principal (device #14 with 0 ins 2 outs)

  • Windows DirectSound : 1-2 (QUAD-CAPTURE) (device #15 with 0 ins 2 outs)

  • Windows DirectSound : 3-4 (QUAD-CAPTURE) (device #16 with 0 ins 2 outs)

  • Windows DirectSound : Haut-parleur/Ecouteurs (Realtek High Definition Audio) (device #17 with 0 ins 2 outs)

  • ASIO : ASIO4ALL v2 (device #18 with 6 ins 4 outs)

  • ASIO : QUAD-CAPTURE (device #19 with 6 ins 4 outs)

  • Windows WASAPI : 3-4 (QUAD-CAPTURE) (device #20 with 0 ins 2 outs)

  • Windows WASAPI : 1-2 (QUAD-CAPTURE) (device #21 with 0 ins 2 outs)

  • Windows WASAPI : Haut-parleur/Ecouteurs (Realtek High Definition Audio) (device #22 with 0 ins 2 outs)

  • Windows WASAPI : Réseau de microphones (Realtek High Definition Audio) (device #23 with 2 ins 0 outs)

  • Windows WASAPI : 1-2 (QUAD-CAPTURE) (device #24 with 2 ins 0 outs)

  • Windows WASAPI : MAIN (QUAD-CAPTURE) (device #25 with 2 ins 0 outs)

  • Windows WASAPI : 3-4 (QUAD-CAPTURE) (device #26 with 2 ins 0 outs)

  • Windows WDM-KS : MAIN (MAIN (QUAD-CAPTURE)) (device #27 with 2 ins 0 outs)

  • Windows WDM-KS : 1-2 (1-2 (QUAD-CAPTURE)) (device #28 with 0 ins 2 outs)

  • Windows WDM-KS : 1-2 (1-2 (QUAD-CAPTURE)) (device #29 with 2 ins 0 outs)

  • Windows WDM-KS : 3-4 (3-4 (QUAD-CAPTURE)) (device #30 with 0 ins 2 outs)

  • Windows WDM-KS : 3-4 (3-4 (QUAD-CAPTURE)) (device #31 with 2 ins 0 outs)

  • Windows WDM-KS : Speakers (Realtek HD Audio output) (device #32 with 0 ins 2 outs)

  • Windows WDM-KS : Réseau de microphones (Realtek HD Audio Mic input) (device #33 with 2 ins 0 outs)

Requested devices:

In:

  • (default)

Out:

  • (default)

Selecting default system input/output devices

Booting with:

In: MME : 3-4 (QUAD-CAPTURE)

Out: MME : 1-2 (QUAD-CAPTURE)

SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: ‘Unanticipated host error’

could not initialize audio.
Sorry, the Audio Server failed to start…
Please try changing your default OS audio input & outputs.
Note, the audio rate of the inputs & outputs must be the same.
For the curious among you, Sonic Pi uses the SuperCollider Audio Server to generate its sounds. By default it will connect to your default system audio input and outputs.
Unfortunately SuperCollider is having problems starting correctly. You can read the full error log below which should explain why.
To fix this you can try changing your default operating system audio inputs and outputs (ensuring they have the same audio rate).
Advanced Users - you may manually override this and further configure how SuperCollider boots by editing the file: C:\Users\Utilisateur.sonic-pi\config\audio-settings.toml
SuperCollider Log
Device options:

  • MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
    • MME : 3-4 (QUAD-CAPTURE) (device #1 with 2 ins 0 outs)
    • MME : Réseau de microphones (Realtek (device #2 with 2 ins 0 outs)
    • MME : 1-2 (QUAD-CAPTURE) (device #3 with 2 ins 0 outs)
    • MME : MAIN (QUAD-CAPTURE) (device #4 with 2 ins 0 outs)
    • MME : Microsoft Sound Mapper - Output (device #5 with 0 ins 2 outs)
    • MME : 1-2 (QUAD-CAPTURE) (device #6 with 0 ins 2 outs)
    • MME : 3-4 (QUAD-CAPTURE) (device #7 with 0 ins 2 outs)
    • MME : Haut-parleur/Ecouteurs (Realtek (device #8 with 0 ins 2 outs)
    • Windows DirectSound : Pilote de capture audio principal (device #9 with 2 ins 0 outs)
    • Windows DirectSound : 3-4 (QUAD-CAPTURE) (device #10 with 2 ins 0 outs)
    • Windows DirectSound : Réseau de microphones (Realtek High Definition Audio) (device #11 with 2 ins 0 outs)
    • Windows DirectSound : 1-2 (QUAD-CAPTURE) (device #12 with 2 ins 0 outs)
    • Windows DirectSound : MAIN (QUAD-CAPTURE) (device #13 with 2 ins 0 outs)
    • Windows DirectSound : Périphérique audio principal (device #14 with 0 ins 2 outs)
    • Windows DirectSound : 1-2 (QUAD-CAPTURE) (device #15 with 0 ins 2 outs)
    • Windows DirectSound : 3-4 (QUAD-CAPTURE) (device #16 with 0 ins 2 outs)
    • Windows DirectSound : Haut-parleur/Ecouteurs (Realtek High Definition Audio) (device #17 with 0 ins 2 outs)
    • ASIO : ASIO4ALL v2 (device #18 with 6 ins 4 outs)
    • ASIO : QUAD-CAPTURE (device #19 with 6 ins 4 outs)
    • Windows WASAPI : 3-4 (QUAD-CAPTURE) (device #20 with 0 ins 2 outs)
    • Windows WASAPI : 1-2 (QUAD-CAPTURE) (device #21 with 0 ins 2 outs)
    • Windows WASAPI : Haut-parleur/Ecouteurs (Realtek High Definition Audio) (device #22 with 0 ins 2 outs)
    • Windows WASAPI : Réseau de microphones (Realtek High Definition Audio) (device #23 with 2 ins 0 outs)
    • Windows WASAPI : 1-2 (QUAD-CAPTURE) (device #24 with 2 ins 0 outs)
    • Windows WASAPI : MAIN (QUAD-CAPTURE) (device #25 with 2 ins 0 outs)
    • Windows WASAPI : 3-4 (QUAD-CAPTURE) (device #26 with 2 ins 0 outs)
    • Windows WDM-KS : MAIN (MAIN (QUAD-CAPTURE)) (device #27 with 2 ins 0 outs)
    • Windows WDM-KS : 1-2 (1-2 (QUAD-CAPTURE)) (device #28 with 0 ins 2 outs)
    • Windows WDM-KS : 1-2 (1-2 (QUAD-CAPTURE)) (device #29 with 2 ins 0 outs)
    • Windows WDM-KS : 3-4 (3-4 (QUAD-CAPTURE)) (device #30 with 0 ins 2 outs)
    • Windows WDM-KS : 3-4 (3-4 (QUAD-CAPTURE)) (device #31 with 2 ins 0 outs)
    • Windows WDM-KS : Speakers (Realtek HD Audio output) (device #32 with 0 ins 2 outs)
    • Windows WDM-KS : Réseau de microphones (Realtek HD Audio Mic input) (device #33 with 2 ins 0 outs)

Requested devices:
In:

  • (default)
    Out:
  • (default)

Selecting default system input/output devices

Booting with:
In: MME : 3-4 (QUAD-CAPTURE)
Out: MME : 1-2 (QUAD-CAPTURE)
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: ‘Unanticipated host error’
could not initialize audio.