Hi
I have Jamulus over Jack(d) running OK with a UCA202 but I miss to be able to use the microphone in my Ubuntu 16.04 laptop. Anyone knows how to use it with Jackmulus please ? I asked @ QJackCtl but answers are spartan.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you Laurent, your link gave me one solution
The thing that prevented me to go further was I got "Device busy..." when I ran alsa_in. And was the result of Ubuntu's PulseAudio locking the device for it's own usage and I didn't knew how to kill it (it was auto restarted). The man Rui who develops QJackCtl gave me a hint :
I had to uninstall pulseaudio-module-jack and I had to create the file ~/.config/pulse/client.conf and put inside this: autospawn=no
to prevent PulseAudio to restart on it's own. Then with pulseaudio --kill I can stop it
and after that I can have the MoBo audio chip input in QjackCtl and can route (connect) it to Jamulus input: I added this in my ~/jamulus/jamstart.sh that I reference in the Jack GUI's PostStart field
Same in jamend.sh (killall jalumus &; killall alsa_in &; exit 0) in PreStop field
Now this works but it seems the microphone volume has no more control slider once I killed pulseaudio and seems to keep Volume level/Mute status from when pulse was running... this remains a problem because the internal microphone has no swith as a real external one.
Later I learned I could have use something like alsa_in -j Micro -d dsnoop:$card instead of hw:$card , maybe I could have keep pulse running beside Jack but pulse-jack-sink/source clients never worked for me.
In the end I have to pulseaudio --daemonize when I finish with Ja[ckm]ulus. Even I could have use a thing called snd-aloop (with dsnoop for capture) but I didn't understand.
Is one of these 3 solutions the best recommended for use with Jamulus ? I mean I don't really care with the latency of the microphone (just to speak with friends, not sing) as long as the device that makes it available doesn't disturb jamulus/jack main job with the USB card.
Also when the alsa_in is connected to Jamulus there is a strong hissing in the headphones.
And I still have problems because I'm not good at scripting, e.g. I don't know if I can put the pulseaudio kill/start commands directy in Prestart/PostStop fields in the Jack's GUI or if I need to have them in shell scripts.
Bye bye and thank you again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have Jamulus over Jack(d) running OK with a UCA202 but I miss to be able to use the microphone in my Ubuntu 16.04 laptop. Anyone knows how to use it with Jackmulus please ? I asked @ QJackCtl but answers are spartan.
You have to add a sound card to the jack setup.
Video can help ? https://www.youtube.com/watch?v=cgVYDM8AXWk
Last edit: Laurent Schwartz 2020-03-26
Thank you Laurent, your link gave me one solution
The thing that prevented me to go further was I got "Device busy..." when I ran
alsa_in
. And was the result of Ubuntu's PulseAudio locking the device for it's own usage and I didn't knew how to kill it (it was auto restarted). The man Rui who develops QJackCtl gave me a hint :I had to uninstall
pulseaudio-module-jack
and I had to create the file ~/.config/pulse/client.conf and put inside this:autospawn=no
to prevent PulseAudio to restart on it's own. Then with
pulseaudio --kill
I can stop itand after that I can have the MoBo audio chip input in QjackCtl and can route (connect) it to Jamulus input: I added this in my ~/jamulus/jamstart.sh that I reference in the Jack GUI's PostStart field
Same in jamend.sh (killall jalumus &; killall alsa_in &; exit 0) in PreStop field
Now this works but it seems the microphone volume has no more control slider once I killed pulseaudio and seems to keep Volume level/Mute status from when pulse was running... this remains a problem because the internal microphone has no swith as a real external one.
Later I learned I could have use something like
alsa_in -j Micro -d dsnoop:$card
instead of hw:$card , maybe I could have keep pulse running beside Jack but pulse-jack-sink/source clients never worked for me.In the end I have to
pulseaudio --daemonize
when I finish with Ja[ckm]ulus. Even I could have use a thing called snd-aloop (with dsnoop for capture) but I didn't understand.Is one of these 3 solutions the best recommended for use with Jamulus ? I mean I don't really care with the latency of the microphone (just to speak with friends, not sing) as long as the device that makes it available doesn't disturb jamulus/jack main job with the USB card.
Also when the alsa_in is connected to Jamulus there is a strong hissing in the headphones.
And I still have problems because I'm not good at scripting, e.g. I don't know if I can put the pulseaudio kill/start commands directy in Prestart/PostStop fields in the Jack's GUI or if I need to have them in shell scripts.
Bye bye and thank you again.