Capstone: Modular Music Synthesizer
My final-year capstone, built for an industry partner: a stand-alone synthesizer and sampler with MIDI pads, rotary encoders, distance-sensor gesture controls and a touch screen. I led the four-person team and was the lead hardware architect, from the block diagram to the main PCB and the enclosure.
- Role
- Project lead, hardware lead
- Team
- Four students
- Processors
- Teensy 3.6, ATmega32U4, Raspberry Pi 4
- Tools
- KiCad, SolidWorks, GitLab
The problem
The partner wanted a compact, hands-on instrument for exploring and manipulating sounds: trigger samples from pads, loop them, bend pitch and volume with knobs and hand gestures, and later play alongside a machine-learning model that generates music in response. Our job for the capstone was the hardware platform: a working, self-contained prototype the software could be built on.
Architecture
I drew the block diagram and owned the BOM and the pin map. Real-time input handling and audio processing have very different needs, so the work is split across three processors:
- Teensy 3.6 (Arm Cortex-M4, 180 MHz) as the I/O master. It reads four 20-pulse-per-revolution encoders, potentiometers on its 10-bit ADC, and two LiDAR rangefinders on I²C whose hand-distance readings are normalised and mapped to pitch and mute.
- ATmega32U4 local controllers. Each 4 × 4 button board has its own MCU that scans the matrix row by row and drives a daisy-chained string of addressable LEDs from a single GPIO, then reports button events to the Teensy over UART, which keeps the main MCU's pin count and timing budget free.
- Raspberry Pi 4 for audio. It handles sample playback and looping through a USB audio interface. I wrote the C UART protocol between the Teensy and the Pi, and a 16-step sequencer in Pure Data.
Main interface PCB
Once the breadboard prototypes were proven I designed the main interface board in KiCad: it carries the Teensy and breaks out every interface to labelled, keyed headers (both rangefinders, the encoders and potentiometers, the touch screen on SPI, both pad-board UARTs and the Raspberry Pi UART), with a logic-level converter for the 5 V parts and a USB debug port. It replaced a nest of jumper wires with something robust enough to demo, and it worked first time.
Enclosure
I owned the mechanical design. Every part was modelled in SolidWorks and placed in one global assembly so the enclosure could be designed in context: six acrylic panels with press-fit cut-outs for the buttons, pads, screen and sensors, mounting for all three PCBs, corner brackets and fasteners. Each panel was exported as a 1:1 drawing for the laser cutter, and the assembly went through two revisions after reviews with the product owner.
Running the project
We worked in agile sprints with a product owner from the partner company: GitLab issues and a wiki for tasks and technical documentation, Slack for day-to-day communication, GrabCAD for sharing CAD, and burndown charts and sprint reports at each review. When the team moved to remote work mid-term, I split the CAD model into parts that each member could build against shared dimensions, then integrated them in the assembly.
By the numbers
- 3processors: real-time I/O, local button scanning and audio
- 1st spinmain interface PCB worked without a respin
- 6laser-cut acrylic panels, two assembly revisions
- 16steps in the Pure Data sequencer



