0x502 -- Experiments with OpenGL Shaders for Audio Synthesis in Rack

Hey everyone! I just had this idea the other day–what if we can use glsl shaders to manipulate audio/cv signals instead of geometries? I was able to do some proof-of-concept experiments & put together a a very early rough draft of modules that interface with Rack’s OpenGL context and use shaders to process the inputs. Here’s the Github repo if you’d like to check it out! I’ve included a few demo shaders, but you can write your custom shaders as well and upload them to the shader manager module. The documentation is available in the repo as well, but feel free to reach out if anything’s unclear, or if you run into any issues. This is still in the very early stage of development, and it’s my first time writing plugins for Rack, so I’d really appreciate any feedbacks/suggestions!

Also: if you’ve worked with OpenGL before, you might’ve recognized the brand name 0x502–code for GL_INVALID_ERROR (a.k.a. the most ubiquitous & ambiguous gl error and is always a pain to debug)

7 Likes

Very cool idea and great effort.