Hacker News new | ask | show | jobs
by makapuf 1645 days ago
I tried passing stereo wavs in 2 x 16bits (4bytes) as rgba for qoi but I haven't been very successful.
1 comments

That's not surprising. QOI is heavily optimized for images which tend to be relatively continuous, while audio tends to oscillate a ton.
It might work to fourier transform first (although likely will kill performance)
fixed size FFT (eg length 64) can be made scary fast.