Re:Opus Databending Drumkit
by starkparker on Tuesday August 01, 2023 @01:31PM
(#36959338)
Some missing context: the instruments are generated by Opus codec glitches. https://cybre.space/@SuricrasiaOnline/106633181764596703, https://lethargic.talkative.fish/@suricrasia/statuses/01H6NA...
[ Parent
| on HN ]
Ahhh, thank you! I was wondering what the seed corresponded to.
Pretty neat little thing! I was just trying to figure out if they were using some novel system to categorize procedural synths as "good", because that seems pretty useful! Still a neat little thing, though!
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
Re:Opus Databending Drumkit
by justsomehnguy on Tuesday August 01, 2023 @03:28PM
(#36961297)
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.
Re:Opus Databending Drumkit
by TazeTSchnitzel on Tuesday August 01, 2023 @04:52PM
(#36962691)
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.
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
(Opus author here) I'm curious what kind of "glitch" this is referring to.
author here: they are randomly generated packets, extended using the packet loss concealment feature. you can fill a packet with random data and it will still decompress into a sensible sound, and that's where all the sounds in the drum machine come from