/srv/irclogs.ubuntu.com/2020/06/25/#ubuntustudio.txt

=== guiverc2 is now known as guiverc
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 process07:21
sakrecoer[m]Meaning if I run a2jmidi_bridge and now I also want to run a j2amidi_bridge I have to start another terminal07:21
sakrecoer[m]For my setup I need 2x j2amidi_bridge and 1x a2jmidi_bridge07:22
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:24
sakrecoer[m]Wait... I haven't even tried running `a2jmidid`07:25
sakrecoer[m]Have to look into that... I usually just run the bridge07:26
sakrecoer[m]No, a2jmidid doesn't detachm not in the send I understand it...07:28
sakrecoer[m]Sense*07:28
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 anything07:29
sakrecoer[m]Gah... Spelling07:29
sakrecoer[m]Once it's *running07:29
sakrecoer[m]Also a2jmidid doesn't give me a j2a bridge... Only a2j07:30
sakrecoer[m]Hmm... No... It does gives me both....07:31
sakrecoer[m]But I need more of them I'll figure it out07:31
sakrecoer[m]Well that was easy!!! Sorry for wall of text, but thank you for clearing it up for me OvenWerks !!!07:33
sakrecoer[m]For anyone wondering `a2jmidid -e` will create a bridge for each connected hardware too07:34
sakrecoer[m]Oh yes oh yes!!! Ardour templates saves the midi connection :') as expected but still. :')08:51
OvenWerkssakrecoer[m]: why do you need more midi bridges?13:57
OvenWerkssakrecoer[m]: by the way, the commandline you are probably looking for is: a2jmidid -e &13:57
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:58
sakrecoer[m]<sakrecoer[m] "I don't when I run a2jmidid. But"> `a2jmidid -e` even13:59
OvenWerksor if the random outputs are anoying: a2jmidid -e >~/midi.log &13:59
OvenWerksif you add the & on the end it will go background13:59
sakrecoer[m]<OvenWerks "if you add the & on the end it w"> Thanks!! I didn't know that one! :)14:00
OvenWerksbut unless you redirect all the terminal i/o it will still stop if you get rid of that terminal14:01
sakrecoer[m]But I made so that a2jmidid -e is ran when I start jack.14:01
OvenWerkshow are you starting jack?14:01
sakrecoer[m]With qjackctl14:01
OvenWerksso with "execut script after startup" then. you can still add the &14:02
OvenWerkss/can/should/14:02
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 startup14:04
sakrecoer[m]Many many thanks OvenWerks !!!14:04
OvenWerksYW14:04
myNonSpellCheckeHi all, I'd appreciate your asssitance on the following.20:03
myNonSpellCheckeubuntustudio@UBUNTU-STUDIO:~$ lsb_release -a No LSB modules are available.Distributor ID: UbuntuDescription:    Ubuntu 20.04 LTSRelease:    20.04Codename:   focal20:03
myNonSpellCheckeI 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
myNonSpellCheckeScreenshot of Carla and QasMixer Config: https://i.stack.imgur.com/cGFq4.png20:03
myNonSpellCheckeI also ran a diagnostic tool I found here: http://www.alsa-project.org/alsa-info.sh20:04
myNonSpellCheckeThis is the output: https://paste.ubuntu.com/p/8TbW5sVZGR/20:04
OvenWerkscan you also do: arecord -l |pastebinit20:04
myNonSpellCheckesure one moment20:05
myNonSpellCheckehttps://paste.ubuntu.com/p/mjSMHmbVCX/20:05
OvenWerksOne of your inputs is PCH,0,0 and the other one is PCH,2,020:06
OvenWerksso it depends on which program you are recording with20:07
OvenWerksqasmixer or alsa mixer will show the controls for both at the same time (because that's the way alsa works)20:08
OvenWerksI 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 both20:09
OvenWerksubuntustudio-controls can set this up though.20:09
myNonSpellCheckeIn the screen shot I've provided of carla, PCH,0,0 = System Capture_1 and PCH,2,0 = System Capture.2?20:13
myNonSpellCheckeCapture_220:14
OvenWerkshow did you start jack?20:15
OvenWerksor did you start jack that you are aware?20:15
myNonSpellCheckeI didn't actively start jack. I opened Ubuntu Studio Controls, then clicked the corresponding buttons for Open Carla and Open QasMixer.20:16
OvenWerksok so Carla hit the "if jack isn't running start it" thing :P20:17
OvenWerksif 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
OvenWerksin -controls you should see an extra devices tab.20:18
OvenWerksin that tab there is a drop down called "Add". If you set the jack master to PCH,0,020:19
OvenWerksthen add PCH,2,020:20
OvenWerksApply the new settings (and start jack if you haven't already)20:20
OvenWerksIf 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 well20:22
OvenWerkssystem capture will be one of the inputs and PCH,2,0 capture should be the other20:26
myNonSpellCheckejack 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.png20:31
myNonSpellCheckeALso 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:40
myNonSpellCheckeAlso my apologies I just noticed you said to add PCH,2,0 so I remove PCH,2,1. Same result though in Carla.20:45
OvenWerksPCH replaces the first number yes.20:46
OvenWerkswe use PCH because on systems with more than one audio device the device numers change with differednt boots.20:46
myNonSpellCheckegotcha20:47
OvenWerksThe last time I booted PCH went from being device 2 to device 1... so using PCH always points to the same device20:48
OvenWerksafter adding the device did you hit the "Apply audio settings"?20:48
OvenWerksto be honest, I have not played around with PCH audio devices much.20:49
myNonSpellCheckeconfirmed, yes I hit apply audio settings.20:50
OvenWerksinteresting20:51
OvenWerksin a terminal can youn type: ps x |grep zita20:52
OvenWerksdo you see one entry or two?20:52
myNonSpellCheckehttps://paste.ubuntu.com/p/q53zz7Z3nq/20:53
myNonSpellCheckeoops20:53
myNonSpellCheckeyes20:53
myNonSpellCheckealthough they're all listed as defunct20:53
OvenWerksYikes!20:54
OvenWerkstry: killall -sigint zita-a2j zita-j2a20:55
OvenWerksThat should get rid of them all but if not That is ok for now.20:56
myNonSpellCheckegetting an error on the command20:57
myNonSpellCheckeubuntustudio@UBUNTU-STUDIO:~$ killall -sigint zita-a2j zita-j2aigint: unknown signal; killall -l lists signals.20:57
myNonSpellChecke-signals ?20:58
OvenWerksmay have to be -s INT20:59
myNonSpellCheckek20:59
OvenWerksso killall -s INT zita-a2j zita-j2a20:59
myNonSpellCheckegotcha, ran the command but ps x |grep zita is still showing the same list of processes, all defunct21:00
myNonSpellCheckehttps://paste.ubuntu.com/p/rDdzFMGtjG/21:01
OvenWerkspossible, it means there was nowhere for the output to go when it quit21:01
myNonSpellCheckegotcha21:01
OvenWerksAnyway, (lets make another one to see if we can figure out what is happening.21:01
myNonSpellCheckek21:02
OvenWerksin a terminal: zita-a2j -j extra -d hw:PCH,2,0 -v21:03
myNonSpellCheckeappears to have succeeded21:04
myNonSpellCheckeit's stated "starting synchronization" and is spitting out 3 columns of numbers21:04
OvenWerksok21:05
OvenWerkscontrol c to stop and the same line with no -v21:05
OvenWerks(control c is the same a sig INT)21:05
myNonSpellCheckedone. "Starting synchronisation." message21:06
OvenWerksIn carla you should see it.21:06
OvenWerks(carla patch bay)21:06
myNonSpellCheckeyup got it. I see a box labelled "extra" and a capture_1 and capture_2 inside the box21:07
OvenWerksThat should be your second input.21:07
OvenWerksThough it seems to think it is a stereo line in rather than a mic.21:08
OvenWerksThe only thing different (things) is that the SR would be 48000 and the buffer would be 256.21:09
myNonSpellCheckeI 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
OvenWerksI find it odd that it would complain if it shows only 48k -controls should have caught that21:10
OvenWerksyes it does21:10
OvenWerksthis is the same command that -controls uses internally21:11
myNonSpellCheckegotcha21:11
OvenWerksThe only thing I can think is that the buffer size -controls is using is too small21:11
OvenWerkscontrols (in 20.04) uses jack buffersize/2 (as recomended by the auther of zita-ajbridge)21:12
myNonSpellCheckeI 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 12821:13
myNonSpellCheckeabout = able21:13
OvenWerksSo it just mixes the two together?21:13
OvenWerksor are then on separate chanels?21:14
OvenWerkschannels even21:14
myNonSpellCheckeMy 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 of21:18
myNonSpellCheckewhich slider I was using in QASMixer.21:18
OvenWerksok.21:19
myNonSpellCheckemy problem appears to be solved, thank you very much.21:20
myNonSpellCheckeis there any action I can take to auto matically execute the command you sent for me?21:20
OvenWerkscan you type: cat ~/.config/autojack/autojackrc |pastebinit21:20
myNonSpellCheckehttps://paste.ubuntu.com/p/vHmXHwW6y7/21:21
OvenWerkswow how did you do that? I didn't think it was possible21:22
OvenWerksif you can wait for 5 min or so I will be back.21:23
myNonSpellCheckesure21:23
OvenWerksin -controls you have Added both PCH,0,0 _and_ PCH,2,021:26
OvenWerksit should only be PCH,2,021:27
OvenWerksso remove PCH,0,0 from the extra devices21:27
OvenWerks Then apply and then restart jack21:27
OvenWerksThe zita extra will also stop.21:29
OvenWerksyou already have PCH,0,0 set up as jack's master device.21:29
myNonSpellCheckeconfirmed, only PCH,2,0 is now selected in other audio interfaces21:31
OvenWerksand you have applied and restarted jack?21:32
myNonSpellCheckeconfirmed21:32
OvenWerkscarla will probably be blank :) and need to be restarted to pick up jack21:32
OvenWerksit should now show PCH,2,0:capture21:33
OvenWerks(PCH_in,2,0 maybe?)21:33
myNonSpellCheckeshit! 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 remember21:34
myNonSpellCheckethank you very much for your help so far.21:34
OvenWerksno problem... may take me a miniute to respond21:34
myNonSpellCheckeok great21:34
myNonSpellCheckeI'm back22:29
myNonSpellCheckeOvenWerks I confirmed that restarted jack. when I reopen Carla extra is gone.22:31
OvenWerkscat ~/.config/autojack/autojackrc |pastebinit22:32
OvenWerksAgain22:32
OvenWerksJust so I know what we are dealing with22:33
myNonSpellCheckehttps://paste.ubuntu.com/p/fqJNY26Zm4/22:33
OvenWerksStill has not changed22:33
OvenWerksin the extra tab remove PCH,0,022:34
OvenWerks(the only thing left in that tab should be PCH,2,0)22:34
OvenWerksThen Apply Audio Settings22:35
OvenWerksthen cat ~/.config/autojack/autojackrc |pastebinit22:35
myNonSpellCheckeSimply 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 Interfaces22:38
myNonSpellChecke(or removed, for that matter)22:38
OvenWerkshuh22:38
OvenWerksya it should not be available. I am just wondering how it got there22:39
OvenWerksSo maybe start over.22:39
OvenWerksrm ~/.config/autojack/autojackrc22:39
OvenWerksrestart -controls22:40
myNonSpellCheckeone thing before I execute that command. "how it got there" = how it got set as  Jack Master Device (no USB) ?22:40
OvenWerksNo how it got to be in xtra devices.22:40
myNonSpellCheckegotcha.22:40
OvenWerksThat should not have been possible22:41
OvenWerksSo after removing that file restart ubuntustudio-controls22:42
OvenWerksAudio Setup->Jack Master Settings22:42
myNonSpellCheckeok, 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:42
OvenWerksno22:43
OvenWerkshit stop jack for a sec22:43
myNonSpellCheckeok done22:43
OvenWerksJack master should be PCH,0,022:43
OvenWerksunder extra devices->remove there should be nothing22:44
OvenWerksApply Audio settings should write the file you just removed.22:44
OvenWerksso cat ~/.config/autojack/autojackrc |pastebinit to make sure that has done what I expect.22:45
myNonSpellCheckesimply to clarify: I should confirm that jack master and extra devices -> are as you expect _before_ clicking Apply Audio settings?22:49
OvenWerksno after22:52
OvenWerksThat file should not exist before (I think)22:52
OvenWerksunless starting jack created it22:53
myNonSpellCheckelet 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
myNonSpellCheckejack master settings - https://imgur.com/WiaHmID.pngextra settings tab - https://imgur.com/dMd3R1j.png22:53
myNonSpellCheckenotice per your instruction also that jack is stopped22:54
OvenWerksok in Jack Master Settings change default to PCH,0,022:56
myNonSpellCheckedone22:57
* OvenWerks notes that there is no "default" in the next version of controls22:57
OvenWerksok, Apply audio settings22:57
OvenWerksthen cat ~/.config/autojack/autojackrc |pastebinit22:57
OvenWerksI want to make sure controls is writing the config file right22:59
myNonSpellCheckehttps://paste.ubuntu.com/p/XFgP4rrnHx/22:59
OvenWerksgood22:59
OvenWerksin extra devices Add, select PCH,2,023:00
OvenWerksthe do the cat ~/.config/autojack/autojackrc |pastebinit23:00
myNonSpellCheckeClick apply audio settings after Add, select PCH,2,0 and before cat....?23:01
OvenWerksyes23:01
OvenWerks :) thanks23:01
myNonSpellCheckenp23:02
myNonSpellCheckehttps://paste.ubuntu.com/p/jM7cdSH7YZ/23:02
OvenWerksok start jack23:03
myNonSpellCheckedone23:03
OvenWerksin terminal: jack_lsp -c |pastebinit23:04
myNonSpellCheckehttps://paste.ubuntu.com/p/swzYTSXWKq/23:04
OvenWerksps x |grep zita23:06
OvenWerksdoes it still show all the defunct ones or is there one good one?23:06
myNonSpellCheckehttps://paste.ubuntu.com/p/Kb8Hj4q78B/23:07
myNonSpellCheckeall appear defunct i think23:07
OvenWerksbut we can start zita in the terminal like before?23:08
myNonSpellCheckewould you like me to try that command again at the terminal? zita-a2j -j extra -d hw:PCH,2,023:08
OvenWerkszita-a2j -j extra -d hw:PCH,2,023:08
myNonSpellCheckegotcha. 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:10
OvenWerkswhich is what you want23:11
OvenWerksI do not know (at this time) why controls is not able to do the same23:11
OvenWerksBut I do get the same thing here. so I can continue to trouble shoot here23:14
myNonSpellCheckegotcha. well the good thing I guess is the problem is reproduceable.23:15
OvenWerksseems to be that any device,0,0 works (I have three of them) but any device,1,0 or ,2,0 don't23:19
myNonSpellCheckeFor 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
OvenWerksNo it is fine... works the same here23:31
myNonSpellCheckesounds good. good day!23:32

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!