=== guiverc2 is now known as guiverc [07:21] Well.. when I run a2jmidi_bridge or j2amidi_bridge on the terminal, it runs fine, but it Will put my terminal on standby until I stop the process [07:21] Meaning if I run a2jmidi_bridge and now I also want to run a j2amidi_bridge I have to start another terminal [07:22] For my setup I need 2x j2amidi_bridge and 1x a2jmidi_bridge [07:24] This is because ardour is showing up as a jack midi connection (probably die to my FireWire soundcard?) while most of my hardware synths show up in alsa midi because they have USB midi port. [07:25] Wait... I haven't even tried running `a2jmidid` [07:26] Have to look into that... I usually just run the bridge [07:28] No, a2jmidid doesn't detachm not in the send I understand it... [07:28] Sense* [07:29] It runs all good, but the terminal is not useable once it's raining. I have to stop the process to be able to do anything [07:29] Gah... Spelling [07:29] Once it's *running [07:30] Also a2jmidid doesn't give me a j2a bridge... Only a2j [07:31] Hmm... No... It does gives me both.... [07:31] But I need more of them I'll figure it out [07:33] Well that was easy!!! Sorry for wall of text, but thank you for clearing it up for me OvenWerks !!! [07:34] For anyone wondering `a2jmidid -e` will create a bridge for each connected hardware too [08:51] Oh yes oh yes!!! Ardour templates saves the midi connection :') as expected but still. :') [13:57] sakrecoer[m]: why do you need more midi bridges? [13:57] sakrecoer[m]: by the way, the commandline you are probably looking for is: a2jmidid -e & [13:58] I don't when I run a2jmidid. But just running j2a/a2jmidi_bridge I needed more because I had to do a bridge per device... [13:59] `a2jmidid -e` even [13:59] or if the random outputs are anoying: a2jmidid -e >~/midi.log & [13:59] if you add the & on the end it will go background [14:00] Thanks!! I didn't know that one! :) [14:01] but unless you redirect all the terminal i/o it will still stop if you get rid of that terminal [14:01] But I made so that a2jmidid -e is ran when I start jack. [14:01] how are you starting jack? [14:01] With qjackctl [14:02] so with "execut script after startup" then. you can still add the & [14:02] s/can/should/ [14:04] Awesome!! Noted. I haven't actually tried it yet. It just stroke me earlier when away from compu that there is that option to execute script after startup [14:04] Many many thanks OvenWerks !!! [14:04] YW [20:03] Hi all, I'd appreciate your asssitance on the following. [20:03] ubuntustudio@UBUNTU-STUDIO:~$ lsb_release -a No LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 20.04 LTSRelease: 20.04Codename: focal [20:03] I have a front and rear mic input on my PC. I can only hear mic input when either front or rear mic is connected to Input Source, 0. If I switch either front or mic input to Input Source, 1 or Input Source, 2 I don't hear anything. Also increased front and rear mic boost with no effect. Any idea what I'm doing wrong? TIA. [20:03] Screenshot of Carla and QasMixer Config: https://i.stack.imgur.com/cGFq4.png [20:04] I also ran a diagnostic tool I found here: http://www.alsa-project.org/alsa-info.sh [20:04] This is the output: https://paste.ubuntu.com/p/8TbW5sVZGR/ [20:04] can you also do: arecord -l |pastebinit [20:05] sure one moment [20:05] https://paste.ubuntu.com/p/mjSMHmbVCX/ [20:06] One of your inputs is PCH,0,0 and the other one is PCH,2,0 [20:07] so it depends on which program you are recording with [20:08] qasmixer or alsa mixer will show the controls for both at the same time (because that's the way alsa works) [20:09] I guess any recording program would have the same problem. It will only record one device at a time. Using jack with zita-a2j should show both [20:09] ubuntustudio-controls can set this up though. [20:13] In the screen shot I've provided of carla, PCH,0,0 = System Capture_1 and PCH,2,0 = System Capture.2? [20:14] Capture_2 [20:15] how did you start jack? [20:15] or did you start jack that you are aware? [20:16] I didn't actively start jack. I opened Ubuntu Studio Controls, then clicked the corresponding buttons for Open Carla and Open QasMixer. [20:17] ok so Carla hit the "if jack isn't running start it" thing :P [20:18] if you use -controls to start jack, it will show up with PA bridges in it. (you would need to restart carla after using controls to start jack. [20:18] in -controls you should see an extra devices tab. [20:19] in that tab there is a drop down called "Add". If you set the jack master to PCH,0,0 [20:20] then add PCH,2,0 [20:20] Apply the new settings (and start jack if you haven't already) [20:22] If you start Carla and look at the patch bay you should have system:capture, system:playback, PCH,2,0:capture and two pulse (in and out) nodes as well [20:26] system capture will be one of the inputs and PCH,2,0 capture should be the other [20:31] jack master settings: https://imgur.com/eeoaC7i.pngextra settings tab: (I added PCH 2,0 and PCH 2,1) https://imgur.com/jC2Anvs.pngCarla Patchbay results: https://imgur.com/WxBrhyl.png [20:40] ALso one item I'm confused about. I reviewed an intro to ALSA here: http://www.volkerschatz.com/noise/alsa.html and the author indicates one must reference car, device, sub device in certain situations, but I see PCH,2,0 as missing a third number. Is that because PCH is a device and hence the card doesn't need to be referenced by number here? [20:45] Also my apologies I just noticed you said to add PCH,2,0 so I remove PCH,2,1. Same result though in Carla. [20:46] PCH replaces the first number yes. [20:46] we use PCH because on systems with more than one audio device the device numers change with differednt boots. [20:47] gotcha [20:48] The last time I booted PCH went from being device 2 to device 1... so using PCH always points to the same device [20:48] after adding the device did you hit the "Apply audio settings"? [20:49] to be honest, I have not played around with PCH audio devices much. [20:50] confirmed, yes I hit apply audio settings. [20:51] interesting [20:52] in a terminal can youn type: ps x |grep zita [20:52] do you see one entry or two? [20:53] https://paste.ubuntu.com/p/q53zz7Z3nq/ [20:53] oops [20:53] yes [20:53] although they're all listed as defunct [20:54] Yikes! [20:55] try: killall -sigint zita-a2j zita-j2a [20:56] That should get rid of them all but if not That is ok for now. [20:57] getting an error on the command [20:57] ubuntustudio@UBUNTU-STUDIO:~$ killall -sigint zita-a2j zita-j2aigint: unknown signal; killall -l lists signals. [20:58] -signals ? [20:59] may have to be -s INT [20:59] k [20:59] so killall -s INT zita-a2j zita-j2a [21:00] gotcha, ran the command but ps x |grep zita is still showing the same list of processes, all defunct [21:01] https://paste.ubuntu.com/p/rDdzFMGtjG/ [21:01] possible, it means there was nowhere for the output to go when it quit [21:01] gotcha [21:01] Anyway, (lets make another one to see if we can figure out what is happening. [21:02] k [21:03] in a terminal: zita-a2j -j extra -d hw:PCH,2,0 -v [21:04] appears to have succeeded [21:04] it's stated "starting synchronization" and is spitting out 3 columns of numbers [21:05] ok [21:05] control c to stop and the same line with no -v [21:05] (control c is the same a sig INT) [21:06] done. "Starting synchronisation." message [21:06] In carla you should see it. [21:06] (carla patch bay) [21:07] yup got it. I see a box labelled "extra" and a capture_1 and capture_2 inside the box [21:07] That should be your second input. [21:08] Though it seems to think it is a stereo line in rather than a mic. [21:09] The only thing different (things) is that the SR would be 48000 and the buffer would be 256. [21:10] I did a quick google on zita-a2j, and this command creates a bridge from the second input, PCH,2,0 to something that JACK, and by extension Carla can see? [21:10] I find it odd that it would complain if it shows only 48k -controls should have caught that [21:10] yes it does [21:11] this is the same command that -controls uses internally [21:11] gotcha [21:11] The only thing I can think is that the buffer size -controls is using is too small [21:12] controls (in 20.04) uses jack buffersize/2 (as recomended by the auther of zita-ajbridge) [21:13] I hooked everything up in Carla and ran through some tests in Qas Mixer. I'm now about to hear sound on Capture 0 and Capture 1 for either front and rear mic. [21:13] -controls in 20.10 will make sure the buffer for a PCH device is at least 128 [21:13] about = able [21:13] So it just mixes the two together? [21:14] or are then on separate chanels? [21:14] channels even [21:18] My apologies I'm an absolute n00b on the details here. But I think they are on separeate channels. I've got front mic on capture 0 and rear mic on capture 1. when I increase the slider for capture 0 only front mic increases in vol. same for capture 1. I'd assume that if the inputs were mixing they volume would go up and down for both regardless of [21:18] which slider I was using in QASMixer. [21:19] ok. [21:20] my problem appears to be solved, thank you very much. [21:20] is there any action I can take to auto matically execute the command you sent for me? [21:20] can you type: cat ~/.config/autojack/autojackrc |pastebinit [21:21] https://paste.ubuntu.com/p/vHmXHwW6y7/ [21:22] wow how did you do that? I didn't think it was possible [21:23] if you can wait for 5 min or so I will be back. [21:23] sure [21:26] in -controls you have Added both PCH,0,0 _and_ PCH,2,0 [21:27] it should only be PCH,2,0 [21:27] so remove PCH,0,0 from the extra devices [21:27] Then apply and then restart jack [21:29] The zita extra will also stop. [21:29] you already have PCH,0,0 set up as jack's master device. [21:31] confirmed, only PCH,2,0 is now selected in other audio interfaces [21:32] and you have applied and restarted jack? [21:32] confirmed [21:32] carla will probably be blank :) and need to be restarted to pick up jack [21:33] it should now show PCH,2,0:capture [21:33] (PCH_in,2,0 maybe?) [21:34] shit! sorry about this I have to go. I can return to this in about 45 mins if you're still around. [21:34] * OvenWerks can't remember [21:34] thank you very much for your help so far. [21:34] no problem... may take me a miniute to respond [21:34] ok great [22:29] I'm back [22:31] OvenWerks I confirmed that restarted jack. when I reopen Carla extra is gone. [22:32] cat ~/.config/autojack/autojackrc |pastebinit [22:32] Again [22:33] Just so I know what we are dealing with [22:33] https://paste.ubuntu.com/p/fqJNY26Zm4/ [22:33] Still has not changed [22:34] in the extra tab remove PCH,0,0 [22:34] (the only thing left in that tab should be PCH,2,0) [22:35] Then Apply Audio Settings [22:35] then cat ~/.config/autojack/autojackrc |pastebinit [22:38] Simply to clarifiy, atm, Jack Master Settings -> Jack Master Device (no USB) : PCH,0,0 . PCH,0,0 doesn't appear as a device that can be added in Extra Devices -> Connect Other Audio Internal Interfaces [22:38] (or removed, for that matter) [22:38] huh [22:39] ya it should not be available. I am just wondering how it got there [22:39] So maybe start over. [22:39] rm ~/.config/autojack/autojackrc [22:40] restart -controls [22:40] one thing before I execute that command. "how it got there" = how it got set as Jack Master Device (no USB) ? [22:40] No how it got to be in xtra devices. [22:40] gotcha. [22:41] That should not have been possible [22:42] So after removing that file restart ubuntustudio-controls [22:42] Audio Setup->Jack Master Settings [22:42] ok, so I closed Ubuntu Studio Controls, executed rm ~/.config/autojack/autojackrc in a terminal, reopened Ubuntu Studio Controls, and clicked Start or Restart Jack. [22:43] no [22:43] hit stop jack for a sec [22:43] ok done [22:43] Jack master should be PCH,0,0 [22:44] under extra devices->remove there should be nothing [22:44] Apply Audio settings should write the file you just removed. [22:45] so cat ~/.config/autojack/autojackrc |pastebinit to make sure that has done what I expect. [22:49] simply to clarify: I should confirm that jack master and extra devices -> are as you expect _before_ clicking Apply Audio settings? [22:52] no after [22:52] That file should not exist before (I think) [22:53] unless starting jack created it [22:53] let me send you 2 screenshots of where I'm at with Ubunutu studio controls. I just want to make sure I'm understanding your directions properly. Here's how the 2 tabs appear on my computer right now: [22:53] jack master settings - https://imgur.com/WiaHmID.pngextra settings tab - https://imgur.com/dMd3R1j.png [22:54] notice per your instruction also that jack is stopped [22:56] ok in Jack Master Settings change default to PCH,0,0 [22:57] done [22:57] * OvenWerks notes that there is no "default" in the next version of controls [22:57] ok, Apply audio settings [22:57] then cat ~/.config/autojack/autojackrc |pastebinit [22:59] I want to make sure controls is writing the config file right [22:59] https://paste.ubuntu.com/p/XFgP4rrnHx/ [22:59] good [23:00] in extra devices Add, select PCH,2,0 [23:00] the do the cat ~/.config/autojack/autojackrc |pastebinit [23:01] Click apply audio settings after Add, select PCH,2,0 and before cat....? [23:01] yes [23:01] :) thanks [23:02] np [23:02] https://paste.ubuntu.com/p/jM7cdSH7YZ/ [23:03] ok start jack [23:03] done [23:04] in terminal: jack_lsp -c |pastebinit [23:04] https://paste.ubuntu.com/p/swzYTSXWKq/ [23:06] ps x |grep zita [23:06] does it still show all the defunct ones or is there one good one? [23:07] https://paste.ubuntu.com/p/Kb8Hj4q78B/ [23:07] all appear defunct i think [23:08] but we can start zita in the terminal like before? [23:08] would you like me to try that command again at the terminal? zita-a2j -j extra -d hw:PCH,2,0 [23:08] zita-a2j -j extra -d hw:PCH,2,0 [23:10] gotcha. I just executed that command in a terminal and see the message "Starting synchronisation.". I opened Carla and see the box lablelled "Extra" with capture_1 and capture _2 inside. [23:11] which is what you want [23:11] I do not know (at this time) why controls is not able to do the same [23:14] But I do get the same thing here. so I can continue to trouble shoot here [23:15] gotcha. well the good thing I guess is the problem is reproduceable. [23:19] seems to be that any device,0,0 works (I have three of them) but any device,1,0 or ,2,0 don't [23:31] For the time being, kicking off zita-a2j from the command line should be a good work around for me. Thanks again for your help with this I appreciate it. Did you need any more info from me before I go? [23:31] No it is fine... works the same here [23:32] sounds good. good day!