A stable C ABI
ratpipe_abi.h — the contract between your pipe and RatMode. Plain C, so any language that can export one C symbol can implement a pipe.
Developer Preview
The RatPipe SDK lets you build real instruments that run inside RatMode — the same kind of thing Kick, Sample, Synth Mono and Synth Poly are built from. It's public, MIT-licensed, and free to build and test with today.
Developer preview since RatMode 0.1.9. You can build and play your own extension pipes in your own copy of RatMode today. There is no third-party distribution yet — you can't ship your pipe to other users yet.
What's inside
ratpipe_abi.h — the contract between your pipe and RatMode. Plain C, so any language that can export one C symbol can implement a pipe.
Header-only. Band-limited oscillators, a tanh-family saturation family, filters, envelopes, LFOs and a delay — clean-room, ready to build on.
"ratpipe validate" checks real-time safety, bounded output, denormals and NaNs, and parameter round-trips before your pipe ever runs inside RatMode.
"ratpipe new / validate / render / package" plus a CMake function that produces a universal .ratpipe bundle.
An FM kick drum and a mono FM bass with a wobble macro, plus a project template to start from.
Wire up validation in CI, or let an agent loop on "ratpipe validate" while it builds a pipe with you.
Requirements
Windows isn't supported yet. The ABI itself is platform-neutral, and Windows support is planned for later.
Your first pipe
This is the short version. The real quickstart — the one that won't go stale — lives in the SDK repo's README.
How extensions are kept safe
RatMode only loads extensions signed by DIVURJ. Everyday users never see unsigned code.
An opt-in toggle for people building their own pipes. Every unsigned pipe needs explicit per-pipe consent and is badged Unverified. It is not a distribution path.
Extensions are checked against a binary allowlist at load, their output is sanitised inside the app, and a signed revocation list lets DIVURJ remotely stop a bad extension from loading.
Planned — curated catalogue
There's no third-party distribution yet. The plan is a curated catalogue: developers submit pipe source as a pull request, DIVURJ reviews it, and accepted pipes are built, signed and notarised by CI before shipping to users through the RatMode extensions bundle. Submission terms aren't decided yet.
FAQ
Not yet — a curated catalogue is planned. In the meantime you can share your pipe's source; anyone with the SDK can build it themselves in Developer mode.
It's meant for developers running their own code. Extensions run inside RatMode with the same access as RatMode itself — only Allow code you built or trust.
The ABI is versioned, and within a major version changes are additive only.
The ABI is plain C. The SDK's base class and DSP kit are C++17, but anything that can export one C symbol can implement a pipe.
The SDK is free and MIT-licensed. Building and validating with the offline host needs no licence at all. Running extensions in RatMode slots uses CONFIGURE, which is part of the paid extensions bundle.
Clone the repo, read the README, and run "ratpipe validate" on your first pipe.