[03:37] Where does Ubuntu Studio Controls store its presets and configurations? [04:32] 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] Kraus: presets or config? anyway, ~/.config/autojack/autojackrc [05:32] OvenWerks: Oooh! Okay, let's see.. [05:34] if your version is old enough it will be ~/.config/autojackrc [05:34] latest version is 2.0.7 [05:34] 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] What I'm trying to do is find out how to change the output bridge configurations. [05:35] no we do not yet have a setting for number of channels [05:35] but changing the name has been possible for a while [05:36] https://askubuntu.com/questions/1274267/ubuntu-studio-controls-how-to-add-and-map-surround-audio-channels-to-a-pulse-ou [05:36] That's where I posted the original question if it helps understand what I'm trying to do. [05:36] the title is pretty clear :) [05:37] Yeah, whenever I create a module manually, USC overrides my work when I restart Jack. [05:37] pacmd load-module module-jack-sink sink_name=Surround client_name=Surround channels=4 connect=no [05:37] Is there any way I can tell USC to not do that? [05:37] two ways: hack ubuntustudio-controls, run a script after controls starts [05:38] The file to change would be /usr/bin/autojack [05:38] This poor guy asked about this same question back in May: https://answers.launchpad.net/ubuntustudio-controls/+question/690409 [05:39] Wish I could code. I'd help add that functionality to USC. Seems super important. [05:41] 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] the file is script and the change for what you want would be one or two lines [05:41] but it would not be changable. [05:42] 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] search might work though [05:42] Sorry, I don't understand. [05:43] Hmmm... I typed $autojack --help and now I'm hearing a bunch of crackling in my earphones. [05:44] 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] --help would not help [05:44] I was just trying to find a little more information about what autojack is. [05:44] you would need to edit that file [05:46] 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] it then adjusts how jack runs [05:46] Ahh, is it part of ubuntustudio-control or is it something else entirely? [05:46] I mean is it part of the same project? [05:47] they are all a part of the same package [05:47] Okay. So, I can edit the file, but then I'm confused because you said it would not be changable? [05:48] 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] Here here. Yeah, I'm using an audio interface now. [05:49] I see the line: [05:49] cp = subprocess.run(["/usr/bin/pactl", "load-module", "module-jack-sink", f"client_name={poname}", "channels=2", "connect=no"], etc etc. [05:49] 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] Right, seems reasonable [05:49] yes you can change the channels= to 4 [05:50] you will probably find there is more than one line like that [05:50] There are two of them [05:51] one for startup and one for recongifuring [05:51] Interesting [05:51] reconfiguring even [05:52] Alright, here goes.. no guts, no glory... [05:53] you will need to use sudo nano /usr/bin/autojack [05:53] Right. [05:54] Well this does explain a lot. :) [05:55] I will add channel number to my list of feature requests... [05:55] 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] only the first two channels will auto connect [05:56] channels= and channel_map= since they kind of work together. [05:56] Depending on if it's 4.0 surround, 5.0, 5.1, 7.1, etc. the channels map differently. [05:57] I recently peeked at the jack manual page for modules. [05:57] I don't think the pulse-sink module really goes farther than number [05:57] https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/ [05:57] (I could be wrong) [05:58] "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] (Default depends on the number of channels and the driver) [05:58] " [05:59] ah channelmap is there [05:59] 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] So, to use that, I need a pulse sink that has the channels mapped so I can connect them through Carla. :) [06:00] That's why USC is so important to have this, because otherwise all of these professional musicians can't use USC. [06:01] It seemed to me the default was pretty reasonable [06:01] :) [06:01] two channels is pretty standard [06:01] If I showed you what my Carla looks like you'd freak out, hehe [06:02] no probably not. [06:02] but people selling music generally do so in stereo if for no other reason than most media deals with that well. [06:03] if it is stereo of spotify or bandcamp or whtever. [06:03] Dolby Surround 5.1, etc. People have surround sound monitor setups for when editing films and videos. [06:03] videos with action are the biggest place for surround [06:03] VLC for playing movies, etc. [06:04] Yeah [06:05] Okay, I edited the python file.. so if I restart jack in USC hopefully it will work? [06:05] anyway, as I said, I can add channels other than two in newer versions... probably for 21.04 [06:05] no you need to killall autojack first [06:06] Then restarting jack will restart autojack [06:06] Oh, okay.. oh well, it looks like it worked regardless, hehe. [06:06] good [06:09] Hmmmmm... confusion arises... [06:09] autojack, does it know about my additional bridges? [06:10] I have a bridge called pulse_out and discord_out [06:10] did you add another bridge or change the number of channels [06:10] I'll need to explain [06:10] It depends of the version of controls. later versions allow a number of bridges [06:10] but in general if controls did not start it then controls doesn't know about it. [06:12] 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] " anywhere in it. [06:13] if you had the newer version of controls, it could have more than one bridge [06:13] I do? [06:13] you should have ubuntustudio-installer [06:14] I mean, how do I find out the version I have. [06:14] I mean, how do I find out the version I have? [06:14] I installed ubuntu studio 20.04 [06:14] if you use that to enable the backports ppa then the newer version should auto install next update [06:14] Waitwait [06:14] How do you know I don't have the newer version of controls? [06:14] for 20.10 it is now called studio-controls [06:15] Oh, 20.10 got released? [06:15] no but the backports ppa hasit [06:15] Ahhh. [06:15] It is possible to make more than one bridge with my version, though. [06:15] I have to go now [06:15] Ok [06:16] wife is calling [06:16] Hehe [06:22] 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] I don't think this will have any significant effect in my situation because discord is only monophonic anyway. === ctrlshiftPrhaps1 is now known as ctrlshiftPrhaps [20:36] Hope someone can help me please with the following error: "The disk system on your computer [20:36] 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] 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] 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] they've had any issues like this (hint: most haven't). [21:07] Thx Eickmeyer. Will sound out some of those other channels. :( [21:13] 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.