Idea
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.
Parts list
- Development Boards
- Audio
- SBC Accessories
- Switches
- Optoelectronics
- Sensors
- Displays
- Prototyping
How to build it
- Load WAV samples from the SD card
- Lay out 16 step buttons with an LED each
- Store patterns per instrument
- Mix samples with an audio library
- Add swing and tempo control
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.
