Code Your Own Synth Plug-ins With C And Juce Apr 2026

But a sine wave was too polite. Leo wanted something that snarled. He dove back into the C++ code, implementing a algorithm.

float sample = std::sin(currentPhase); currentPhase += phaseIncrement; Use code with caution. Copied to clipboard Code Your Own Synth Plug-Ins With C and JUCE

At 3:00 AM, something strange happened. While messing with the feedback loop of his delay effect, Leo accidentally multiplied a variable by a value that was slightly too high. But a sine wave was too polite