[18:03] corshmock: congrats! how did you make it work? [18:04] hmc: Kdenlive? [18:04] unrelated: How can I monitor ALSA for xruns? I found this (https://www.alsa-project.org/main/index.php/XRUN_Debug) but I think it's outdated since I don't have a `xrun_debug` where it should be. [19:33] AppAraat[m]: the alsa xruns are mintored by the application using alsa. [19:33] *monitored [19:34] (or not as the application sees fit) [19:35] xruns happen when the application doesn't deal with alsa in a timely manner [19:37] ah, so the xrun monitoring of JACK was simply because JACK was being an ALSA app in that case. Interesting. [19:37] yes [19:38] thought it had to do with ALSA (sometimes?) not being able to deal with hardware in a timely manner [19:39] alsa ends up being an API to allow alsa driven programs to access the hardware in a uniform manner. [19:40] yeah in terms of (abstraction?) layers I understand it goes something like: hardware <-> ALSA <-> ALSA apps (JACK, Bitwig Studio, PulseAudio etc.) [19:41] but mostly for pro audio it's something like: hardware <-> ALSA <-> JACK (ALSA app) <-> JACK apps (aka clients, like Bitwig Studio, PulseAudio, Ardour etc.) [19:43] It can be, but unless you really want to use external jack applications as synths or effects, most of them can tie directly to alsa and use plugins instead. [19:43] Ardour, for example, now recomends using alsa dirrect unless you wish to be able to hear desktop audio at the same time. [19:44] (or use a jack only synth or effect) [19:44] or tie to a sequncer [19:48] heh, didn't know about Ardour recommending doing stuff on ALSA directly. Interesting. Although if "desktop audio" is an ALSA app then it can just use dmix, no? [19:50] in which case it also obsoletes the need for JACK. So pretty much the "only" thing I need it for is having a soft mixer between JACK clients and JACK (for that audio interface that didn't support soft mixing lol) [19:51] audio interfaces don't do soft mixing for the most part, they generally have software controlled hw mixing. [19:52] The link from any pro-audio application to an audio device should not have a software mixer in between anyway. [19:53] ah I see, and some audio interfaces can lack even that, right? [19:53] oh, how so? [19:53] Many audio interfaces just have hw controls (knobs) instead. [19:54] yeah I guess mine does only have that [19:54] For profesional audio you want the exact audio that leaves the ADC coming into your application [19:55] Any level compensation should be done before th adc to prevent clipping [19:56] That's in case of recording? Does soft mixing / volume control do anything destructive to the digital audio? Thought that was just volume adjustment. [19:56] your application should take care of that and deal with any latency that step adds. [20:00] Having a level control on the output is less of a problem for long as you have no outboard audio equipment that feeds audio back in to your application [20:00] some people use external analog effects because they like the sound [20:47] in case of external fx, what does it matter whether output is adjusted as long as its compensated back at the input stage? [20:47] you loose headroom [20:48] loose headroom = starting with 24 bit audio and ending up with 14 bit audio (as an example) [20:49] hmm I see [20:49] Better to use analog level changes after DAC and before ADC [20:50] that would make the most sense yeah