Post AtvGUGN6ZSkhdtn4PQ by [email protected] | |
More posts by [email protected] | |
Post #AruJrAvjnvwo6GU40W by [email protected] | |
0 likes, 0 repeats | |
@dotstdy @aeva we use it through wgpu_native. a treat | |
Post #AsEwIdmZV2xDFg3C1g by [email protected] | |
0 likes, 0 repeats | |
if you think about it, vulkan logical device implies the existence of vulkan il… | |
Post #AsEwIdtJ60LFaZCZWa by [email protected] | |
0 likes, 0 repeats | |
I'm slowly working through the vulkan spec writing a compute-only vulkan pr… | |
Post #AsEwIdzKjbA7tG1Nuy by [email protected] | |
0 likes, 0 repeats | |
also the tutorials I reviewed all did the annoying thing where the tutorial squ… | |
Post #AsEwIe5iLsGaD30Trc by [email protected] | |
0 likes, 0 repeats | |
I think it's cute that practically every vulkan command has one or more opt… | |
Post #AsEwIeBjzT5SVjpIG0 by [email protected] | |
0 likes, 0 repeats | |
ok even with just the compute-only subset vulkan is a slog D: | |
Post #AsEwIeHld3uKoQe6eO by [email protected] | |
0 likes, 0 repeats | |
I wonder how many people have actually managed to knuckle down and write a comp… | |
Post #AsEwIeN5JIA34v8LwG by [email protected] | |
0 likes, 0 repeats | |
@aeva this kind of thing was a big motivation for me making Gigi. So we sit and… | |
Post #AsEwIeT6wsyvNbxAKe by [email protected] | |
0 likes, 0 repeats | |
@aeva when people point at an api or engine interface and ask "why is this… | |
Post #AsEwIeYQd7Ede6RPcW by [email protected] | |
0 likes, 0 repeats | |
@demofox so, if I'm following this, I can use gigi to describe a compute sh… | |
Post #AsEwIed2LyvBsOb5ns by [email protected] | |
0 likes, 0 repeats | |
@aeva it doesn't have vulkan code generation yet unfortunately. It's ba… | |
Post #AsEwIejPyG1eCBaBkW by [email protected] | |
0 likes, 0 repeats | |
@aeva but yeah, that's the idea!You can string a bunch of nodes together in… | |
Post #AsEwIep5dAYwTmEiae by [email protected] | |
0 likes, 0 repeats | |
@demofox if only we had GPU drivers for Plan9. | |
Post #AsEwIeu3KiX4jAYgKG by [email protected] | |
0 likes, 0 repeats | |
@Flux @demofox you should simply add GPU drivers to Plan9! | |
Post #AsEwIezizd4N0lDDAO by [email protected] | |
0 likes, 0 repeats | |
@aeva @demofox I've worked too close to GPUs to think of this as a feasible… | |
Post #AsEwIf4ghB2VG9XAu0 by [email protected] | |
0 likes, 0 repeats | |
@Flux @aeva what is plan9? Google isn't helping much | |
Post #AsEwIfAMM5ZnXkBhk8 by [email protected] | |
0 likes, 0 repeats | |
@demofox @Flux @aeva https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs | |
Post #AsEwIfHRvjFPtjVMnI by [email protected] | |
0 likes, 0 repeats | |
@dougbinks @demofox @Flux @aeva itβs the future! | |
Post #AsEwIfI9t5oZvvpvto by [email protected] | |
0 likes, 0 repeats | |
oh, update on my little vulkan compute project, last night I got as far as repe… | |
Post #AsEwIfNTZK4ICQKBBg by [email protected] | |
0 likes, 0 repeats | |
@photex @dougbinks @demofox @Flux @aeva and it always will be | |
Post #AsEwIfTVCutAV78za4 by [email protected] | |
0 likes, 0 repeats | |
@jon_valdes @dougbinks @demofox @Flux @aeva I know | |
Post #AsEwIfZWqVi2nnxnyS by [email protected] | |
0 likes, 0 repeats | |
@photex @jon_valdes @dougbinks @Flux @aeva i took your comments more seriously … | |
Post #AsEwIfeUY3gB3CHli4 by [email protected] | |
0 likes, 0 repeats | |
@demofox @photex @jon_valdes @dougbinks @Flux there are a lot of cool ideas in … | |
Post #AsEwIfkWBeV3Lt6a6S by [email protected] | |
0 likes, 0 repeats | |
@aeva @demofox @photex @dougbinks @Fluxabsolutely. It is a pretty cool design. … | |
Post #AsEwIflE914DO5R9Cy by [email protected] | |
0 likes, 0 repeats | |
Success! I got the vulkan compute shader cranking out the fibonacci series and… | |
Post #AtIUffLLt8CwTBrgIK by [email protected] | |
0 likes, 0 repeats | |
ok *whew* I finally did it! I implemented convolution reverb as a vulkan compu… | |
Post #AtIUffT9Q8RirNVuS0 by [email protected] | |
0 likes, 0 repeats | |
it turns out the main difficulty working with vulkan is accidentally breaking y… | |
Post #AtIUffZX2PYBBAV0Oe by [email protected] | |
0 likes, 0 repeats | |
I reworked it so the convolution shader processes the audio in tandem with play… | |
Post #AtfvYZoJEASwgGKcme by [email protected] | |
0 likes, 0 repeats | |
I want to power through and get this into a state where I can use it with live … | |
Post #AtfvYZxWftq38qdz9M by [email protected] | |
0 likes, 0 repeats | |
I reworked some things and now my audio convolving compute shader can convolve … | |
Post #AtfvYa4GGrE5TjnMeG by [email protected] | |
0 likes, 0 repeats | |
also sometime in the last week I made it so it can operate entirely on a live i… | |
Post #AtfvYaBhpBBHqpHJFg by [email protected] | |
0 likes, 0 repeats | |
Apparently my best frame time can get as low as 3 ms. I think vulkan should le… | |
Post #AtfvYaIRQ8ZKBiQgka by [email protected] | |
0 likes, 0 repeats | |
@aeva toot chains like this one remind me that programming is mostly about figh… | |
Post #AtfvYbPvFo9BfCwB3A by [email protected] | |
0 likes, 0 repeats | |
ok the problem I'm having with latency now is that the audio latency in the… | |
Post #AtfvYc3csBuFeLVsw4 by [email protected] | |
0 likes, 0 repeats | |
What I want to do is have a fixed size buffer for input and output, enough that… | |
Post #Atfvlo01mh4MS47YtU by [email protected] | |
0 likes, 0 repeats | |
@lritter personally I object to the common characterization of programmers as b… | |
Post #AtfxfGjAm81BQpFRFw by [email protected] | |
0 likes, 0 repeats | |
@aeva that's right! we da kool bureaucratz | |
Post #AtfzD0iitcj3aOgtg8 by [email protected] | |
0 likes, 0 repeats | |
I like that pipewire has an option to not be terrible ("pro audio" mo… | |
Post #AtfzD0oOYXGLrzLQWG by [email protected] | |
0 likes, 1 repeats | |
99% of audio problems on linux these days are just programmers refusing to just… | |
Post #AtfzD0uQC85EAgAEue by [email protected] | |
0 likes, 1 repeats | |
want to have low latency audio on linux? we have a tool for it, it's calle… | |
Post #AtfzD10noPBgUT9KrI by [email protected] | |
0 likes, 0 repeats | |
@aeva *snores in pulseaudio* | |
Post #AtfzPJfwFOrLqiFwlk by [email protected] | |
0 likes, 0 repeats | |
@lritter how do you make pulse audio laugh on monday | |
Post #AtgCVLjwmamJOVL2nI by [email protected] | |
0 likes, 0 repeats | |
@lritter you tell it a joke on tuesday π | |
Post #AtgkHpK3OdPvWtwzFA by [email protected] | |
0 likes, 3 repeats | |
@aeva It's been over 20 years since audio made me switch from Linux to Free… | |
Post #Ati0WYMoVm2biBFGuu by [email protected] | |
0 likes, 0 repeats | |
@david_chisnall the amazing there here is ALSA has had software mixing for ages… | |
Post #Ati0WYTu5PiE4AYvy4 by [email protected] | |
0 likes, 1 repeats | |
@aeva There was something silly with software mixing in the early days of ALSA … | |
Post #Ati6mR5HxIW9U10LwG by [email protected] | |
0 likes, 0 repeats | |
@david_chisnall @aeva What are you using on FreeBSD? | |
Post #Ati6mRC1YFuBou9jRA by [email protected] | |
0 likes, 0 repeats | |
@jimmysjolund @aeva OSS, anything else is a layer on top and rarely brings anyt… | |
Post #Ati6mRIPAX0e8h8pNo by [email protected] | |
0 likes, 0 repeats | |
@david_chisnall @aeva Ah I misread as "audio production". I have not … | |
Post #Ati6mRNiqlGMPBd4fg by [email protected] | |
0 likes, 1 repeats | |
@jimmysjolund @aeva Not something Iβm familiar with, but you might be interes… | |
Post #AtiEKEvuL6gPJzgP56 by [email protected] | |
0 likes, 0 repeats | |
@david_chisnall that was in the aughts, which was 30 years ago | |
Post #AtiEKF1vyhVHcgVDTU by [email protected] | |
0 likes, 0 repeats | |
@aeva Iβm pretty sure 2025-2022 is not 30. It was around then that I gave up … | |
Post #AtiEKF7xcIK9vNK1rs by [email protected] | |
0 likes, 0 repeats | |
@david_chisnall linux is kinda dog shit if we're being fair. does bsd grap… | |
Post #AtiEKFDHIWZsBroH9k by [email protected] | |
0 likes, 1 repeats | |
@aeva FreeBSD has been able to use the same DRI/DRM graphics as Linux for many … | |
Post #AtvGUFoidJFLvFhboO by [email protected] | |
0 likes, 0 repeats | |
I'm like 30% sure SDL3 is not the problem or at least not the only problem … | |
Post #AtvGUFvoCwuyHF1GrY by [email protected] | |
0 likes, 0 repeats | |
*spaces out* so anyways, this is usually the point where I'd try to cut thi… | |
Post #AtvGUG2BpE1Qb20MoC by [email protected] | |
0 likes, 0 repeats | |
so abnormally, this means starting with a pipewire loopback instead and seeing … | |
Post #AtvGUG9HOrh2x1K1rM by [email protected] | |
0 likes, 0 repeats | |
this makes me unhappy, but the single silver lining here is pipewire's API … | |
Post #AtvGUGFf18nVGoJ7o0 by [email protected] | |
0 likes, 0 repeats | |
ok I did it. I've got a program that writes a pipewire stream of F64 audio… | |
Post #AtvGUGN6ZSkhdtn4PQ by [email protected] | |
0 likes, 0 repeats | |
In the first version of this, both programs just measured the time using std::c… | |
Post #AtvGUGUu6SzU25RIZ6 by [email protected] | |
0 likes, 0 repeats | |
In the second version, I changed the first program to instead calculate elapsed… | |
Post #AtvGUGbzg6f6O4kxcG by [email protected] | |
0 likes, 0 repeats | |
The samples in the stream are reporting that more time has elapsed in the "… | |
Post #AtvGUGi1JhTyglZm0e by [email protected] | |
0 likes, 0 repeats | |
anyways, for the curious, I put the source code for the experiment up here http… | |
Post #AtvGUGp6tL9b2ktR3o by [email protected] | |
0 likes, 0 repeats | |
also interesting is the drift is faster if I have the second program's moni… | |
Post #AtvGUGvqUIXdNe2oYi by [email protected] | |
0 likes, 0 repeats | |
I think my conclusions from this are1. the latency drift I observed with my exp… | |
Post #AtvGUH2E6Ze5hR1uVM by [email protected] | |
0 likes, 0 repeats | |
5. the unplayable latency accumulation in my convolution experiment is problema… | |
Post #AtvGUH8biqkY1E10S0 by [email protected] | |
0 likes, 0 repeats | |
nice, pipewire has some special case stuff for filters | |
Post #AtvGUHGlEXGuQVpW9w by [email protected] | |
0 likes, 0 repeats | |
holy smokes I got it working :O!! i got my audio convolver working using the p… | |
Post #AtvGUHN8qoNMkIoc6a by [email protected] | |
0 likes, 1 repeats | |
@aeva sweet, way to go...going to give this a try just because I like to hear s… | |
Post #AtvGUHgdgJyJilwBUm by [email protected] | |
0 likes, 0 repeats | |
my revised opinion on pipewire is that I like that the API is wizards only. I&… | |
Post #AtvGUI7E5TEt3ENPw8 by [email protected] | |
0 likes, 0 repeats | |
that or I'm just good at creating wizard problems for myself. either way I… | |
Post #AtvHgLouEv4RyB7cuW by [email protected] | |
0 likes, 0 repeats | |
@skryking awesome! if you're on linux, clone https://github.com/aeva/convo… | |
Post #AtvHgLwhlvJEMMlr4C by [email protected] | |
0 likes, 1 repeats | |
@aeva thanks for the howto, was going to dig through code to try to figure out … | |
Post #AtvHgMFUe4L1IdYrLs by [email protected] | |
0 likes, 0 repeats | |
@skryking if you don't have an appropriate integrated gpu, it should fallba… | |
Post #AtvHsEWzALeGq1PDnc by [email protected] | |
0 likes, 1 repeats | |
@aeva will it play nice with my rtx 4070 mobile? | |
Post #AtvI7XQlBDY1nWn9Lk by [email protected] | |
0 likes, 0 repeats | |
@skryking no idea! it needs a unified memory architecture to work, as that all… | |
Post #AtvI7XWQq85K57RgBs by [email protected] | |
0 likes, 1 repeats | |
@aeva ok ill just give it a try. | |
Post #AtvKkHLJ80UJ6VqGh6 by [email protected] | |
0 likes, 1 repeats | |
@aeva So I got it running but I'm getting an error and just a clicking soun… | |
Post #AtzMbabH8XNalT8QUa by [email protected] | |
0 likes, 0 repeats | |
god damn this thing is so fucking cool. I've got it hooked up to my drum m… | |
Post #AtzMbaj4fXcN9emeeG by [email protected] | |
0 likes, 0 repeats | |
some small problems with this system:1. I've had to turn down the sampling … | |
Post #AtzMbaqAFBHzVe6JhQ by [email protected] | |
0 likes, 0 repeats | |
I'll probably have to switch to an fft based system for non-realtime convol… | |
Post #AtzMbawXrSORpR5Pe4 by [email protected] | |
0 likes, 0 repeats | |
this thing is also really good at warming up my laptop XD | |
Post #AtzMbb3dR644BQP4hE by [email protected] | |
0 likes, 0 repeats | |
idk if I'm done playing around with this prototype yet, but I'd like to… | |
Post #AtzMbbB4zQ1GYVt1Ie by [email protected] | |
0 likes, 0 repeats | |
probably first is reworking this program so i can change out the convolution ke… | |
Post #AtzMbbJwST6n002676 by [email protected] | |
0 likes, 0 repeats | |
anyways i highly recommend building your own bespoke audio synthesis pipeline f… | |
Post #AtzMbbPy63vfIgquVU by [email protected] | |
0 likes, 0 repeats | |
@aeva | |
Post #AtzMbbnMh4e0TFnayW by [email protected] | |
0 likes, 0 repeats | |
It occurred to me just now that I might be able to make this faster be rewritin… | |
Post #AtzMbcHUt2kNyhtewS by [email protected] | |
0 likes, 0 repeats | |
Like, having the vertex shader or a mesh shader read the sample from the audio … | |
Post #AtzMbclz3h8LVGA0Se by [email protected] | |
0 likes, 0 repeats | |
Also FP32 RGBA render targets would probably just batch 4 samples together for … | |
Post #AtzMbdJf2U4XBhutxA by [email protected] | |
0 likes, 0 repeats | |
I think this should be likely to be a lot faster, because I've made a 2D co… | |
Post #AtzMd76jlCOnsGZsa8 by [email protected] | |
0 likes, 0 repeats | |
@eniko :3 | |
Post #Au1huK1hT6nyDYBk6i by [email protected] | |
0 likes, 0 repeats | |
@shinmera @aeva [i know nothing about audio processing so i'm like 99.9% su… | |
Post #Au1huK9qynKKcq0Foe by [email protected] | |
0 likes, 0 repeats | |
@JamesWidman @shinmera I just try to remember to turn the volume down before te… | |
Post #Au1huKI0UTqh27olWa by [email protected] | |
0 likes, 0 repeats | |
@aeva @shinmera if i ever do audio programming, i will try to remember to make … | |
Post #Au1hyd8KN5kkdQLJ0S by [email protected] | |
0 likes, 0 repeats | |
@shinmera mine rewards me with magnificent sounds every time i play with it π | |
Post #Au9N3SwBAC7OghnvBA by [email protected] | |
0 likes, 0 repeats | |
I figure I should probably start recording my convolution experiments for refer… | |
Post #Au9N3T4Kfsdl5zcQt6 by [email protected] | |
0 likes, 0 repeats | |
@aeva are you able to time vary the impulse response? I wonder what it would so… | |
Post #Au9N3TBQFWJNRyw5wG by [email protected] | |
0 likes, 0 repeats | |
@halcy I was thinking about doing something like that but stretching / compress… | |
Post #Au9N3TIrnqGZp4Q2Xg by [email protected] | |
0 likes, 0 repeats | |
@halcy that would be non-uniform time mutation which may or may not be what you… | |
Post #Au9N3TPbOnec9xZQ2a by [email protected] | |
0 likes, 0 repeats | |
@aeva yeah no same effect except something something aliasing whatever who car… | |
Post #Au9N3U68qdgKHtTOLY by [email protected] | |
0 likes, 0 repeats | |
Tonight's second convolution experiment: The same audio book excerpt, but c… | |
Post #Au9N3UcktNllv2jRBI by [email protected] | |
0 likes, 0 repeats | |
I should remember to try the inverse of the first experiment later (but not ton… | |
Post #Au9N3V9iuo8nZI9lZI by [email protected] | |
0 likes, 0 repeats | |
I had a really great thing going with the chronopolis sample as the impulse res… | |
Post #Au9N6tEFruXn69tLmq by [email protected] | |
0 likes, 0 repeats | |
@halcy that's the spirit :3 | |
Post #Au9N6tNTJdutYkCi9Y by [email protected] | |
0 likes, 0 repeats | |
@halcy no eta, but I'd like to implement something like that | |
Post #AuGDM2ugVPKq2h2tW4 by [email protected] | |
0 likes, 0 repeats | |
Experiment 3: Impulse response is a clip from the audio book where the guy is d… | |
Post #AuGDM32U2PZcQsh7fk by [email protected] | |
0 likes, 0 repeats | |
Experiment 4: Same impulse response as the previous one, it's the clip from… | |
Post #AuGDM3AHZPoOp4LLpQ by [email protected] | |
0 likes, 0 repeats | |
I'm really blown away by what I can do with fm synthesis + convolution. | |
Post #AuGDM3HN93U1B3f0sa by [email protected] | |
0 likes, 0 repeats | |
Experiment 4a: here's another with that same impulse response and nearly th… | |
Post #AuGDM3PWek0NaLTWaW by [email protected] | |
0 likes, 0 repeats | |
Experiment 5: in which a clever internet person gives me a home made sound to p… | |
Post #AuGDM3XKBkF9yX7kkC by [email protected] | |
0 likes, 0 repeats | |
Experiment 6: "snowmeltdown" aka lowfi sounds to show them and show … | |
Post #AuGDM3ePlNumKWRPnM by [email protected] | |
0 likes, 0 repeats | |
it's ten minutes long but it's ten really good minutes long imo | |
Post #AuNhscLGfufXv9e9j6 by [email protected] | |
0 likes, 0 repeats | |
@aeva I swear I heard this in a horror movie but I forgot which | |
Post #AuNi1XJGkoeYv5xrt2 by [email protected] | |
0 likes, 0 repeats | |
@aeva I have notes on shader reflection if you need them :3 | |
Post #AuNi5wspc8JNORhcie by [email protected] | |
0 likes, 0 repeats | |
@aeva there should be a cmake option to compile out pipewire π€ |