PASCAL synth
PASCAL is a synthesizer I am building around a Raspberry Pi Pico 2, on three breadboards joined along their long sides into one square. On the back board sit the Pico, an SSD1306 OLED screen lying flat and two pots; the middle one holds a PCM5102 DAC that takes the sound out over I2S to a speaker; along the front run twelve push buttons, an octave from C4, with three small buttons and a rotary encoder for the menus to their right. MIDI comes in over USB.
The firmware starts from VIJA, an open-source polyphonic synth for the Pico built on a port of Mutable Instruments’ Braids: 48 oscillator models, from plain saws and folded sines to FM, plucked strings, bells and drums, with audio on one core and the screen, pots and encoder on the other. That split is why it replaced my first attempt in CircuitPython, where every redraw of the screen stalled the sound.
Before changing anything I wrote a complete reference to VIJA as it stands (the audio engine, every oscillator, the menus, MIDI, the arpeggiator, the modulation modes, the pins, with a map from each part to its lines of code), noting what has to change for this board.