#asahi · 2023-01-16 13:15
TheDcoderI would've never thought so much science would go into userspace audio tuning... don't devices usually have a dedicated DSP to process the raw signal to something usable by the speakers?#asahi · 2023-01-16 11:19
chadmed(its how youd fix overexcursion even if you could model it, youd just have a more accurate idea of what exactly you need to compress and by how much) #asahi · 2023-01-16 11:19
chadmedif we have to live with the cpu use of the compressor then so be it i guess#asahi · 2023-01-16 11:18
chadmedi just dont think it really does what we need it to #asahi · 2023-01-16 11:18
chadmedyeah#asahi · 2023-01-16 11:18
dsharshakovI suggested it just as a cheaper alternative#asahi · 2023-01-16 11:15
dsharshakovchadmed: https://repology.org/project/libebur128/versions. Integration could likely be done#asahi · 2023-01-16 11:14
chadmedi dont want to crush the dynamic range of an entire input signal when all we really need is to tame down spikes that cause overexcursion and do equal loudness (which is not the same as loudness normalisation) #asahi · 2023-01-16 11:12
chadmedbesides loudness norm is not _really_ what we're trying to do here #asahi · 2023-01-16 11:11
chadmedlike i said im not keen on introducing more deps that require packaging #asahi · 2023-01-16 11:11
chadmeddoes it integrate with pipewire and is it widely packaged#asahi · 2023-01-16 11:11
dsharshakovwdyt about using libebur128 for some other normalization mechanism (maybe not compressor but gain-based)?#asahi · 2023-01-16 11:10
dsharshakovif you changed input sink volume it must've worked ~everytime#asahi · 2023-01-16 11:09
dsharshakovmaybe you were adjusting the filter-chain output stream or real hw sink volume#asahi · 2023-01-16 11:07
chadmed(this is a good thing btw it means one less useless virtual sink) #asahi · 2023-01-16 11:07
chadmedwas just wondering if you knew why or what got changed bc i cant seem to see why #asahi · 2023-01-16 11:07
chadmedbut now i dont need to do that#asahi · 2023-01-16 11:07
chadmedso i needed a dummy sink to be the "volume control" so that the input to the compresor was the one being varied#asahi · 2023-01-16 11:06
chadmedsuch that the compressor would be permanently compressing anything that comes into it as if it were max volume (the input gain is 1) #asahi · 2023-01-16 11:06
dsharshakovah, nice#asahi · 2023-01-16 11:06
dsharshakovbtw you need `device.api` set for it to work well in plasma#asahi · 2023-01-16 11:06
chadmedbefore a recent update, adjusting that would attenuate the output side of the filter chain#asahi · 2023-01-16 11:06
chadmedyeah thats the volume im adjusting#asahi · 2023-01-16 11:05
dsharshakovyou need to adjust the filter-chain volume#asahi · 2023-01-16 11:05
chadmedas in, when i turn the volume up/down in plasma, it seems to be affecting the signal strength on the _input_ side of the sink, not attenuating the final output #asahi · 2023-01-16 11:04
chadmedand by volume what i mean is ive noticed that i no longer need a dummy sink to make the compressor work properly#asahi · 2023-01-16 11:03
chadmedthe human ear isnt that nice to work with #asahi · 2023-01-16 11:03
chadmedwhich is why a blanket compressor/limiter is unsuitable #asahi · 2023-01-16 11:03
chadmednotice how i dont pull band 7 out nearly as much or aggressively as the lower bands#asahi · 2023-01-16 11:03
chadmedand band 7 is 2k and up#asahi · 2023-01-16 11:02
chadmedband 1 is 160hz to 400hz#asahi · 2023-01-16 11:02
chadmedband 0 is 0hz to the frequency of band 1, which is 160hz #asahi · 2023-01-16 11:02
chadmedit literally has the passbands in it#asahi · 2023-01-16 11:02
chadmedwell look at the config file#asahi · 2023-01-16 11:01
chadmedit doesnt compress the mids for example because i already do that in the IR, so by not compressing the mids we get an approximation of equal loudness compensation without adding more crap into the chain #asahi · 2023-01-16 11:01
dsharshakovsorry, likely I'm being way too dumb#asahi · 2023-01-16 11:01
dsharshakovwhat to be certain?#asahi · 2023-01-16 11:01
chadmednot _everything_ just certain bands#asahi · 2023-01-16 11:01
dsharshakovYes, so it compresses everything?#asahi · 2023-01-16 11:01
chadmedso its better to do it as a multiband on the stereo signal before it even hits the convolvers#asahi · 2023-01-16 11:01
chadmedotherwise as you crank the volume up and the woofer bands get compressed, you get a very harsh and tinny tweeter sound#asahi · 2023-01-16 11:00
chadmedlike i said earlier, because you necessarily _need_ to tame the tweeters by some amount if youre pulling signal out of the woofers to maintain the balance#asahi · 2023-01-16 11:00
chadmedit also pulls down a tweeter passband#asahi · 2023-01-16 11:00
dsharshakovWhy not place it after the woofer FIR then?#asahi · 2023-01-16 11:00
chadmedno if you have a look at the config in the j314-18db branch #asahi · 2023-01-16 11:00
dsharshakovso it compresses woofers only?#asahi · 2023-01-16 10:59
chadmedbefore it goes to the convolvers#asahi · 2023-01-16 10:59
dsharshakovchadmed: wdym about volume?#asahi · 2023-01-16 10:59
chadmedon the stereo signal#asahi · 2023-01-16 10:59
chadmedno it checks the passbands its configured for and compresses _only_ those passbands