I still don't get it. What's an Opus codec glitch? I know roughly how things like jpg, flac, and mp3 work, and worked with Opus via ffmpeg/opusenc, but what makes some sounds a glitch? Can you only hear this when playing the data with certain decoders or so? The page and the posts don't say
On the projects page (https://suricrasia.online/projects/) it says "Make glitchy beats with randomly generated Opus protocol packets." So I guess it's random data fed into the opus decoder.
author here: this is correct. the opus protocol is so efficient, you can fill a packet with random data and it will still decompress into a sensible sound. this is where all the sounds come from
This might be glitching in the sense of “glitch art”, where you deliberately corrupt a compressed file in small ways (flip a few bits here and there, for example) that propagate in interesting ways when decompressed.
Comments
I still don't get it. What's an Opus codec glitch? I know roughly how things like jpg, flac, and mp3 work, and worked with Opus via ffmpeg/opusenc, but what makes some sounds a glitch? Can you only hear this when playing the data with certain decoders or so? The page and the posts don't say
On the projects page (https://suricrasia.online/projects/) it says "Make glitchy beats with randomly generated Opus protocol packets." So I guess it's random data fed into the opus decoder.
author here: this is correct. the opus protocol is so efficient, you can fill a packet with random data and it will still decompress into a sensible sound. this is where all the sounds come from
I've thought about doing something similar for google's voice compression lyra https://github.com/google/lyra
That... how is that a glitch? That's it functioning as designed
My guess would be it's when you chose the codec parameters such the output gets some weird artefacts not present in the original source.
This might be glitching in the sense of “glitch art”, where you deliberately corrupt a compressed file in small ways (flip a few bits here and there, for example) that propagate in interesting ways when decompressed.