Cabbage Logo
Back to Cabbage Site

Audio input issues with audio interface

Hey everyone,

New user here, just came over from Max and SuperCollider to take a look. I’m trying to execute a very simple example. However, I’m having issues with audio input from my RME Babyface Pro using the ADAT channels, where I’m not hearing anything when this device is selected in settings. I’m using Mac OS X 14.7.2, and I’ve:

  • Selected the audio inputs and outputs in Cabbage Settings and the audio bars do detect audio input
  • Confirmed the input is detected in TotalMix and outputs correctly in Reaper
  • Ensured microphone access is enabled in security settings
  • Tested the built-in mic and that’s working as intended with this example
  • Tested multiple input channels, but none seem to be working on the interface
  • Confirmed that I receive audio output as intended from the audio interface
<Cabbage>
form size(500, 300), caption("Untitled")
</Cabbage>

<CsoundSynthesizer>
<CsOptions>
-o dac -i adc
-+rtaudio=coreaudio
</CsOptions>

<CsInstruments>
; Initialize the global variables 
ksmps = 64
nchnls = 2
nchnls_i = 30
0dbfs = 1

instr Effect
    aIn = inch(5)
    //aComb = comb(aIn5, 3, 0.5)
    //out(aComb)
    kRms rms aIn        ; Calculate RMS level
    printks "RMS Level: %f\n", 0.1, kRms  ; Print RMS level
    out(aIn)
endin

</CsInstruments>
<CsScore>
i "Effect" 0 100
</CsScore>
</CsoundSynthesizer>

As you can see I’ve edited out any of the potential problematic parts. Any ideas are gratefully welcomed as I’d love to start exploring more!

Thank you

Hi @glamhacker. Welcome to the forum. Are you trying to get audio out of the Cabbage IDE rather than a plugin? If so you don’t need to use -odac and you don’t need to select coreaudio. Cabbage will bypass these anyway. You should just use -d -n in your CsOptions settings.

As to your issue, I’m afraid I can’t see why it doesn’t work. I’ve used Cabbage with an RME Fireface without any issues. Have you tried settings nclnls to match the number of inputs? I assume you’ve also tried the first mic input on the device. Can you get any audio IO with the card in Cabbage, can you output a signal to it at all?

Hey @rorywalsh, thanks for the quick response. I’m just exploring the IDE, though -d -n didn’t seem to make a difference. I’ve set nclnls to 28 to match the sum of inputs and outputs, and nclnls_i to 14 for inputs. The instrument inputs (3 and 4) don’t seem to be working either. However, when I set the inch value to 1 or 2 I do get a faint signal with output RMS Level: 0.000002 in the console, so there’s some hope.

Where can I find the csound executable that was included with the Cabbage installation? There’s no path in my terminal. If I get that, then I can try to test it outside of Cabbage just in case.

Cheers

You must have Csound installed, otherwise you’d get a lot of error. You can just run csound from the command line to test. Or csound --version to find out which versionof Csound it is.

Yeah it’s a strange one, initially I had installed Cabbage with csound but which csound in the terminal returned csound not found, then I tried to remove everything including CsoundLib64.framework and reinstall csound via homebrew and reinstall Cabbage without the included csound library and it failed to open. So, I’ve uninstalled homebrew, reinstalled Cabbage with the included library – back to square one.

Update! I just discovered that the Cabbage patcher now shows more inputs, and dragging them all to the Cabbage node seems to have resolved it. I’m guessing that this is one of the first steps I should’ve done, my bad. Thank you for your assistance!

Right, I should have thought of that myself :rofl: I’m glad you got it sorted!