Trouble with ALSA -> Loop -> JACK, alsa_in

asked 2019-01-06 04:29:29 -0600

Hi there! I'm quite new.

I'm trying to connect an audio interface with SuperCollider using JACK. So far I can select the interface in 'setup' of QJackCtl or Cadence, but I can't then see it to patch it into SuperCollider (or anything else). However, the interface works fine in Reaper using ALSA.

My first thoughts were to use the ALSA -> Loop -> JACK bridge in Cadence, or alternately install alsa_in and alsa_out. However, both of these returned the same error:

Cannot lock down 107335194 byte memory area (Cannot allocate memory)

I then spent a few hours trying to solve this problem, and ended up adding the following to /etc/security/limits.conf :

@audio       -   memlock     unlimited
@audio   -   nice        -10
@audio   -   rtprio      99

(NB: I don't really understand this, but it was recommended as a potential solution).

Now, when I try running Cadence, the bridge runs theoretically, but doesn't actually seem to do anything, and terminal provides the following error message:

Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cadence-aloop-daemon started, using alsa_in/out and 2 channels

alsa_in also doesn't work.

Any help would be greatly appreciated!

Thanks, Jordan

edit retag flag offensive close merge delete