[03:37] <Kraus> Where does Ubuntu Studio Controls store its presets and configurations?
[04:32] <Kraus> Hm. Seems a question similar to mine was asked on Launchpad in May with no response. https://answers.launchpad.net/ubuntustudio-controls/+question/690409
[05:20] <OvenWerks> Kraus: presets or config? anyway, ~/.config/autojack/autojackrc
[05:32] <Kraus> OvenWerks: Oooh! Okay, let's see..
[05:34] <OvenWerks> if your version is old enough it will be ~/.config/autojackrc
[05:34] <OvenWerks> latest version is 2.0.7
[05:34] <Kraus> Okay, I found the file. It has the ' pulse-in = ' and ' pulse-out = ' but doesn't have any of the channels=2 or channel_name= info.
[05:35] <Kraus> What I'm trying to do is find out how to change the output bridge configurations.
[05:35] <OvenWerks> no we do not yet have a setting for number of channels
[05:35] <OvenWerks> but changing the name has been possible for a while
[05:36] <Kraus> https://askubuntu.com/questions/1274267/ubuntu-studio-controls-how-to-add-and-map-surround-audio-channels-to-a-pulse-ou
[05:36] <Kraus> That's where I posted the original question if it helps understand what I'm trying to do.
[05:36] <OvenWerks> the title is pretty clear :)
[05:37] <Kraus> Yeah, whenever I create a module manually, USC overrides my work when I restart Jack.
[05:37] <Kraus> pacmd load-module module-jack-sink sink_name=Surround client_name=Surround channels=4 connect=no
[05:37] <Kraus> Is there any way I can tell USC to not do that?
[05:37] <OvenWerks> two ways: hack ubuntustudio-controls, run a script after controls starts
[05:38] <OvenWerks> The file to change would be /usr/bin/autojack
[05:38] <Kraus> This poor guy asked about this same question back in May: https://answers.launchpad.net/ubuntustudio-controls/+question/690409
[05:39] <Kraus> Wish I could code. I'd help add that functionality to USC. Seems super important.
[05:41] <Kraus> I'm picturing an output bridge editor dialog box where the user could set the attributes either manually in a text field or a series of drop-downs.
[05:41] <OvenWerks> the file is script and the change for what you want would be one or two lines
[05:41] <OvenWerks> but it would not be changable.
[05:42] <OvenWerks>  The problem is that autojack has changed a lot since your version and so if I give a line number that would not help
[05:42] <OvenWerks> search might work though
[05:42] <Kraus> Sorry, I don't understand.
[05:43] <Kraus> Hmmm... I typed $autojack --help and now I'm hearing a bunch of crackling in my earphones.
[05:44] <Kraus> I'll let the guys in the Linux Audio discord I'm part of know there's no way to change the channel number yet.
[05:44] <OvenWerks> --help would not help
[05:44] <Kraus> I was just trying to find a little more information about what autojack is.
[05:44] <OvenWerks> you would need to edit that file
[05:46] <OvenWerks> autojack is a daemon that runs in the background and accepts commands from studio-controls as well as monitors hardware for new usb devices getting (un)plugged
[05:46] <OvenWerks> it then adjusts how jack runs
[05:46] <Kraus> Ahh, is it part of ubuntustudio-control or is it something else entirely?
[05:46] <Kraus> I mean is it part of the same project?
[05:47] <OvenWerks> they are all a part of the same package
[05:47] <Kraus> Okay. So, I can edit the file, but then I'm confused because you said it would not be changable?
[05:48] <OvenWerks> it started as a personal script and then as a way for a more painless use of USB microphones which are never "profesional" :)
[05:48] <Kraus> Here here. Yeah, I'm using an audio interface now.
[05:49] <Kraus> I see the line:
[05:49] <Kraus> cp = subprocess.run(["/usr/bin/pactl", "load-module", "module-jack-sink", f"client_name={poname}", "channels=2", "connect=no"], etc etc.
[05:49] <OvenWerks> you can edit it, but once you change the number of chanels for a pulse-jack bridge it will stay at that number so if you change it to 6 channel then it will stay that way untill you edit it again
[05:49] <Kraus> Right, seems reasonable
[05:49] <OvenWerks> yes you can change the channels= to 4
[05:50] <OvenWerks>  you will probably find there is more than one line like that
[05:50] <OvenWerks> There are two of them
[05:51] <OvenWerks> one for startup and one for recongifuring
[05:51] <Kraus> Interesting
[05:51] <OvenWerks> reconfiguring even
[05:52] <Kraus> Alright, here goes.. no guts, no glory...
[05:53] <OvenWerks> you will need to use sudo nano /usr/bin/autojack
[05:53] <Kraus> Right.
[05:54] <Kraus> Well this does explain a lot. :)
[05:55] <OvenWerks> I will add channel number to my list of feature requests...
[05:55] <Kraus> I do wonder what this will do to that drop-down with the channel list. I have a feeling it's going to break it.
[05:56] <OvenWerks> only the first two channels will auto connect
[05:56] <Kraus> channels= and channel_map= since they kind of work together.
[05:56] <Kraus> Depending on if it's 4.0 surround, 5.0, 5.1, 7.1, etc. the channels map differently.
[05:57] <Kraus> I recently peeked at the jack manual page for modules.
[05:57] <OvenWerks> I don't think the pulse-sink module really goes farther than number
[05:57] <Kraus> https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/
[05:57] <OvenWerks> (I could be wrong)
[05:58] <Kraus> "channel_map ... Channel map. A list of comma-separated channel names. The currently defined channel names are: left, right, mono, center, front-left, front-right, front-center, rear-center, rear-left, rear-right, lfe, subwoofer, front-left-of-center, front-right-of-center, side-left, side-right, aux0, aux1 to aux15, top-center, top-front-left, top-front-right, top-front-center, top-rear-left, top-rear-right, top-rear-center,
[05:58] <Kraus> (Default depends on the number of channels and the driver)
[05:58] <Kraus> "
[05:59] <OvenWerks> ah channelmap is there
[05:59] <Kraus> These USB audio interfaces have many different channels mappable. Mine has 10 analog monitor outputs, each with a 1/4" TRS jack. There is someone on linuxmusicians.com currently making drivers for the entire line made by Focusrite Scarlett's 3rd gen interfaces.
[06:00] <Kraus> So, to use that, I need a pulse sink that has the channels mapped so I can connect them through Carla. :)
[06:00] <Kraus> That's why USC is so important to have this, because otherwise all of these professional musicians can't use USC.
[06:01] <OvenWerks> It seemed to me the default was pretty reasonable
[06:01] <Kraus> :)
[06:01] <OvenWerks> two channels is pretty standard
[06:01] <Kraus> If I showed you what my Carla looks like you'd freak out, hehe
[06:02] <OvenWerks> no probably not.
[06:02] <OvenWerks>  but people selling music generally do so in stereo if for no other reason than most media deals with that well.
[06:03] <OvenWerks> if it is stereo of spotify or bandcamp or whtever.
[06:03] <Kraus> Dolby Surround 5.1, etc. People have surround sound monitor setups for when editing films and videos.
[06:03] <OvenWerks> videos with action are the biggest place for surround
[06:03] <Kraus> VLC for playing movies, etc.
[06:04] <Kraus> Yeah
[06:05] <Kraus> Okay, I edited the python file.. so if I restart jack in USC hopefully it will work?
[06:05] <OvenWerks> anyway, as I said, I can add channels other than two in newer versions... probably for 21.04
[06:05] <OvenWerks> no you need to killall autojack first
[06:06] <OvenWerks> Then restarting jack will restart autojack
[06:06] <Kraus> Oh, okay.. oh well, it looks like it worked regardless, hehe.
[06:06] <OvenWerks> good
[06:09] <Kraus> Hmmmmm... confusion arises...
[06:09] <Kraus> autojack, does it know about my additional bridges?
[06:10] <Kraus> I have a bridge called pulse_out and discord_out
[06:10] <OvenWerks> did you add another bridge or change the number of channels
[06:10] <Kraus> I'll need to explain
[06:10] <OvenWerks> It depends of the version of controls. later versions allow a number of bridges
[06:10] <OvenWerks>  but in general if controls did not start it then controls doesn't know about it.
[06:12] <Kraus> Because I could not add a 4-channel bridge in USC, I removed pulse_out, but kept discord_out. I would use pacmd to manually make the 4-channel bridge. When I changed the python file I forgot to remake pulse_out in USC, so it made the discord_out 4 channels. It added the channels just fine. But, now that I can change the python script I am going to remake pulse_out. But I just noticed the python script doesn't have "discord_out
[06:12] <Kraus> " anywhere in it.
[06:13] <OvenWerks> if you had the newer version of controls, it could have more than one bridge
[06:13] <Kraus> I do?
[06:13] <OvenWerks> you should have ubuntustudio-installer
[06:14] <Kraus> I mean, how do I find out the version I have.
[06:14] <Kraus> I mean, how do I find out the version I have?
[06:14] <Kraus> I installed ubuntu studio 20.04
[06:14] <OvenWerks>  if you use that to enable the backports ppa then the newer version should auto install next update
[06:14] <Kraus> Waitwait
[06:14] <Kraus> How do you know I don't have the newer version of controls?
[06:14] <OvenWerks> for 20.10 it is now called studio-controls
[06:15] <Kraus> Oh, 20.10 got released?
[06:15] <OvenWerks> no but the backports ppa hasit
[06:15] <Kraus> Ahhh.
[06:15] <Kraus> It is possible to make more than one bridge with my version, though.
[06:15] <OvenWerks> I have to go now
[06:15] <Kraus> Ok
[06:16] <OvenWerks>  wife is calling
[06:16] <Kraus> Hehe
[06:22] <Kraus> OvenWerks: For when you come back: It looks like editing the python script to 4 channels changes ALL output bridges to 4 channels.
[06:24] <Kraus> I don't think this will have any significant effect in my situation because discord is only monophonic anyway.
[20:36] <jkasha> Hope someone can help me please with the following error:  "The disk system on your computer
[20:36] <jkasha> was not able to keep up with Ardour. Specifically, it failed to write data to disk quickly enough to keep up with recording."  I get this error when I'm recording only a single track, usually 20-30 seconds into it.  I’m at 48khz and 32bit floating.  I don't always get this error, but usually I do.  Using Ubuntu Studio 20.04 [uname -r reports:  5.4.0-47-lowlatency].  I never used to have this problem, using exact same ha
[20:36] <jkasha> rdware, both in Fedora previously and more recently in Ubuntu.  I have run disk utility and the disk is fine, and it is mounted properly.  Any ideas?  I can’t figure it out on my own. Thank you.  J
[21:00] <Eickmeyer[m]> jkasha: Usually means either your disk is too slow, the hardware is too slow to write to the disk (sometimes SATA I isn't even enough), but really sounds like a hardware problem 100% on your end, might be due to the different version of the kernel. That's a loaded question, to which there is really no cut-and-dry answer. I suggest troubleshooting or asking the folks in #ardour, #lau (Linux Audio Users) or #opensourcemusicians if
[21:00] <Eickmeyer[m]> they've had any issues like this (hint: most haven't).
[21:07] <jkasha> Thx Eickmeyer.  Will sound out some of those other channels.  :(
[21:13] <OvenWerks> Kraus: yes, that would be the result. When I work on this next it will be able to choose different numbers of channels per bridge, but because you have a need for it now and not some months away... a quick hack will work.