[07:21] <sakrecoer[m]> <OvenWerks "徒 𝖘𝖊𝖙𝖙𝖔 セット🕸️🏴️: detach?a"> 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] <sakrecoer[m]> Meaning if I run a2jmidi_bridge and now I also want to run a j2amidi_bridge I have to start another terminal
[07:22] <sakrecoer[m]> For my setup I need 2x j2amidi_bridge and 1x a2jmidi_bridge
[07:24] <sakrecoer[m]> 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] <sakrecoer[m]> Wait... I haven't even tried running `a2jmidid`
[07:26] <sakrecoer[m]> Have to look into that... I usually just run the bridge
[07:28] <sakrecoer[m]> No, a2jmidid doesn't detachm not in the send I understand it...
[07:28] <sakrecoer[m]> Sense*
[07:29] <sakrecoer[m]> 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] <sakrecoer[m]> Gah... Spelling
[07:29] <sakrecoer[m]> Once it's *running
[07:30] <sakrecoer[m]> Also a2jmidid doesn't give me a j2a bridge... Only a2j
[07:31] <sakrecoer[m]> Hmm... No... It does gives me both....
[07:31] <sakrecoer[m]> But I need more of them I'll figure it out
[07:33] <sakrecoer[m]> Well that was easy!!! Sorry for wall of text, but thank you for clearing it up for me OvenWerks !!!
[07:34] <sakrecoer[m]> For anyone wondering `a2jmidid -e` will create a bridge for each connected hardware too
[08:51] <sakrecoer[m]> Oh yes oh yes!!! Ardour templates saves the midi connection :') as expected but still. :')
[13:57] <OvenWerks> sakrecoer[m]: why do you need more midi bridges?
[13:57] <OvenWerks> sakrecoer[m]: by the way, the commandline you are probably looking for is: a2jmidid -e &
[13:58] <sakrecoer[m]> <OvenWerks "徒 𝖘𝖊𝖙𝖙𝖔 セット🕸️🏴️: why do y"> 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] <sakrecoer[m]> <sakrecoer[m] "I don't when I run a2jmidid. But"> `a2jmidid -e` even
[13:59] <OvenWerks> or if the random outputs are anoying: a2jmidid -e >~/midi.log &
[13:59] <OvenWerks> if you add the & on the end it will go background
[14:00] <sakrecoer[m]> <OvenWerks "if you add the & on the end it w"> Thanks!! I didn't know that one! :)
[14:01] <OvenWerks> but unless you redirect all the terminal i/o it will still stop if you get rid of that terminal
[14:01] <sakrecoer[m]> But I made so that a2jmidid -e is ran when I start jack.
[14:01] <OvenWerks> how are you starting jack?
[14:01] <sakrecoer[m]> With qjackctl
[14:02] <OvenWerks> so with "execut script after startup" then. you can still add the &
[14:02] <OvenWerks> s/can/should/
[14:04] <sakrecoer[m]> 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] <sakrecoer[m]> Many many thanks OvenWerks !!!
[14:04] <OvenWerks> YW
[20:03] <myNonSpellChecke> Hi all, I'd appreciate your asssitance on the following.
[20:03] <myNonSpellChecke> ubuntustudio@UBUNTU-STUDIO:~$ lsb_release -a No LSB modules are available.Distributor ID: UbuntuDescription:    Ubuntu 20.04 LTSRelease:    20.04Codename:   focal
[20:03] <myNonSpellChecke> 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] <myNonSpellChecke> Screenshot of Carla and QasMixer Config: https://i.stack.imgur.com/cGFq4.png
[20:04] <myNonSpellChecke> I also ran a diagnostic tool I found here: http://www.alsa-project.org/alsa-info.sh
[20:04] <myNonSpellChecke> This is the output: https://paste.ubuntu.com/p/8TbW5sVZGR/
[20:04] <OvenWerks> can you also do: arecord -l |pastebinit
[20:05] <myNonSpellChecke> sure one moment
[20:05] <myNonSpellChecke> https://paste.ubuntu.com/p/mjSMHmbVCX/
[20:06] <OvenWerks> One of your inputs is PCH,0,0 and the other one is PCH,2,0
[20:07] <OvenWerks> so it depends on which program you are recording with
[20:08] <OvenWerks> qasmixer or alsa mixer will show the controls for both at the same time (because that's the way alsa works)
[20:09] <OvenWerks> 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] <OvenWerks> ubuntustudio-controls can set this up though.
[20:13] <myNonSpellChecke> In the screen shot I've provided of carla, PCH,0,0 = System Capture_1 and PCH,2,0 = System Capture.2?
[20:14] <myNonSpellChecke> Capture_2
[20:15] <OvenWerks> how did you start jack?
[20:15] <OvenWerks> or did you start jack that you are aware?
[20:16] <myNonSpellChecke> I didn't actively start jack. I opened Ubuntu Studio Controls, then clicked the corresponding buttons for Open Carla and Open QasMixer.
[20:17] <OvenWerks> ok so Carla hit the "if jack isn't running start it" thing :P
[20:18] <OvenWerks> 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] <OvenWerks> in -controls you should see an extra devices tab.
[20:19] <OvenWerks> in that tab there is a drop down called "Add". If you set the jack master to PCH,0,0
[20:20] <OvenWerks> then add PCH,2,0
[20:20] <OvenWerks> Apply the new settings (and start jack if you haven't already)
[20:22] <OvenWerks> 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] <OvenWerks> system capture will be one of the inputs and PCH,2,0 capture should be the other
[20:31] <myNonSpellChecke> 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] <myNonSpellChecke> 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] <myNonSpellChecke> 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] <OvenWerks> PCH replaces the first number yes.
[20:46] <OvenWerks> we use PCH because on systems with more than one audio device the device numers change with differednt boots.
[20:47] <myNonSpellChecke> gotcha
[20:48] <OvenWerks> 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] <OvenWerks> after adding the device did you hit the "Apply audio settings"?
[20:49] <OvenWerks> to be honest, I have not played around with PCH audio devices much.
[20:50] <myNonSpellChecke> confirmed, yes I hit apply audio settings.
[20:51] <OvenWerks> interesting
[20:52] <OvenWerks> in a terminal can youn type: ps x |grep zita
[20:52] <OvenWerks> do you see one entry or two?
[20:53] <myNonSpellChecke> https://paste.ubuntu.com/p/q53zz7Z3nq/
[20:53] <myNonSpellChecke> oops
[20:53] <myNonSpellChecke> yes
[20:53] <myNonSpellChecke> although they're all listed as defunct
[20:54] <OvenWerks> Yikes!
[20:55] <OvenWerks> try: killall -sigint zita-a2j zita-j2a
[20:56] <OvenWerks> That should get rid of them all but if not That is ok for now.
[20:57] <myNonSpellChecke> getting an error on the command
[20:57] <myNonSpellChecke> ubuntustudio@UBUNTU-STUDIO:~$ killall -sigint zita-a2j zita-j2aigint: unknown signal; killall -l lists signals.
[20:58] <myNonSpellChecke> -signals ?
[20:59] <OvenWerks> may have to be -s INT
[20:59] <myNonSpellChecke> k
[20:59] <OvenWerks> so killall -s INT zita-a2j zita-j2a
[21:00] <myNonSpellChecke> gotcha, ran the command but ps x |grep zita is still showing the same list of processes, all defunct
[21:01] <myNonSpellChecke> https://paste.ubuntu.com/p/rDdzFMGtjG/
[21:01] <OvenWerks> possible, it means there was nowhere for the output to go when it quit
[21:01] <myNonSpellChecke> gotcha
[21:01] <OvenWerks> Anyway, (lets make another one to see if we can figure out what is happening.
[21:02] <myNonSpellChecke> k
[21:03] <OvenWerks> in a terminal: zita-a2j -j extra -d hw:PCH,2,0 -v
[21:04] <myNonSpellChecke> appears to have succeeded
[21:04] <myNonSpellChecke> it's stated "starting synchronization" and is spitting out 3 columns of numbers
[21:05] <OvenWerks> ok
[21:05] <OvenWerks> control c to stop and the same line with no -v
[21:05] <OvenWerks> (control c is the same a sig INT)
[21:06] <myNonSpellChecke> done. "Starting synchronisation." message
[21:06] <OvenWerks> In carla you should see it.
[21:06] <OvenWerks> (carla patch bay)
[21:07] <myNonSpellChecke> yup got it. I see a box labelled "extra" and a capture_1 and capture_2 inside the box
[21:07] <OvenWerks> That should be your second input.
[21:08] <OvenWerks> Though it seems to think it is a stereo line in rather than a mic.
[21:09] <OvenWerks> The only thing different (things) is that the SR would be 48000 and the buffer would be 256.
[21:10] <myNonSpellChecke> 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] <OvenWerks> I find it odd that it would complain if it shows only 48k -controls should have caught that
[21:10] <OvenWerks> yes it does
[21:11] <OvenWerks> this is the same command that -controls uses internally
[21:11] <myNonSpellChecke> gotcha
[21:11] <OvenWerks> The only thing I can think is that the buffer size -controls is using is too small
[21:12] <OvenWerks> controls (in 20.04) uses jack buffersize/2 (as recomended by the auther of zita-ajbridge)
[21:13] <myNonSpellChecke> 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] <OvenWerks> -controls in 20.10 will make sure the buffer for a PCH device is at least 128
[21:13] <myNonSpellChecke> about = able
[21:13] <OvenWerks> So it just mixes the two together?
[21:14] <OvenWerks> or are then on separate chanels?
[21:14] <OvenWerks> channels even
[21:18] <myNonSpellChecke> 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] <myNonSpellChecke> which slider I was using in QASMixer.
[21:19] <OvenWerks> ok.
[21:20] <myNonSpellChecke> my problem appears to be solved, thank you very much.
[21:20] <myNonSpellChecke> is there any action I can take to auto matically execute the command you sent for me?
[21:20] <OvenWerks> can you type: cat ~/.config/autojack/autojackrc |pastebinit
[21:21] <myNonSpellChecke> https://paste.ubuntu.com/p/vHmXHwW6y7/
[21:22] <OvenWerks> wow how did you do that? I didn't think it was possible
[21:23] <OvenWerks> if you can wait for 5 min or so I will be back.
[21:23] <myNonSpellChecke> sure
[21:26] <OvenWerks> in -controls you have Added both PCH,0,0 _and_ PCH,2,0
[21:27] <OvenWerks> it should only be PCH,2,0
[21:27] <OvenWerks> so remove PCH,0,0 from the extra devices
[21:27] <OvenWerks>  Then apply and then restart jack
[21:29] <OvenWerks> The zita extra will also stop.
[21:29] <OvenWerks> you already have PCH,0,0 set up as jack's master device.
[21:31] <myNonSpellChecke> confirmed, only PCH,2,0 is now selected in other audio interfaces
[21:32] <OvenWerks> and you have applied and restarted jack?
[21:32] <myNonSpellChecke> confirmed
[21:32] <OvenWerks> carla will probably be blank :) and need to be restarted to pick up jack
[21:33] <OvenWerks> it should now show PCH,2,0:capture
[21:33] <OvenWerks> (PCH_in,2,0 maybe?)
[21:34] <myNonSpellChecke> 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] <myNonSpellChecke> thank you very much for your help so far.
[21:34] <OvenWerks> no problem... may take me a miniute to respond
[21:34] <myNonSpellChecke> ok great
[22:29] <myNonSpellChecke> I'm back
[22:31] <myNonSpellChecke> OvenWerks I confirmed that restarted jack. when I reopen Carla extra is gone.
[22:32] <OvenWerks> cat ~/.config/autojack/autojackrc |pastebinit
[22:32] <OvenWerks> Again
[22:33] <OvenWerks> Just so I know what we are dealing with
[22:33] <myNonSpellChecke> https://paste.ubuntu.com/p/fqJNY26Zm4/
[22:33] <OvenWerks> Still has not changed
[22:34] <OvenWerks> in the extra tab remove PCH,0,0
[22:34] <OvenWerks> (the only thing left in that tab should be PCH,2,0)
[22:35] <OvenWerks> Then Apply Audio Settings
[22:35] <OvenWerks> then cat ~/.config/autojack/autojackrc |pastebinit
[22:38] <myNonSpellChecke> 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] <myNonSpellChecke> (or removed, for that matter)
[22:38] <OvenWerks> huh
[22:39] <OvenWerks> ya it should not be available. I am just wondering how it got there
[22:39] <OvenWerks> So maybe start over.
[22:39] <OvenWerks> rm ~/.config/autojack/autojackrc
[22:40] <OvenWerks> restart -controls
[22:40] <myNonSpellChecke> one thing before I execute that command. "how it got there" = how it got set as  Jack Master Device (no USB) ?
[22:40] <OvenWerks> No how it got to be in xtra devices.
[22:40] <myNonSpellChecke> gotcha.
[22:41] <OvenWerks> That should not have been possible
[22:42] <OvenWerks> So after removing that file restart ubuntustudio-controls
[22:42] <OvenWerks> Audio Setup->Jack Master Settings
[22:42] <myNonSpellChecke> 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] <OvenWerks> no
[22:43] <OvenWerks> hit stop jack for a sec
[22:43] <myNonSpellChecke> ok done
[22:43] <OvenWerks> Jack master should be PCH,0,0
[22:44] <OvenWerks> under extra devices->remove there should be nothing
[22:44] <OvenWerks> Apply Audio settings should write the file you just removed.
[22:45] <OvenWerks> so cat ~/.config/autojack/autojackrc |pastebinit to make sure that has done what I expect.
[22:49] <myNonSpellChecke> simply to clarify: I should confirm that jack master and extra devices -> are as you expect _before_ clicking Apply Audio settings?
[22:52] <OvenWerks> no after
[22:52] <OvenWerks> That file should not exist before (I think)
[22:53] <OvenWerks> unless starting jack created it
[22:53] <myNonSpellChecke> 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] <myNonSpellChecke> jack master settings - https://imgur.com/WiaHmID.pngextra settings tab - https://imgur.com/dMd3R1j.png
[22:54] <myNonSpellChecke> notice per your instruction also that jack is stopped
[22:56] <OvenWerks> ok in Jack Master Settings change default to PCH,0,0
[22:57] <myNonSpellChecke> done
[22:57]  * OvenWerks notes that there is no "default" in the next version of controls
[22:57] <OvenWerks> ok, Apply audio settings
[22:57] <OvenWerks> then cat ~/.config/autojack/autojackrc |pastebinit
[22:59] <OvenWerks> I want to make sure controls is writing the config file right
[22:59] <myNonSpellChecke> https://paste.ubuntu.com/p/XFgP4rrnHx/
[22:59] <OvenWerks> good
[23:00] <OvenWerks> in extra devices Add, select PCH,2,0
[23:00] <OvenWerks> the do the cat ~/.config/autojack/autojackrc |pastebinit
[23:01] <myNonSpellChecke> Click apply audio settings after Add, select PCH,2,0 and before cat....?
[23:01] <OvenWerks> yes
[23:01] <OvenWerks>  :) thanks
[23:02] <myNonSpellChecke> np
[23:02] <myNonSpellChecke> https://paste.ubuntu.com/p/jM7cdSH7YZ/
[23:03] <OvenWerks> ok start jack
[23:03] <myNonSpellChecke> done
[23:04] <OvenWerks> in terminal: jack_lsp -c |pastebinit
[23:04] <myNonSpellChecke> https://paste.ubuntu.com/p/swzYTSXWKq/
[23:06] <OvenWerks> ps x |grep zita
[23:06] <OvenWerks> does it still show all the defunct ones or is there one good one?
[23:07] <myNonSpellChecke> https://paste.ubuntu.com/p/Kb8Hj4q78B/
[23:07] <myNonSpellChecke> all appear defunct i think
[23:08] <OvenWerks> but we can start zita in the terminal like before?
[23:08] <myNonSpellChecke> would you like me to try that command again at the terminal? zita-a2j -j extra -d hw:PCH,2,0
[23:08] <OvenWerks> zita-a2j -j extra -d hw:PCH,2,0
[23:10] <myNonSpellChecke> 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] <OvenWerks> which is what you want
[23:11] <OvenWerks> I do not know (at this time) why controls is not able to do the same
[23:14] <OvenWerks> But I do get the same thing here. so I can continue to trouble shoot here
[23:15] <myNonSpellChecke> gotcha. well the good thing I guess is the problem is reproduceable.
[23:19] <OvenWerks> 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] <myNonSpellChecke> 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] <OvenWerks> No it is fine... works the same here
[23:32] <myNonSpellChecke> sounds good. good day!