Filters
Sweep a sawtooth from bright to dull with a one-pole low-pass in 8.8 fixed point, its cutoff on a knob, and measure what it takes away.
Open it in the simulatorFrom a phase accumulator to a four-voice MIDI synth: wavetables, ADSR, a fixed-point filter and effects on an Uno.
0 of 7 done
7 lessons in 3 chapters, about 7 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.
Sweep a sawtooth from bright to dull with a one-pole low-pass in 8.8 fixed point, its cutoff on a knob, and measure what it takes away.
Open it in the simulatorRead the wire between the two boards: status and data bytes at 31250 baud, note on, note off, velocity and channel, shown in hex as they arrive.
Open it in the simulatorPlay it: load a pluck, play a chord across voices, sweep the filter by hand, and share a patch of your own.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
An oscillator, an envelope and a filter: everything one note needs.
Make a pitch from a counter and a table: a 16-bit phase accumulator stepped 15,625 times a second, four wavetables, and PWM to turn numbers into a voltage.
0 of 6 steps
Shape every note with ADSR: attack, decay, sustain and release, a state machine stepped 977 times a second inside the audio interrupt.
0 of 5 steps
Sweep a sawtooth from bright to dull with a one-pole low-pass in 8.8 fixed point, its cutoff on a knob, and measure what it takes away.
0 of 4 steps
Four voices at once, and the MIDI that tells them what to play.
Play chords with four voices: each new note takes a free voice, a fifth steals the oldest, and the interrupt's share of the CPU is measured.
0 of 5 steps
Read the wire between the two boards: status and data bytes at 31250 baud, note on, note off, velocity and channel, shown in hex as they arrive.
0 of 4 steps
Effects and presets, then an instrument of your own.
Add vibrato with a 5.5 Hz LFO on every voice's pitch, crush the bits to hear quantization, and load presets that set the whole patch.
0 of 4 steps
Play it: load a pluck, play a chord across voices, sweep the filter by hand, and share a patch of your own.
0 of 4 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Build a synthesizer is part of the maker track, a ladder of courses from zero to expert.
Your own preemptive kernel on the Uno: task control blocks and hand-built stacks, a context switch in inline assembly, a Timer1 tick, preemption, sleep and semaphores, syscalls, and stack canaries under three tasks at once.
Open the next courseFollow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.
See every course on the trackEvery lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 7 lessons of Build a synthesizer are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 7 hours: 7 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Filters, MIDI in and Project: a playable synth.
With "Oscillators", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.