Audio Setup Problems under Ubuntu Studio

987 views
Skip to first unread message

Peter C

unread,
Apr 6, 2021, 4:54:47 PM4/6/21
to SonoBus Users

Can someone point me to the proper way to setup the audio?

I use a Behringer UMC404 4 channels USB interface. When opening the Audio Setup page, I choose ALSA under Device.  Then I click the Input selection.  A long list of devices were shown ranging from ALSA default , multi-channels from 2.1 to 7.1, internal soundcard multi-channels as well as the UMC404 with multi-channels from 2.1 to 7.1.  A similar list also shows under Output selection.

I have no idea of which is the right one to select and obviously go for those with UMC404 in the prefix.  The program comes back with no channel is available message.  I changed selection and tried different combination on the Input and Output.  Occasionally some combination will present their channels (not always though).  But if I hit the test tone switch, no sound is heard. 

I repeat the process with closing the program or rebooting the computer.  Then there was one time that a selection with UMC404 listed with 2.1 front speakers was able to generate test tone.  However I have to further adjust the Sample Rate and Buffer Size to make the test tone not distorted.  However repeat this setting does not always work.

Another strange thing is that if I was able to get the interface to sound right, the Ubuntu latency is 4 times higher than another Windows 10 setup (same Core i5 hardware specs) on the LAN.

As you can tell I have no idea of what will work other than by trial and error.  Can anyone shed some light on this for me?

Peter

Harry B

unread,
Apr 19, 2021, 8:36:53 AM4/19/21
to SonoBus Users
Hallo Peter,

You are recommented to use jack not alsa. You have to start jack first not sonobus. You can start jack with the gui qjackctl. There you have to make your settings for your interface Behringer.
If you are german (like me) there is a good description of qjackctl here: https://www.linuxmintusers.de/index.php?action=wiki;page=JACK-Tutorial

Caution: in qjackctl you choose your audiointerface in the section:  1. setup -->  Advanced ---> Output Device (your audiointerface - Audio), Input Device (your Input Device in general).  Don't choose "default". in many cases it doesn't work.

Then change to Parameters. Here are your settings for Sample Rate and Frames/Period. These parameters depends on your Audiointerface.
It is recommented to choose 48.000 Sample Rate and 128 Frames/Period.
More than 48.000 isn' t necessary.
The lower your Framerate the lower is your latency. Try it out. The lower you choose the Framerate the more is the probality that you' ve got Jitterbuffers and so on and that means that the sound you getting becomes worser.

When everything is working good with qjackctl you can turn on sonobus. There you choose in the settings jack.
In my case i have to start another piece of software called "carla". With carla it is simple to make the correct Audio Connections if you have problems before.
Start carla at last.
Because carla is in some times tricky try it first without carla.
Don' t hesitate if you have further Questions.

Harry

Peter C

unread,
Apr 19, 2021, 4:19:11 PM4/19/21
to Harry B, SonoBus Users
HI Harry,

Thank you for your instructions.  Unfortunately it is still not working for me.  I started with the GUI qjackctl and selected the Behringer audio interface in its Setup-Advance menu and then started jack.  No problem there.  Then I open Sonobus and into Setup Audio. Selected JACK as the device type.  However in the Input or Output drop down box, there is nothing listed and remains as "none".   I go back to Qjackctl and open Graph. I can see the Behringer midi ports are shown and under the system, there are 4 capture and 4 playback channels identified.  This suggested to me JACK is correctly seeing the Behringer interface.  However Sonobus is not shown on this screen.  My understanding of JACK is the audio application usually also has an icon on this screen to allow custom patching of channels. 

I also had executed the two commands during the installation:
sudo snap connect sonobus:alsa
sudo snap connect sonobus:jack1

Did I still miss some steps?

Peter

--
You received this message because you are subscribed to a topic in the Google Groups "SonoBus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonobus-users/eXir8feokrM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonobus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonobus-users/43bf1152-cbac-49ad-a876-8b671c5ef7ccn%40googlegroups.com.

Jesse Chappell

unread,
Apr 19, 2021, 4:26:29 PM4/19/21
to Peter C, Harry B, SonoBus Users
I recommend that you uninstall the Snap SonoBus and use our Debian packages instead. 

So, ‘sudo snap remove sonobus’ first. 

Then go to https://sonobus.net/linux.html and follow the instructions in the first section there. 

I think that version should work better with your Jack install. 

Jesse

You received this message because you are subscribed to the Google Groups "SonoBus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonobus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonobus-users/CAO4O6CzHVENZzx6Rv8AhfwucjK1d34PJWsARgccKWHtE%2BzMDKw%40mail.gmail.com.

Peter C

unread,
Apr 19, 2021, 6:00:39 PM4/19/21
to Jesse Chappell, Harry B, SonoBus Users
Thank you Jesse for the quick response and directions.  I am not familiar with Linux and therefore need you to hold me hand.  I successfully removed the Snap version and executed the commands in the first section on the website. No problem there.  But running the update and install ended up with the GPG error. Something about signature could not be verified and update cannot be done securely and therefore disabled by default.  I have a screen capture in the attached.
 
errors.jpg

Jesse Chappell

unread,
Apr 19, 2021, 6:20:48 PM4/19/21
to Peter C, SonoBus Users
Peter, this error looks like the second command didn't actually
work.... run this command again and post a screen shot of your
terminal after running it:
sudo wget -O /etc/apt/trusted.gpg.d/sonobus.gpg
https://pkg.sonobus.net/apt/keyring.gpg

Jesse
> To view this discussion on the web visit https://groups.google.com/d/msgid/sonobus-users/CAO4O6Cwtv1uJTAqAgE4mYR8DvBx66RXk3HWy5Rpe%2BZWju_ojNQ%40mail.gmail.com.

Peter C

unread,
Apr 19, 2021, 7:38:45 PM4/19/21
to Jesse Chappell, SonoBus Users
Hi Jesse,

I think I mistype -O with a lower case. Thanks to you, when I redo the two commands, I don't have the same error anymore. But system is complaining missing operand in my install.  attached it the terminal session.  Please instruct me how to fix it and also how to launch Sonobus if the install is successful. Do I have to run it from the terminal? What command to sue and in which directory?
logfile

Harry B

unread,
Apr 20, 2021, 2:50:24 AM4/20/21
to SonoBus Users
Hi Peter,
i have had the same problems with the snap sonobus. Jack doesn' t work with that constellation.
If you have no luck with the  installation preferred by jesse
there is another way that was working for me. But you have to know something about linx terminal and compiling.
Tell me if you need some help for this working.
Good Luck

Peter C

unread,
Apr 20, 2021, 7:59:41 PM4/20/21
to Harry B, SonoBus Users
Hi Harry,

Thanks for being so supportive.  Please examine my attached logfile.txt and tell me what I did wrong.  I followed Jesse instructions and executed those commands on his referred web page under Linux.  I am sure there is a simple fix in the eyes of the Linux experts. 

Peter

logfile.txt

Jesse Chappell

unread,
Apr 20, 2021, 8:11:47 PM4/20/21
to Peter C, Harry B, SonoBus Users
You forgot the ‘apt’ part of the last command:
  sudo apt update && sudo apt install sonobus

In the future, you should probably use a web browser on Linux (Firefox, etc) so you can just copy and paste commands directly from web pages to the terminal. I never guessed someone would just be typing these in by hand!

Jesse

Peter C

unread,
Apr 20, 2021, 8:52:39 PM4/20/21
to Harry B, SonoBus Users
Wow, it's all working now.  This just proved how inexperienced I am on Linux. Missing the "apt" parameter in my typing was terrible and now I learned that I can copy and paste on the terminal session.  Thank you so much Jesse and also for such a wonderful software.  Now the JACK device type is showing up with the choice of "system" and "PulseAudioJACK".  It works perfectly with my Behringer interface setup within Qjackctl (thanks to  Harry) and choosing "system" in Sonobus Audio Setup. I am now in a happy camp.

Peter
Reply all
Reply to author
Forward
0 new messages