xmacex / connect-opz

Connect OP-Z as an audio device on norns.
https://llllllll.co/t/connect-opz-using-usb-audio-with-norns/37819
GNU General Public License v3.0
34 stars 3 forks source link

Try Zita-ajbridge instead of alsa_in and alsa_out #12

Open xmacex opened 3 years ago

xmacex commented 3 years ago

Better sound quality and lower CPU, according to website https://kokkinizita.linuxaudio.org/linuxaudio/zita-ajbridge-doc/

Look, science!!

a2j

alsa_in

A drop-in replacement, give it a shot.

xmacex commented 3 years ago

Package exists for the norns OS, and installs without problems. It's called zita-ajbridge.

However zita-a2j -d hw:1,0 -r 44100 -v gives

playback : not enabled
capture  :
  nchan  : 2
  fsamp  : 44100
  fsize  : 256
  nfrag  : 2
  format : S24_3LE
Starting synchronisation.

but not the 4 times per second tracing information. Jack devices are created.

Hypothesis: normal user is not allowed to run real-time processes. See ulimits. Thank you google.

xmacex commented 3 years ago

That hypothesis I believe is incorrect, at least in /etc/security/limits.d/audio.conf we find

@audio   -  rtprio     95
@audio   -  memlock    unlimited
xmacex commented 2 years ago

There is an internal Zita client which somebody got working https://github.com/jackaudio/jack2/issues/773.