[01:57] I have an issue, when Ubuntu Studio Controls are on, I got sound coming from the laptop's speakers, but not when I plug in my headphones [01:58] Go_Diego_Go, If you open alsamixer in the terminal (or qasmixer on the desktop) can you turn the speakers down and the headphones up? [01:59] @OvenWerks [ Go_Diego_Go, If you open alsamixer in the terminal (or qasmixer on t …], Yes, I did it from terminal, but still no sound. [02:00] Go_Diego_Go: -controls is a work in progress. There are plans to support headphone plugin. [02:00] Go_Diego_Go: when you open alsamixer, which controls do you see? [02:01] Master, headphones, speaker, pcm, mic, mic boost, s/pdif and beep. [02:01] Would you like to see a picture? [02:01] that is fine [02:02] Master and speaker both have a 00 on the sliders, but headphones have mm [02:02] Not sure if that matters. [02:02] so the headphone column does it both show the level is up and that the mm should be change to 00 [02:03] It shows the volume all the way up, but still mm [02:03] if you use the arrow keys to get tto the HP column and press the M key does that help? [02:03] MM means mute by the way [02:03] @OvenWerks [ MM means mute by the way], Yes, I assumed that and yes that worked! [02:04] But I hear a constant beeping sound [02:04] Also with the speakers [02:04] That I don't know. just in the phnes? or in the speakers too? [02:04] Headphones and speakers [02:04] and if you mute the speakers does that help? [02:05] does your headset have a built in mic? [02:05] No, actually, I just noticed it has to do with my guitar to USB cable that I use to record. I just unplugged and the beeping stopped. [02:06] I didn't have a beep on previous Ubuntu releases. [02:06] ok [02:06] when you plug the guitar back in is it ok now? [02:07] No, still beeping on both [02:08] -controls needs to detect headphone plug and automaticically make changes. [02:08] ok one more thing to try. turn jack off before plugging in phones then turn jack back on. [02:11] No sound at all. [02:12] That should not be. well anything that uses jack will need to be restarted or reconnected to jack of course. [02:12] Yeah, I closed everything and opened it again [02:13] Checking alsamixer shows both headphones and speakers at 0 and mm [02:14] Thats no help. [02:17] I started working on headphone detection... but have found that every computer does it differently. Some have separate level controls and switch that (as your appears to) but these channel names are not always the same [02:17] for example, my "speaker" control is called "Front" [02:18] I found that others actually switch the jack use on HP detect and use the same control [02:19] So if you now use level and M on the hp does get you sound without the oscilation? [02:22] Okay, disconnected and closed everything. I restarted jack, opened alsamixer and master, headphone and speaker are mm, but speaker show the slider all the way up. I had left all unmuted and all the way up, for some reason it changed it. [02:23] @OvenWerks [ So if you now use level and M on the hp does get you sound without t …], It's still there. [02:24] But with the HP off it goes away? Or the beep was not there in the speakers alone before you inserted the HP? [02:24] @OvenWerks [ But with the HP off it goes away? Or the beep was not there in the s …], Nope, it doesn't go away [02:25] The beep is present all the time speakers on and hp off, speakers on and hp on and any other combination haha [02:26] wonderful :P [02:27] Does the beep change if things are moved around (like moving the computer)? [02:28] If not I am wondering if there is an internal loop [02:29] Does the pitch of the beep change if you change jack buffer size or periods? [02:29] (and apply settings) [02:29] @OvenWerks [ Does the beep change if things are moved around (like moving the com …], Nope, it's always the same [02:29] @OvenWerks [ Does the pitch of the beep change if you change jack buffer size or …], Let me check [02:30] I should ask if the beeping is a constant tone or a bunch of beeps in a row [02:33] Constant tone at about 55bpm [02:35] lets try: cd /tmp && wget http://jackaudio.org/downloads/adevices.sh && bash ./adevices.sh |pastebinit [02:35] That should all be on one line in a terminal. [02:35] @Go_Diego_Go [Constant tone at about 55bpm], Possibly a b or a b flat lol. [02:37] it should give to a url of a paste I can look at [02:37] Okay, one moment [02:37] Before I do that, I changed the periods to 15 cable is connected, no beep, but no sound from guitar (cable) [02:38] 15 is a bit odd :) and drastic [02:38] Never mind, it's still there [02:38] Same pitch and same tempo [02:38] I meant if the buffer size goes from 1024 to 512 or 2048 [02:39] ok, so not feed back it seems. [02:39] @OvenWerks [ lets try: cd /tmp && wget http://jackaudio.org/downloads/adevices.sh …], I'll do this [02:41] http://paste.ubuntu.com/p/jJ4pjhznfj/ [02:45] Ok, next :) jack_lsp -c [02:45] opps... [02:45] Opps? [02:45] jack_lsp -c |pastebinit [02:46] http://paste.ubuntu.com/p/8JG7HdXv5K/ [02:48] So you are listening to your guitar and a keyboard at the same time [02:49] it looks like the guitar is direct and you have an MPKmini (24 keys?) [02:49] That should be ok [02:49] Yes, the keyboard's not a problem. If I unplug it the beeping is still there. If I unplug the guitar the beeping stops. If I just plug the guitar there's a beep. If I just plug the MPKmini there's no beep. [02:50] @OvenWerks [ That should be ok], Yes, it used to work fine on previous releases. [02:50] When you say plug the guitar, do you mean the 1/4 jack or the USB? [02:50] It's a 1/4 (guitar part) to USB cable (connects to pc, duh lol) [02:51] And where do you plug you headphones into? The computer or the usb? [02:51] (I think the computer) [02:51] It's this one https://www.alesis.com/products/legacy/guitarlink [02:51] The computer [02:52] Wait, the description of the cable say it outputs 44.1 kHz, but jack is running on 48, could that be it? [02:52] I was just about to ask... [02:53] Let me see [02:54] Alesis has bad engineers :P [02:55] zita-a2j does not check the device sample rate so it would try to use 48k [02:56] Okay, beep chaged to about 300bpm and it seems like it's an A, not a B anymore [02:56] It's not as constant tho, it seems like every now and then it skips a beat... kinda like an xrun [02:56] also, your guitar to usb says it has an output which it obviously doesn't [02:57] Yeah, it doesn't [02:57] But the chip inside does... [03:00] Patchage shows input and output for the cable, but when I used qjackctl it didn't, it would just show an input [03:01] how did you use qjackctl? [03:01] (qjackctl is still available if all else fails) [03:01] When I worked with qjackctl in order the cable to show up I would run alsa_in -d hw:01 [03:01] Or something along those lines [03:02] so similar but using alsa_in instead of zita-a2j [03:04] well set -controls to turn jack off and try setting it up with qjackctl [03:04] Doing just that right now haha [03:04] qjackctl is now in Audio Production->Audio Utilities [03:05] Capture open error: Device or resource busy [03:05] I'm assuming it could have a different hw:? [03:05] hw:device [03:06] or hw:2 [03:06] hw:1 is you keyboard [03:06] but if you use hw:Device it should work whatever it ends up being [03:07] ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card … Capture open error: No such device [03:07] It's showing up in Pavucontrol, which it shouldn't [03:07] Or should it? [03:07] if you have turned jack off in controls then it should show up in pavucontrol [03:08] @OvenWerks [ if you have turned jack off in controls then it should show up in pa …], Oh okay, yes, I did that [03:08] turning jack off in controls reverts the system to stock [03:08] (easier to trouble shoot) [03:10] using hw:0 hw:1 etcis mostly no longer used because the same device may be a different number each boot. hw:name should stay the same. [03:11] on your system you have hw:PCH (internal) hw:mini (keyboard and hw:Device guitar. [03:12] @OvenWerks [ using hw:0 hw:1 etcis mostly no longer used because the same device …], Oh interesting, before I would always used the same number without any issue at all. [03:12] just luck, some systems are more stable than others [03:13] in this case you were pluging and unplugging things and so the keyboard and the guitar got switched [03:14] Ohh okay, I see [03:14] Got this with hw:Device … Capture open error: Device or resource busy [03:15] @Go_Diego_Go [ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card … Capture open er …], I had gotten this because I had typed it all lowercase [03:15] ps x |grep zita [03:15] does that show a process other than the grep? [03:15] 14741 pts/3 S+ 0:00 grep --color=auto zita [03:15] That's all it's showing [03:16] so we need the: cd /tmp && wget http://jackaudio.org/downloads/adevices.sh && bash ./adevices.sh |pastebinit again [03:16] That will show what is hanging on to the Device [03:16] http://paste.ubuntu.com/p/wyx6kBgMBP/ [03:17] pulse wierd [03:18] so in pavucontrol Configuration tab set the Device to the profile called "Off" [03:19] then try using alsa_in again [03:19] So dumb, I could have checked that, I didn't think of it. It worked. [03:19] Wait, let me check the beep [03:20] No beeping just a regular B sine wave/buzz sound [03:21] I notice it has moved back to hw:1 again and the keyboard is gone. [03:21] Which is something I've always had, I guess because of the guitar jack or the usb itself. [03:21] I'm guessing Controls somehow chops that signal and makes it sound like a beep? [03:21] guitars always pick up some hum. it should change when you handle the strings [03:22] Yes, it does, I put a gate and it's taken care of [03:23] normally, zita-a2j gives better quality than alsa-in... but I guess in this case. [03:24] so did you use alsa to connect the mini to the synth input? [03:24] does starting a2jmidid -e in a terminal bring the tone back? [03:25] * OvenWerks would like to know what was causing your beep... [03:26] Oh that was another problem I had with qjackctl, I was never able to use the MPKmini because it would only show on the alsa tab, not the midi. [03:26] a2jmidid -e & [03:26] then it will show up [03:27] Yup, it's there and no beep just the regular hum from the guitar. [03:28] My guess the beeping was just the regular hum chopped up, oscillating or something. [03:28] And pluging the headphones in and out works? [03:28] (it should be controlled by pulse in this case) [03:28] Yes, it's working too [03:29] So we still have some work to do in -controls :( [03:29] Is there anything I can send? Like a log or something? [03:29] Anything that could help you guys identify the issue. [03:30] The headphones I can figure out... at least for your machine and mine :) [03:30] I must say that this is a cheap HP computer and I've had a lot of problems with its drivers and Ubuntu/Linux [03:30] So it could be related to that [03:31] could be. what command line did you use for alsa_in? [03:32] alsa_in -d hw:Device [03:33] But Pulse picked it up before jack and had to turn it off (what you told me). Before if jack was running Pulse wouldn't pick it up, it'd go straight to jack. [03:35] I was just wondering what sr, period size, period number you were using. [03:35] but obviously default [03:37] default sr is same as jack and the others don't say but I would assume they are the same, the man page says the buffer size has to be at least the same size as jack, but may be higher [03:38] with zita-a2j it is quite normal to use a lower buffer size than jack. [03:38] I am wondering if the problem was that the guitar playback was being used. [03:39] Nope, I actually change it because with the default settings the latency is too high. I actually use this settings: … Realtime checked … Frames: 256 or 512 … Periods: 2 … Port Maximum: 128 … Force 16bit checked … Latency result: 11.6msec [03:40] @Go_Diego_Go [Nope, I actually change it because with the default settings the latency is too …], Sorry and with sample rate 48, I'd get 10.7msec, slightly better so that's why I used that one. [03:41] yup, I was talking about alsa_in though. which from your command above you don't set [03:41] Ohh sorry, I still don't understand a lot of this, so I thought you meant qjackctl settings [03:41] So it would follow whatever you use for jack [03:43] I think that the humming sound also comes from the computer itself because when the laptop's charger is connected I get another extra hum lol [03:43] It is possible to use 44k1 for the guitar and 48k for internal with alsa_in, but I don't think that would help as the latency on the guitar will be more noticable than with keyboard. [03:43] But that's something that's always happened and I've managed to solve with a gate. [03:44] I start to notice it with the buffer set to 256 [03:44] I like 128 or lower [03:44] but many internal audio cards (HDA/PCH) will not even start in jack at 64 [03:47] Can we try some thing? [03:47] Sure [03:47] I was actually going to ask you if I should try with 128 [03:47] 128 should be fine. see if it pops or anything. [03:49] Okay, I'll try [03:49] in another terminal: zita-j2a -d hw:Device -r 44100 -p 128 [03:49] and see if the beep shows up. [03:50] @OvenWerks [ in another terminal: zita-j2a -d hw:Device -r 44100 -p 128], With jack running? [03:50] with you setup the way it is using qjackctl and alsa_in [03:51] Okay, wait for some reason jack is not starting [03:51] 128 may be too low [03:51] Yeah, it was that [03:52] if all else fails try killall -9 jakcd jackdbus [03:52] (my spelling is bad) [03:53] The 128 in my line above may need to be 256 then. [03:54] @OvenWerks [ in another terminal: zita-j2a -d hw:Device -r 44100 -p 128], Tried 128 and 256, beeping sound is there. It's what I was thinking, same pitch as the hum from the alsa_in [03:54] Oh... I think I know the problem. try adding an -L at the end of that line. [03:55] so zita-j2a -d hw:Device -r 44100 -p 128 -L [03:55] The terminal showed this "Detected excessive timing errors, waiting 10 seconds." [03:55] it may still beep [03:56] maybe it needs 256 [03:56] Still beeping with both 128 and 256 [03:57] right, so the problem is using the output side of the chip tha goes no where but has leads close enough to cause a loop [03:58] Ohh okay, so it's the cable itself [03:58] can you replace your alsa_in line (means stop the alsa_in) with: [03:59] zita-a2j -d hw:Device -r 44100 -p 256 -L [03:59] zita-j2a still running or do I stop and restart? [03:59] stop that one. [03:59] we only want one running [04:00] Can't open ALSA capture device 'hw:Device'. [04:00] I want to make sure it is not zita-ajbridge itself. [04:00] killall -9 alsa_in [04:00] then try again [04:00] alsa_in: no process found [04:01] After that tried again and still same result [04:01] without the -L? [04:02] Warning: only 1 channels are available. … Starting synchronisation. [04:02] any beep? [04:02] No beep, but no sound [04:03] the port you need to connect will have a different name] [04:03] Warning: only 1 channels are available. … Starting synchronisation. … Detected excessive timing errors, waiting 10 seconds. … Starting synchronisation. … Detected excessive timing errors, waiting 10 seconds. … and so on. [04:03] wait, let me try with 128 [04:04] I have sound, but 128 distorts the sound every now and then, it's like if it had a flanger/chorus effect for some seconds [04:04] Warning: only 1 channels are available. … Starting synchronisation. … Starting synchronisation. … Starting synchronisation. … Detected excessive timing errors, waiting 10 seconds. … Starting synchronisation. … Starting synchronisation [04:04] but no beep. [04:05] No beep [04:05] OK, so the problem with the beep is the output circuit for sure [04:05] And the sound quality is much better, clearer, except when the flanger/chorusy effect is "on" lol [04:06] can you: cat ~/.log/autojack.log |pastebinit [04:07] so when you were using -controls to run jack was sound clearer there as well (aside from beep) [04:07] http://paste.ubuntu.com/p/VvG7S7wwrx/ [04:09] @OvenWerks [ so when you were using -controls to run jack was sound clearer there …], Actually no, it was very similar to alsa_in [04:09] But I could try and compare again now, if you'd like [04:10] Getting lots of this though … Starting synchronisation. … Detected excessive timing errors, waiting 10 seconds. [04:11] @Go_Diego_Go [Getting lots of this though … Starting synchronisation. … Detected excessive timing …], Could that be related to the computer's power? I don't have a lot of RAM. [04:11] Yeah, but I am not seeing that in the log, just the Warning: only 1 channels are available. [04:11] Yeah, it's not showing [04:11] That could be I am only seeing either stdout or stderr [04:12] I can't see anyway, I can easily fix this problem in -controls [04:13] I expect I will have to fully rewrite a good chunk of it [04:13] But that would be for this case in particular? [04:14] It appears we need a configuration for each device rather than just for jack master. [04:14] yes that is for this case, but I am sure your case is not unique [04:15] I need something like pavucontrol has with profiles for each device. [04:16] Big oof. [04:16] Ohh I see, yeah I guess I won't be the onnly one [04:16] except more complex [04:17] I was working on channel count, after that I will work on headphone/speaker switching [04:18] then maybe I can deal with per device config [04:19] Well, if I'll gladly help with anything I can. I don't think it's much but at least testing lol [04:20] @Go_Diego_Go: Believe it or not, this is a case where testing goes a long, long way. We wish we had more testers before. [04:20] you have been quite a help actually. I have learned some things I could have only learned by going out and buying what you have. [04:21] Oh man, that's nice! I love Ubuntu Studio, I've tried many media oriented distros, but Ubuntu Studio is the one I've felt more consistent and complete, and also the support is great. I've always gotten help from this chat. [04:24] * OvenWerks is going off to be with his Yf [04:24] Thank you for the help! Let me know whenever you need testers of some kind! [04:25] @Go_Diego_Go: Would it be ok if I ping you when we need you to test your hardware against any fixes we might have? [04:27] @Eickmeyer [ @Go_Diego_Go: Would it be ok if I ping you when we need you to test …], Yes, it's okay, I'll get the Telegram notification [04:28] Perfect. :) [05:44] Héctor Chela was added by: Héctor Chela [10:21] Hello [10:22] ubuntu studio 19.04 LTS its available? [15:03] Thanks for the info regarding calf plugins ovenwerks and eickmeyer :) [19:55] hi [19:56] exist Ubuntu Studio 19.04 LTS? [19:57] ?? [20:01] !lts | Universe_Studios [20:01] Universe_Studios: LTS means Long Term Support. LTS versions are supported for 5 years on the desktop and server. The latest LTS version of Ubuntu is !Bionic (Bionic Beaver 18.04). Ubuntu !flavors may have different support durations, check their release notes for information. [20:03] #ubottu tanks for you explications