Righteous: Build a JUCE Plugin Without Writing C++
Share
Most plugin tutorials start with the same wall: the boilerplate.
You want to hear a saturator. Before you hear anything, you need a project, a build system, a plugin wrapper and an interface. The setup can get in the way of the first sound.
Righteous removes that wall without hiding what is behind it. Pick DSP blocks in your browser, look at the chain and download the C++ that produces it. You do not need to write C++ to generate your first project, but you can read and change every part of it.
What is Righteous?

Righteous is a free JUCE plugin builder that runs in your browser. It generates a MIDI instrument project from a chain of DSP blocks, giving you source code rather than a black box.
No account. No email. No trial. To compile the downloaded project, you will need JUCE and CMake installed on your computer.
What the DSP chain does
Nine blocks work in series. An oscillator generates the sound, and an envelope shapes it. A saturator colours it. A Mid/Side matrix adjusts its stereo width. Granular, chorus, pan, delay and gain complete the chain.
The order matters. Change the order and the sound can change, because saturation processes individual channels while Mid/Side processing works with the relationship between them.
The nine blocks

Oscillator
A sine oscillator with eight voices. The instrument responds to MIDI notes: no keys held, no sound.
Envelope
An ADSR that opens while a note is held and closes when it is let go. Attack and decay are linear, and the release is a one-pole, so the tail never cuts. It is a block of its own, so it can sit anywhere in the chain.

Saturation
A biased tanh waveshaper introduces asymmetric saturation and even harmonics. It is a compact example of how a nonlinear function changes a waveform.
Mid/Side
A matrix controls what stays in the middle and what opens to the sides. At unity, it is transparent, so you hear what you change.
Pan
Constant-power panning uses approximately −3 dB per channel at the centre position to balance the signal as it moves across the stereo field.
Granular
Four overlapping grains read from a circular buffer, each shaped by a Hann window. Position sets where the read head sits, grain sets its length, spray scatters it, and mix blends the cloud with the dry signal.
Chorus
A short delay whose time moves with a slow sine. One LFO drives both channels, with the right one a quarter cycle late, so the copy moves across the field instead of only detuning.
Delay
A circular buffer with feedback creates repeating echoes. Adjust the time parameter while a note decays to explore how the delay responds.
Gain
Linear gain with a ramp smooths level changes instead of allowing abrupt jumps that can produce clicks.
The palette has eleven blocks. Additive synthesis and noise are not in the default chain, and you can drop either one in.
The sample-processing functions are deliberately small. You can follow what happens to the signal without digging through an entire plugin framework first.
Eight sounds to start from
The plugin ships with eight factory presets, and they are exposed the way a host expects: they appear in the DAW's own preset menu, not only in the plugin window.
Init is the clean chain. Pluck Lead shortens the envelope to two milliseconds of attack and adds short echo. Wide Pad opens the attack to 400 ms and pushes Sides to 1.6. Sub Bass transposes down an octave and removes the chorus. Granular Cloud uses 120 ms grains with 120 of spray. Dirty drives saturation into the input. Dub Delay sets 380 ms of echo with 0.75 feedback. Chorus Keys leans on the chorus and keeps the delay quiet.
Every preset resets the whole chain to its defaults before applying its own values. Two presets can never leave a parameter in a state the other one did not intend, and a preset never touches a block you removed from the chain.
Chromatic steps and scales
The oscillator's pitch control moves in semitones, from −24 to +24, so it behaves like a transpose control and not like a free frequency knob. The base pitch is computed once per block, and each note multiplies it by its own ratio.
The on-screen keyboard can tint the keys of any of twenty-one scales across twelve roots: the seven modes, harmonic and melodic minor, both pentatonics, blues, whole tone, both diminished scales, augmented, Phrygian and Lydian dominant, Hungarian minor and Hirajoshi. It tints the keys, it does not correct the note you play.

The plugin Righteous generates, open in Reaper. Every control on that window corresponds to a parameter declared in the generated C++.
See it in action
A short demo, recorded in Reaper: the chain, the keyboard and the eight factory presets switching under the same note.
What you actually download
The download contains the C++ source files and a CMakeLists.txt for the generated project. The included README walks you through the build commands for macOS and Windows.
The project targets VST3 and a standalone application, plus Audio Units on macOS. Follow the build and installation instructions, then open the instrument in your DAW.
The code is commented in plain English. It explains decisions such as why an oscillator phase wraps by subtracting one cycle and why a gain ramp exists. Those comments are there to help you understand and modify the result.
The numbers, not just the promise
We tested the blocks against predicted values before trusting them. For example, a 250 ms delay at 48 kHz should place the echo 12,000 samples later.
For the saturator, a test input of 0.25 with a bias of 0.35 gives the expression tanh(0.25 + 0.35) − tanh(0.35). Comparing the measured output with the expected result makes the behaviour easier to verify.
That process caught two bugs before release: one block produced a sawtooth instead of a square wave, and another processed only the left channel.
The interface is yours to change
The generated plugin includes a window with rotaries or horizontal sliders, arranged one row per block, and a playable keyboard.
It is a starting point, not a locked design. Read the interface code, change the layout and make the instrument your own.
What Righteous does not do
It does not replace learning C++. When something sounds wrong, the source code is where you can investigate it.
It does not process an existing audio track as an effect yet. The generated chain is an instrument and needs MIDI notes.
It also does not compile the plugin in your browser. Righteous generates the project; you build it locally with JUCE and CMake.
Why we built it
The gap between wanting to build a plugin and hearing one can be full of setup work. That is where many people stop.
Righteous gives you a shorter route to the first sound, without hiding the code that makes it happen.
Build your first chain with Righteous →
Frequently asked questions
Do I need JUCE installed?
Yes. Righteous generates the code, not the toolchain. You need JUCE 8 and CMake 3.22 or newer. The download includes a README with the build commands for macOS and Windows.
Which plugin formats does it produce?
The project targets VST3 and a standalone executable, with Audio Units available on macOS.
Do I need to write code to get started?
You can arrange the blocks and generate a project without writing C++. Compiling the project requires local setup, and understanding C++ will help you customise or troubleshoot the result.
What should I check before a commercial release?
Review the licensing terms for JUCE and any other dependencies before distributing your plugin commercially.
Is Righteous free?
Yes. No account, no email and no trial period.





