#asahi-dev · 2022-03-12 07:07
chadmedhuh ok so the crossovers and EQ i set by ear are pretty much exactly where they need to be :D#asahi-dev · 2022-03-12 06:18
chadmedit would definitely make a good "do not try this at home" demonstration :P#asahi-dev · 2022-03-12 06:01
chadmedi think it is, but not if its the only thing youre committing (unless theres a whole mess of em) #asahi-dev · 2022-03-12 05:47
chadmedby all means#asahi-dev · 2022-03-12 05:41
chadmedive got everything routing through JACK (pipewire and pulse are both happy to act as clients to it) so it doesnt fall apart when i plug my interface in, so i can now either use REW remotely by waypipe-ing Xwayland to my main machine or get a 24/96 WAV of a log sweep and just play that via aplay to each driver and use the calibration mic through another machine with known parameters#asahi-dev · 2022-03-12 05:39
chadmedmarcan: that sounds... interesting... heh#asahi-dev · 2022-03-12 02:59
chadmedits been a really fun morning #asahi-dev · 2022-03-12 02:59
chadmedthe other shit thing is that REW or Java relies on some stuff llvmpipe cant do and so its GUI breaks on launch, which makes it basically impossible to get well-calibrated response curves for the drivers. doesnt matter anyway, since plugging in my interface to use the calibration mic makes the internal speakers unusable :)#asahi-dev · 2022-03-12 02:56
chadmedand the problem with THAT is that pipewire opening direct ports to this driver somehow breaks pipewire-pulse, which is what has caused mpv and VLC to explode. the failure mode is similar to if you disable resampling in vanilla pulseaudio so im thinking pipewire is not telling pipewire-pulse to do it or something#asahi-dev · 2022-03-12 02:53
chadmedproblem with this is that it does not work with ALSA PCMs that route through LADSPA plugins, pipewire expects you to create a virtual pipewire sink to do that (again in its own config), link that to a "coupled" sink (a source-sink passthrough in pipewire) and then feed that directly to hardware#asahi-dev · 2022-03-12 02:52
chadmedturns out pipewire actually ignores asound.conf and opens a direct port to the hardware by default, unless you specify in its own configuration that it should use an already defined ALSA PCM as its default sink#asahi-dev · 2022-03-11 11:57
chadmedhonestly i have them at zero and the speakers already start clipping at like 70% volume #asahi-dev · 2022-03-11 11:53
chadmedyeah im thinking we hide that stuff plus the "amp gain" sliders from userspace entirely#asahi-dev · 2022-03-11 11:52
chadmed+1#asahi-dev · 2022-03-11 11:51
chadmedyeah it would suck if people blew up their speakers, and i guarantee no ones going to read my little "hey dont turn the volume up" comment in asound #asahi-dev · 2022-03-11 11:48
chadmedyeah i know but i couldnt get it going properly, with or without my custom config#asahi-dev · 2022-03-11 11:46
chadmedyeah jack and pipewire kept exploding...#asahi-dev · 2022-03-11 11:46
chadmedmarcan: i left it on the default because it was working okayish for what i was doing, but the crackling starts becoming very apparent once i start messing around in carla so thats another job for tomorrow's to do list#asahi-dev · 2022-03-11 11:44
chadmedive deferred my japanese minor for two years because i dont quite fancy trying to memorise all the kyouiku kanji in one semester lmao#asahi-dev · 2022-03-11 11:42
chadmedonly thing im worried about is pipewire exploding constantly, but that happens even without my asound so that seems like a driver thing#asahi-dev · 2022-03-11 11:41
chadmedmarcan: my testing was just by listening, but i can pull out my calibration mic tomorrow and do some log sweeps or something if you want. ive just brought the "subs" down to 20 Hz and by themselves with a bit of EQ magic they actually sound really really good so ive definitely got more work to do regardless#asahi-dev · 2022-03-11 11:19
chadmedno problem, the main thing is just that whatever macos does actually sucks and we should think about something else when the time comes#asahi-dev · 2022-03-11 11:12
chadmedits far from the weirdest thing ive had to include in a paper, i once had to write a real one about peoples biological reaction to counter-strike match replays#asahi-dev · 2022-03-11 11:11
chadmedpart of any good science experiment is being able to reproduce it perfectly, so of course i need to add the list of music i used heh#asahi-dev · 2022-03-11 11:09
chadmedpovik: well in my opinion, basically as soon as we get the left woofers to stop dropping out randomly if we go with my method#asahi-dev · 2022-03-11 11:08
chadmedthe only transformation absolutely neccessary through that method though is taming down 400-600 Hz on the main set of woofers a bit, but the rest can actually be feasibly done via plain old ALSA through UCM#asahi-dev · 2022-03-11 11:07
chadmedhttps://gist.github.com/chadmed/2c772c8fdac8280cb17846388203a213#file-experimental-testing <- ive done a writeup on how i came to these conclusions, including values and an asound.conf to reproduce what i did. of course the final product should be done via FIRs/IIRs rather than forcing it through asound, but it demonstrates what im talking about #asahi-dev · 2022-03-11 11:06
chadmedmarcan, povik: i spent most of today doing a bunch of testing, and i seriously do not think we should be applying whatever transformations macos does to the audio. these speakers actually sound significantly better with far less processing, mostly just a crossover and linear coefficient on the tweeters to tame them back a bit#asahi-dev · 2022-03-11 00:17
chadmedit doesnt really matter at the end of the day since each driver is still accessible individually if you know its address, but since they really do different jobs as members of the array they should probably be called different things#asahi-dev · 2022-03-11 00:15
chadmedpovik: in reference to your comment, you can define one set of woofers as SNDRV_CHMAP_SL and SNDRV_CHMAP_SL in macaudio.c to differentiate them from the "rear" ones, which id probably use just for the (sub)woofers#asahi-dev · 2022-03-10 11:41
chadmedhttps://gist.github.com/chadmed/2c772c8fdac8280cb17846388203a213 <- some notes on the speaker system in the j314s, and an asound.conf that makes them sound... okay-ish for now#asahi-dev · 2022-03-10 08:13
chadmedi cant seem to reliably repro it with any particular actions, it just happens #asahi-dev · 2022-03-10 08:13
chadmedits definitely one of the left woofers#asahi-dev · 2022-03-10 08:13
chadmedi guess 0 in the dt, if thats what alsa also calls 0#asahi-dev · 2022-03-10 08:12
chadmedyeah its consistently whichever driver is mapped to 0 for me #asahi-dev · 2022-03-10 08:10
chadmedpovik: is it left woofer 1 that drops out for you occasionally? #asahi-dev · 2022-03-10 07:47
chadmedtheyre usually really good about replacing stuff here, a couple of friends have even had liquid damaged machines replaced for free#asahi-dev · 2022-03-10 07:47
chadmedmarcan: ive got something better than applecare, the australian consumer law :P #asahi-dev · 2022-03-10 07:47
chadmedhuh, to me it sounds marginally better with everything enabled, i have non-uniform coefficients set in my ttable right now though#asahi-dev · 2022-03-10 07:45
chadmedmarcan: oh too easy then, ill just leave the alsa config at routing the stereo signal to each driver then at the same signal level for now#asahi-dev · 2022-03-10 07:43
chadmedalso yeah something is really unstable at the moment, i can reliably poke the array directly through alsa but doing so via pulse, pipewire or jack causes it to explode (drivers start dropping out, volume control lost, etc) #asahi-dev · 2022-03-10 07:42
chadmedpovik: the clipping is extremely prominent at volumes > ~60 in alsamixer, which tells us that the amps are being driven too hard #asahi-dev · 2022-03-10 07:05
chadmedrather, if you try to reference them by ID, ladspa has a whinge#asahi-dev · 2022-03-10 07:04
chadmedthey dont show up by ID in /usr/lib/ladspa on my j314s#asahi-dev · 2022-03-10 07:04
chadmedyeah so i wonder why those plugins dont install/ladspa cant see them#asahi-dev · 2022-03-10 07:03
chadmedand if you try it blows up #asahi-dev · 2022-03-10 07:02
chadmedyeah i just tried on my amd64 machine now, filter doesnt build by default here either #asahi-dev · 2022-03-10 06:58
chadmedoh bfd also explodes on amd64#asahi-dev · 2022-03-10 06:54
chadmedif you try forcing it to build them by using "make filter", the linker explodes#asahi-dev · 2022-03-10 06:54
chadmedif you grab the sources and build like that, it also just doesnt build those plugins