/srv/irclogs.ubuntu.com/2020/10/21/#ubuntustudio.txt

waffl3xI am trying to figure out the best way to set up pulseaudio to work with jackaudio, I was previously using QJackCtl to run scripts on startup, but it's unreliable, I am thinking of just using default.pa to achieve what I need now, any suggestions? I also am having trouble understanding the default config in default.pa and the docs don't help very much06:38
MauroGaspari[m][waffl3x](https://matrix.to/#/@freenode_waffl3x:matrix.org) ubuntu studio sets up bridge between pulse and jack automatically. You can setup tour jack interface from studio control gui08:57
MauroGaspari[m]I have been using ubuntu studio as daily driver on desktop and laptop for a while now. Everything works out of the box once you do initial setup.08:58
waffl3xhmm, I actually hadn't realized this was a different distro, I was pointed here from #ubuntu09:01
waffl3xwhile it would be nice to have everything work out of the box my system has other priorities, audio is second to them so I don't think I will use ubuntu studio09:02
MauroGaspari[m]You can do that really on any ubuntu flavor09:13
MauroGaspari[m]Ubuntu studio works out of the box but it is quite easy to apply the same to any ubuntu. Let me link a tutorial i wrote about that09:13
MauroGaspari[m]https://frontpagelinux.com/tutorials/easily-install-jack-audio-with-ubuntu-studio-installer/09:14
waffl3xI imagine it will be pretty useful, ill read through it for sure09:18
waffl3xwould you happen to know why default.pa refuses to load my module-jack-source s09:19
MauroGaspari[m][waffl3x](https://matrix.to/#/@freenode_waffl3x:matrix.org) what i know is that jack and jack/pulse bridges done by hand are very complex to get up and running and not very well documented. I know it does not help  much. But you will just be able to skip all the trouble by using the studio installer tools.09:31
MauroGaspari[m]Just make sure that, if you have a separate boot partition,  you have enough space for another kernel  as the studio tools will install lowlatency kernel.09:31
waffl3xthats good to know actually as I was planning on installing another kernel09:34
waffl3xdo you happen to have a guide to setting up the audio filters you are using in that guide MauroGaspari[m] ? I am used to reaplugs and the calf ones are considerably more complex09:46
rghwaffl3x: as the calf plugins are being removed from the iso as they are a cause of trouble, better find other processing filters10:43
rghLSP plugins are of high quality, but IMHO a bit involved to set up.10:44
waffl3xyeah calf seemed really jank to me so im not shocked10:45
waffl3xwhich version of the LSP plugins do you suggest?10:45
waffl3xthats a general question too I suppose10:45
waffl3xoh to be clear I mean like, VST versus LV2 versus whatever else there is10:45
rghOn Linux always lv210:45
waffl3xsounds good10:46
rghIf the host has lv2 support, use that .10:46
waffl3xif I dont want to use carla, how would I go about hosting the plugins?10:47
rghArdour?10:48
rghUse carla. It's the best .10:48
rghThere's Element and Synthpod, but afaik only carla is supported in ustudio10:48
waffl3xmm, I had some trouble with carla the first time I was setting stuff up10:48
waffl3xI think the issues were mainly with ladish though10:48
rghOh, don't use ladish10:49
rghObsolete10:49
waffl3xgood to know10:49
rghNsm. New Session Managed10:49
rghManager10:49
waffl3xit certainly felt obsolete10:49
rghOr use non session manager if that's available. New Session Manager is the way forward though.10:50
waffl3xI was under the impression carla used ladish like the other kxstudio applications10:50
waffl3xdoes it just use NSM by default and I was mistaken?10:51
waffl3xcome to think of it, maybe thats what was causing the problems was using both at the same time10:51
waffl3xand I hadnt realized it10:51
rghOh ...10:51
waffl3xbecause I was using uhh, catia/claudia as well10:51
rghOh no10:51
waffl3xthat explains a lot honestly, it was a huge headache10:52
rghI haven't used session managers really .10:53
rghI'm about to though, for the Libre Music Challenge \o/10:53
waffl3xwhats that?10:53
rghIt's awesome10:54
rghHold on10:54
rghhttps://linuxmusicians.com/viewtopic.php?f=40&t=2210510:55
waffl3xneat10:56
waffl3xI imagine thats going to prove the capabilities of linux audio dev10:56
rghThat's part of the evil plan behind it.11:00
rghAlso, to stop people from endlessly configuring their system and just make a damn track :-P11:01
rghAlso, since there's scoring/voting involved, you are sure your music is going to be listened to.11:02
rghAnd now. I gotta deliver mail in the rain/storm.11:03
rghThanks to covid-19 I'm no longer a full time musician. Huzzah.11:04
waffl3xyeah I can imagine people are tempted to endlessly config, I certainly feel like thats what I'm doing11:22
waffl3xI just spent about 20 minutes following this https://forums.linuxmint.com/viewtopic.php?f=42&t=4486211:23
waffl3xonly to realize that pulseaudio isnt going to be handling that if I'm using jack11:23
waffl3xit also occurred to me that I maybe shouldnt have pulse be real time, but im not actually certain11:23
MauroGaspari[m][waffl3x](https://matrix.to/#/@freenode_waffl3x:matrix.org) sorry i got busy with work. Luckily [rgh](https://matrix.to/#/@rghvdberg:matrix.org) rgh already replied all your questions.11:24
MauroGaspari[m]My advice is if you are not sure and want to see how studio installer and/or ubuntu studio work, install ubintu studio groovy gorilla on a separate ssd or computer. Take it for a spin and see how easy it is.11:24
MauroGaspari[m]I am going to publish a few nore articles and tutorials as soon as groovy gorilla is released. Including small script to autostart carla and minimize it on login.11:24
MauroGaspari[m]* [waffl3x](https://matrix.to/#/@freenode_waffl3x:matrix.org) sorry i got busy with work. Luckily [rgh](https://matrix.to/#/@rghvdberg:matrix.org) rgh already replied all your questions.11:24
MauroGaspari[m]My advice is if you are not sure and want to see how studio installer and/or ubuntu studio work, install ubuntu studio groovy gorilla on a separate ssd or computer. Take it for a spin and see how easy it is.11:24
MauroGaspari[m]I am going to publish a few more articles and tutorials as soon as groovy gorilla is released. Including small script to autostart carla and minimize it on login.11:24
waffl3xyeah no worries, I think I have it all figured out now anyway11:26
waffl3xI'll be looking forward to guides for setting up compressor and gate11:26
waffl3xI had a hard enough time with reacomp and it was massively simple11:27
MauroGaspari[m][waffl3x](https://matrix.to/#/@freenode_waffl3x:matrix.org) if you want to laugh a bit at my misadventures in linux audio, and maybe quickly see how pulseaudio or jack can help you, i have a wrap up article here, with links to both pulse and jack tutorials.11:27
MauroGaspari[m]What a huge rabbit hole!11:27
MauroGaspari[m]https://frontpagelinux.com/articles/pulseaudio-vs-jack-adventures-in-linux-audio/11:27
waffl3xmy main issue turned out to be I had a second default.pa file which is why my changes werent applying (the weird thing is it looked like they were applying some of the time but in reality it was probably just bugging out a little)11:29
waffl3xif I knew about ubuntu studio a few days ago I woulda probably picked it up tho11:29
waffl3xdoes ubuntu studio just have really good defaults for buffer size and periods11:31
waffl3xor do you have to set those up yourself too11:31
waffl3xah yeah I got to the section on your guide11:32
waffl3xguess ill just have to do some more research11:32
waffl3xI have a alc1220 I believe11:36
waffl3xhmmm, maybe im just stuck with mediocre quality, I'm seeing a few threads of people with problems11:38
waffl3xI seem to have been able to fix my xrun problem by increasing to 3 periods11:56
waffl3xjust kidding just got one but im suspecting it might have to do with CPU load and frequency not scaling in time11:57
MauroGaspari[m]Overall to my audionoob surprise,  it seems that any cheap-ish audio usb intrlerface beats any high end motherboard's integrated audio.12:04
MauroGaspari[m]Usb interfaces will need 3 period, and then you can set latency to 256, see if woeks well, eventually try and reduce it12:06
kaeruwaffl3x: yeah that has been my experience as well with onboard, 256 buffers 2 periods was about as low as I can get, 512 and 2, and you would have no xruns12:34
waffl3xI wish that was the case for me, I get xruns every 6 minutes at 1024 and 212:35
waffl3xwell12:35
waffl3xas far as I could tell it gives me xruns regardless12:35
waffl3xalso if it tried to run in 6 channel mode (default) it would just stutter and stop working at all12:35
waffl3xright now im dealing with something even more bizarre though12:35
waffl3xwith jack dbus enabled QJackCtl loses the ability to stop the server12:36
waffl3xok its working again12:37
kaeruhave not seen that issue with  ubuntustudio for past few ubuntu releases12:37
waffl3xidk man12:37
waffl3xthis program is turbojank12:38
waffl3xbut the good news is when I dont have to keep restarting it it will be fine12:38
kaerustudio-controls12:38
waffl3xthe bizarre thing was that QJackCtl seemed to think it was shutting off the server despite not doing so12:38
waffl3xyeah im feeling like12:38
waffl3xI should just use the distro12:38
waffl3xwhats the word on sample rate12:39
kaeruI have Motu M4 and it's OK at 128 buffers and 2 periods for me12:40
waffl3xnah I mean sample rate12:41
kaeru48k12:41
waffl3xthinking about it12:43
waffl3xI probably would have issues on ubuntu studio as well just because of my onboard card12:43
MauroGaspari[m]I think test on a fresh install are better. If you followed previous scripts or installs that modified some comfiguration files, that could clash with studio controls12:58
waffl3xits a pretty fresh install12:58
waffl3xI know pretty much everything I have done12:59
Eickmeyer[m]waffl3x: So, the question is, are you complaining or do you have an actual support question?14:22
Eickmeyer[m]This entire discussion looks like it didn't belong here. #ubuntustudio-offtopic is for general discussion, not this channel.14:23
OvenWerksThe backscroll goes back to 2330 and then goes all night :)14:52
OvenWerkswaffl3x: studio-controls will set up jack and pulse for you.14:53
OvenWerksqjackctl will appear to be unable to stop jack if some other application started it as jackd rather than jackdbus14:53
OvenWerksbasically the only application that can stop jackd is the one that started it.14:54
OvenWerks That is a limitation of jackd14:54
OvenWerksif you have ever used cadence (it sounds like you have) then removing it is difficult. It does add is own pulse config... and in fact recreates it every time it starts14:55
OvenWerksI am guessing they missed all of that ;)14:56
OvenWerkswaffl3x: If you have ever use cadence, it will A) auto start itself at session start B) create a new pulse config file each time as well15:06
OvenWerksthat is why we don't suport cadence. It is not an easy apt remove, one has to find it's extra files it has installed and remove them15:07
OvenWerkswaffl3x: also, many applications will auto start jackd if it is not running when you start that application.15:08
OvenWerkswaffl3x: if this happens, qjackctl will not be able to stop that instance of jackd... it will require a kill or killall -915:09
OvenWerkswaffl3x: I have found the best thing is to have jackdbus start at session start so that this never happens15:10
OvenWerksthough it is also possible to chmod -x jackd I guess.15:11
OvenWerksit is also possible to add JACK_NO_START_SERVER to your environment.15:13
OvenWerksEickmeyer[m]: ^^^ perhaps we should do so by default15:14
Eickmeyer[m]OvenWerks: That's possible (not this release). Would that get stuck in /etc/environment.d somewhere?15:15
Eickmeyer[m]Actually, I already know the answer is yes.15:16
Eickmeyer[m]We'll talk in -devel about this.15:16
rghwaffl3x: I never had good audio performance with onboard gear15:27
rghI just don't even try any more15:27
rghI had a potato laptop, added a behringer USB mixer (Xenyx 1404 USB) , bam .. running (pretty) low latency without xrun15:28
rghOvenWerks: people said they prefer Cadence over Studio Controls because they could easily switch on/off services and also decide what to auto-run on start-up15:30
rghany comments on that ?15:30
rghbesides : why the hell would you want to do that ? (that's what I think)15:31
Eickmeyer[m]rgh: Services are easy to turn-off using Studio Controls. With Pulse, for instance, you just need to remove all bridges and hit "Apply" and it's done; no more PulseAudio.15:33
rghthat's not easy15:34
rghthat's not a [x]15:34
rgh^^^ awesome ascii art for a tick box15:34
Eickmeyer[m]rgh: I think he's working on a checkbox.15:34
Eickmeyer[m]Probably for next version.15:35
rghcool15:35
rghwell cool for the people who need that :-)15:35
Eickmeyer[m]Would still require the "apply" button, which isn't beyond imagination.15:35
MauroGaspari[m]OvenWerks: I used both and Studio Controls wins for me. It is very easy to understand, well presented, and has easy icons to access carla, qasmixer, jack controls. I really think it is the best especially for new users. I did not feel lost when I started with Studio Controls.15:39
kaeru+1 on Studio Controls having everything I need and is straightforward16:20
kaeruMauroGaspari[m]: I wrote a rather lengthy article with screenshots https://medium.com/@kaerumy/audio-and-midi-controller-on-ubuntu-linux-1058e00bc7d016:27
Eickmeyer[m]kaeru: Such discussion belongs in #ubuntustudio-offtopic if you wouldn't mind. :)16:29
kaeruaah ok, I didn't know about that channel16:30
Eickmeyer[m]kaeru: ubuntustudio.org/community tells about it.16:30
kaerucool, sorry for the noise16:30
sakrecoer[m]oh no! calf is going away from the iso? haha! too bad if they cause trouble. 😞 i understand but i will miss them (as in investigate how to install them myself πŸ˜…) the compressor, reverb, mono-synth... πŸ’₯ i think the only one I've never used is the vocoder, because i don't manage to wrap my head around it.18:02
sakrecoer[m]multi-band compressor is so tasty... limiter so powerful!18:04
Eickmeyer[m]εΎ’ π–˜π–Šπ–™π–™π–” γ‚»γƒƒγƒˆπŸ•ΈοΈπŸ΄οΈ: We do have dragonfly-reverb, the LSP plugins, and more that might even be better. Calf is still in the repos, though.20:22
OvenWerksrgh: I have no problem with people using Cadence at all. The big thing that Cadence did not take care of was those horrible USB mic things.21:01
OvenWerksrgh: studio-controls makes using a USB mic pretty much automatic21:02
OvenWerksrgh: it is on my list (probably after a Cadence refresh) to make studio-controls able to work with cadence either when Cadence is turned off or even if it has started jack.21:03
OvenWerksrgh however, I know falktx considers Cadence in it's current form pretty much depricated. It is on his list for a refresh, I would prefer to see where things are after that.21:05
OvenWerksrgh: of course pipewire will change the whole mess as well.21:05
OvenWerksrgh: about your comment on auto-runing things. I am not sure what you mean. studio controls does autorun jack, a2jmidid, zita-ajbridge, pulse modules and jack_connect already, do mean more than that? What services would you like to easily switch on and off?21:10
OvenWerkssakrecoer[m]: calf is substandard in almost anyway that you look at it. WHile it is still in the repo, we do not want budding engineers to get used to the way calf sounds as somehow correct. Many people who use ubuntustudio for sound production have never used even a FOH mixer for some sort of reference as to how things work. We want ubuntustudio to have the best packages, Calf does not meet that21:15
OvenWerksrequirement.21:15
OvenWerks(the srcews don't even work to remove the rackmounted modules  ;)21:16

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