=== 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 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:21 |
sakrecoer[m] | For my setup I need 2x j2amidi_bridge and 1x a2jmidi_bridge | 07: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 bridge | 07: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 anything | 07:29 |
sakrecoer[m] | Gah... Spelling | 07:29 |
sakrecoer[m] | Once it's *running | 07:29 |
sakrecoer[m] | Also a2jmidid doesn't give me a j2a bridge... Only a2j | 07:30 |
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: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 too | 07:34 |
sakrecoer[m] | Oh yes oh yes!!! Ardour templates saves the midi connection :') as expected but still. :') | 08:51 |
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: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` 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 | 13:59 |
sakrecoer[m] | <OvenWerks "if you add the & on the end it w"> Thanks!! I didn't know that one! :) | 14:00 |
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:01 |
OvenWerks | so with "execut script after startup" then. you can still add the & | 14:02 |
OvenWerks | s/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 startup | 14:04 |
sakrecoer[m] | Many many thanks OvenWerks !!! | 14:04 |
OvenWerks | YW | 14:04 |
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:03 |
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:04 |
myNonSpellChecke | sure one moment | 20:05 |
myNonSpellChecke | https://paste.ubuntu.com/p/mjSMHmbVCX/ | 20:05 |
OvenWerks | One of your inputs is PCH,0,0 and the other one is PCH,2,0 | 20:06 |
OvenWerks | so it depends on which program you are recording with | 20:07 |
OvenWerks | qasmixer or alsa mixer will show the controls for both at the same time (because that's the way alsa works) | 20:08 |
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:09 |
myNonSpellChecke | In the screen shot I've provided of carla, PCH,0,0 = System Capture_1 and PCH,2,0 = System Capture.2? | 20:13 |
myNonSpellChecke | Capture_2 | 20:14 |
OvenWerks | how did you start jack? | 20:15 |
OvenWerks | or did you start jack that you are aware? | 20:15 |
myNonSpellChecke | I didn't actively start jack. I opened Ubuntu Studio Controls, then clicked the corresponding buttons for Open Carla and Open QasMixer. | 20:16 |
OvenWerks | ok so Carla hit the "if jack isn't running start it" thing :P | 20:17 |
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:18 |
OvenWerks | in that tab there is a drop down called "Add". If you set the jack master to PCH,0,0 | 20:19 |
OvenWerks | then add PCH,2,0 | 20:20 |
OvenWerks | Apply the new settings (and start jack if you haven't already) | 20:20 |
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:22 |
OvenWerks | system capture will be one of the inputs and PCH,2,0 capture should be the other | 20:26 |
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:31 |
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:40 |
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:45 |
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:46 |
myNonSpellChecke | gotcha | 20:47 |
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:48 |
OvenWerks | to be honest, I have not played around with PCH audio devices much. | 20:49 |
myNonSpellChecke | confirmed, yes I hit apply audio settings. | 20:50 |
OvenWerks | interesting | 20:51 |
OvenWerks | in a terminal can youn type: ps x |grep zita | 20:52 |
OvenWerks | do you see one entry or two? | 20:52 |
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:53 |
OvenWerks | Yikes! | 20:54 |
OvenWerks | try: killall -sigint zita-a2j zita-j2a | 20:55 |
OvenWerks | That should get rid of them all but if not That is ok for now. | 20:56 |
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:57 |
myNonSpellChecke | -signals ? | 20:58 |
OvenWerks | may have to be -s INT | 20:59 |
myNonSpellChecke | k | 20:59 |
OvenWerks | so killall -s INT zita-a2j zita-j2a | 20:59 |
myNonSpellChecke | gotcha, ran the command but ps x |grep zita is still showing the same list of processes, all defunct | 21:00 |
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:01 |
myNonSpellChecke | k | 21:02 |
OvenWerks | in a terminal: zita-a2j -j extra -d hw:PCH,2,0 -v | 21:03 |
myNonSpellChecke | appears to have succeeded | 21:04 |
myNonSpellChecke | it's stated "starting synchronization" and is spitting out 3 columns of numbers | 21:04 |
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:05 |
myNonSpellChecke | done. "Starting synchronisation." message | 21:06 |
OvenWerks | In carla you should see it. | 21:06 |
OvenWerks | (carla patch bay) | 21:06 |
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:07 |
OvenWerks | Though it seems to think it is a stereo line in rather than a mic. | 21:08 |
OvenWerks | The only thing different (things) is that the SR would be 48000 and the buffer would be 256. | 21:09 |
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:10 |
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:11 |
OvenWerks | controls (in 20.04) uses jack buffersize/2 (as recomended by the auther of zita-ajbridge) | 21:12 |
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:13 |
OvenWerks | or are then on separate chanels? | 21:14 |
OvenWerks | channels even | 21:14 |
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:18 |
OvenWerks | ok. | 21:19 |
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:20 |
myNonSpellChecke | https://paste.ubuntu.com/p/vHmXHwW6y7/ | 21:21 |
OvenWerks | wow how did you do that? I didn't think it was possible | 21:22 |
OvenWerks | if you can wait for 5 min or so I will be back. | 21:23 |
myNonSpellChecke | sure | 21:23 |
OvenWerks | in -controls you have Added both PCH,0,0 _and_ PCH,2,0 | 21:26 |
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:27 |
OvenWerks | The zita extra will also stop. | 21:29 |
OvenWerks | you already have PCH,0,0 set up as jack's master device. | 21:29 |
myNonSpellChecke | confirmed, only PCH,2,0 is now selected in other audio interfaces | 21:31 |
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:32 |
OvenWerks | it should now show PCH,2,0:capture | 21:33 |
OvenWerks | (PCH_in,2,0 maybe?) | 21:33 |
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 | 21:34 |
myNonSpellChecke | I'm back | 22:29 |
myNonSpellChecke | OvenWerks I confirmed that restarted jack. when I reopen Carla extra is gone. | 22:31 |
OvenWerks | cat ~/.config/autojack/autojackrc |pastebinit | 22:32 |
OvenWerks | Again | 22:32 |
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:33 |
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:34 |
OvenWerks | Then Apply Audio Settings | 22:35 |
OvenWerks | then cat ~/.config/autojack/autojackrc |pastebinit | 22:35 |
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:38 |
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:39 |
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:40 |
OvenWerks | That should not have been possible | 22:41 |
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:42 |
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:43 |
OvenWerks | under extra devices->remove there should be nothing | 22:44 |
OvenWerks | Apply Audio settings should write the file you just removed. | 22:44 |
OvenWerks | so cat ~/.config/autojack/autojackrc |pastebinit to make sure that has done what I expect. | 22:45 |
myNonSpellChecke | simply to clarify: I should confirm that jack master and extra devices -> are as you expect _before_ clicking Apply Audio settings? | 22:49 |
OvenWerks | no after | 22:52 |
OvenWerks | That file should not exist before (I think) | 22:52 |
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:53 |
myNonSpellChecke | notice per your instruction also that jack is stopped | 22:54 |
OvenWerks | ok in Jack Master Settings change default to PCH,0,0 | 22:56 |
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:57 |
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 | 22:59 |
OvenWerks | in extra devices Add, select PCH,2,0 | 23:00 |
OvenWerks | the do the cat ~/.config/autojack/autojackrc |pastebinit | 23:00 |
myNonSpellChecke | Click apply audio settings after Add, select PCH,2,0 and before cat....? | 23:01 |
OvenWerks | yes | 23:01 |
OvenWerks | :) thanks | 23:01 |
myNonSpellChecke | np | 23:02 |
myNonSpellChecke | https://paste.ubuntu.com/p/jM7cdSH7YZ/ | 23:02 |
OvenWerks | ok start jack | 23:03 |
myNonSpellChecke | done | 23:03 |
OvenWerks | in terminal: jack_lsp -c |pastebinit | 23:04 |
myNonSpellChecke | https://paste.ubuntu.com/p/swzYTSXWKq/ | 23:04 |
OvenWerks | ps x |grep zita | 23:06 |
OvenWerks | does it still show all the defunct ones or is there one good one? | 23:06 |
myNonSpellChecke | https://paste.ubuntu.com/p/Kb8Hj4q78B/ | 23:07 |
myNonSpellChecke | all appear defunct i think | 23:07 |
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:08 |
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:10 |
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:11 |
OvenWerks | But I do get the same thing here. so I can continue to trouble shoot here | 23:14 |
myNonSpellChecke | gotcha. well the good thing I guess is the problem is reproduceable. | 23:15 |
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:19 |
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:31 |
myNonSpellChecke | sounds good. good day! | 23:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!