Projects / Ideas / Drum machine with real samples

Drum machine with real samples

AdvancedAudio & MusicIdeaReviewed
In short

How do you build a drum machine with real samples?

A Teensy plays kick, snare and hat samples from SD in a 16-step pattern you program with buttons and LEDs. You need Teensy 4.1, PCM5102 I2S DAC module, SanDisk microSD card 32 GB (A1, Class 10), Tactile push button 6 mm × 16, WS2812B addressable RGB LED strip (1 m, 60 LEDs), Rotary encoder module (KY-040), SSD1306 OLED Display and Perfboard (dot PCB) 7 × 9 cm.

Level
Advanced
Time
About 360 min
Parts
8
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Mix several audio samples in real time.

How to build it

  1. Load WAV samples from the SD card
  2. Lay out 16 step buttons with an LED each
  3. Store patterns per instrument
  4. Mix samples with an audio library
  5. Add swing and tempo control

Related projects

Common questions

What parts do I need for the drum machine with real samples?

Teensy 4.1, PCM5102 I2S DAC module, SanDisk microSD card 32 GB (A1, Class 10), Tactile push button 6 mm × 16, WS2812B addressable RGB LED strip (1 m, 60 LEDs), Rotary encoder module (KY-040), SSD1306 OLED Display and Perfboard (dot PCB) 7 × 9 cm. WS2812B addressable RGB LED strip (1 m, 60 LEDs): Cut 16 LEDs.

How long does the drum machine with real samples take to build?

About 360 minutes for a advanced maker.