OpenGP5

Open firmware for the Valeton GP-5 guitar pedal, written from scratch. Play NAM captures, build ambient textures, or write your own effect in C.

NAM LoaderDreamcatcherTremolo

An effect is a few lines of C

This is the whole sound of the tremolo, the example firmware. The platform handles the rest: both processors, USB, the screen, the knobs and foot switch, saving settings and presets, and an editor for them on your computer.

Your first effect builds it step by step.

static void fw_process(const int32_t *in,
                       int32_t *out_left, int32_t *out_right)
{
    for (uint32_t i = 0; i < GP5_BLOCK; i++) {
        float wave = 0.5f + 0.5f * sinf(2.0f * GP5_PI * phase);
        float gain = 1.0f - depth * wave;
        phase += step;
        if (phase >= 1.0f) phase -= 1.0f;
        out_left[i] = out_right[i] = (int32_t)((float)in[i] * gain);
    }
}

OpenGP5 is in alpha. It has run on several GP-5s with no problem reported, and a bad flash can almost always be undone over USB. Before you flash explains the rare exception.

Not affiliated with or endorsed by Valeton. "Valeton" and "GP-5" are Valeton's trademarks, used only to say which pedal this runs on. MIT licence.