I run Jamulus OS on a laptop using the internal mic, with a Behringer Q502USB using Jack and ALSA all works good. Recently came across zita-ajbridge , a drop in replacement for alsa_in with zita-a2j and alsa_out with zita-j2a.
Looks if it should be an improvement, however unable to get it to work with my set up. When starting the internal sound card, it gets into a loop of “Starting Synchronisation” and when I try to open the Behringer I get “Can’t open ALSA device”.
Does anyone have any experience with using zita-ajbridge, who can point me in the right direction, any help welcome.
Thanks, Stay safe
Colin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and for the Behringer:- zita-a2j -j "Behringer" -d hw:CODEC -r 48000 -p 128 -n3 -c 2 &
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x91410000 irq 124
1 [CODEC ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0000:00:14.0-5.2, full speed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can go in pulseaudio volume control (pavucontrol), and put "off" the sound card you want to use with zita in pulseaudio configuration tab. This sometimes helps.
You then use alsamixer to control volume.
Last edit: Laurent Schwartz 2020-07-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
each of Jack server and zita-a2j should have their own sound card.
If PCH and CODEC are the only sound cards availables, you may want to start jack on PCH or CODEC and start zita-a2j on the other one.
jack_control start should be called after setting the engine / jack parameters in order for those parameters to take effect.
Also, if you want to start a session, you may want to look at RaySession. This let you handle the open/close/save of several applications in one click and let you define some script to run on start/save/close of the session.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Almost solved. Jack driver changed from ALSA to dummy. Latency not as good as expected, and xruns very bad. More experiments with settings required. But for now back to making music
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I run Jamulus OS on a laptop using the internal mic, with a Behringer Q502USB using Jack and ALSA all works good. Recently came across zita-ajbridge , a drop in replacement for alsa_in with zita-a2j and alsa_out with zita-j2a.
http://manpages.ubuntu.com/manpages/focal/man1//zita-ajbridge.1.html
Looks if it should be an improvement, however unable to get it to work with my set up. When starting the internal sound card, it gets into a loop of “Starting Synchronisation” and when I try to open the Behringer I get “Can’t open ALSA device”.
Does anyone have any experience with using zita-ajbridge, who can point me in the right direction, any help welcome.
Thanks, Stay safe
Colin
Hello Colin,
What command line do you use to start zita-a2j ?
What is the output of:
cat /proc/asound/cards
BR,
Laurent
Hi Laurent
Thanks for Jamulus OS, have learnt alot getting it all to work.
Fot the internal sound card:- zita-a2j -j "Internal In" -d hw:PCH -r 48000 -p 128 -n2 -c 2 &
and for the Behringer:- zita-a2j -j "Behringer" -d hw:CODEC -r 48000 -p 128 -n3 -c 2 &
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x91410000 irq 124
1 [CODEC ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0000:00:14.0-5.2, full speed
You can go in pulseaudio volume control (
pavucontrol
), and put "off" the sound card you want to use with zita in pulseaudio configuration tab. This sometimes helps.You then use
alsamixer
to control volume.Last edit: Laurent Schwartz 2020-07-16
I normaly run the following:-
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service
This is before I run ALSA. Used the same script that is works well with Jack and ALSA. This is the script I use.
msg="* Please wait "
clear
echo ""
echo " "
echo " Jamulus Startup Script 256 "
echo " "
echo ""
echo
echo " Setting up Jack Audio Control"
echo
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service
jackcontrol start
sleep 5s
jackcontrol ds zita-a2j
sleep 5s
jackcontrol dps rate 48000
jackcontrol dps period 256
sleep 5s
jackcontrol dps nperiods 3
tput cup 14 0
echo -n "$msg"
l=${#msg}
l=$(( l+6))
for i in {10..00}
do
tput cup 14 $l
echo -n "$i"
sleep 1
done
echo
echo
echo " Loading Sound Cards"
echo
zita-a2j -j "Internal In" -d hw:PCH -r 48000 -p 128 -n2 -c 2 &
tput cup 18 0
echo -n "$msg"
l=${#msg}
l=$(( l+6))
for i in {5..0}
do
tput cup 18 $l
echo -n "$i"
sleep 1
done
echo
echo
echo " Internal In deployed "
echo
zita-a2j -j "Behringer" -d hw:CODEC -r 48000 -p 128 -n3 -c 2 &
tput cup 22 0
echo -n "$msg"
l=${#msg}
l=$(( l+6))
for i in {5..0}
do
tput cup 22 $l
echo -n "$i"
sleep 1
done
echo
echo
echo " Behringer Q502USB deployed "
echo
tput cup 26 0
echo -n "$msg"
l=${#msg}
l=$(( l+6))
for i in {5..0}
do
tput cup 26 $l
echo -n "$i"
sleep 1
done
echo
echo
/usr/bin/jamulus-client-start &
echo
sleep 5s
echo
carla ./Carla/Jamulus.carxp
echo
echo*
Last edit: Colin Green 2020-07-16
each of Jack server and zita-a2j should have their own sound card.
If PCH and CODEC are the only sound cards availables, you may want to start jack on PCH or CODEC and start zita-a2j on the other one.
jack_control start
should be called after setting the engine / jack parameters in order for those parameters to take effect.Also, if you want to start a session, you may want to look at RaySession. This let you handle the open/close/save of several applications in one click and let you define some script to run on start/save/close of the session.
Thankyou, will change things around tomorrow.
Regards
Colin
Almost solved. Jack driver changed from ALSA to dummy. Latency not as good as expected, and xruns very bad. More experiments with settings required. But for now back to making music