AnandChowdhary/drumpad

Drumpad is an Ardunio-based music generator built for my Programming and Physical Computing project, Module 2 (Smart Environments) of Creative Technology BSc at the University of Twente.

Demo video: https://photos.app.goo.gl/tPB6ctdRPL0f0L7h2

Screenshots

Your Band screen

Your Band screen on Drumpad

Your Recordings screen

Your Recordings screen on Drumpad

Real-life shot

Arduino image

Toolkit

Materials

  • Arduino Uno
  • 4 × 1MΩ resistors for capacitive sensors
  • 4 × 330Ω resistors for LEDs
  • 4 × conductive input surfaces
  • 4 × LEDs for output
  • 2 × potentiometers

Sounds

Libraries

  • CapacitiveSense.h by Paul Bagder (2009), updated by Paul Stoffregen (2010–2016) (MIT License)
  • Libraries part of the Processing project (LGPL License)

How it works

Fritzing structure

Fritzing structure

Directory Structure

.
├── arduino
│   ├── CapacitiveSensor.h
│   └── drumpad.ino
└── processing
    ├── drumpad.pde
    ├── data
    ├── exports
    └── samples
	    └── instrument_name
		    └── 0.wav … n.wav

Instruments

Drumpad automatially fetches instruments from the processing/drumpad/samples folder. Each instrument should have a corresponsing folder with WAV files from 0 to n, based on the number of input capacitive sensors. This means that it’s completely agnostic to the instruments, users have the ability to add or remove instruments from their collection.

Recording

Users can press the “Record” button to start recording their music. On completion, a data file with the extension .drumpad is created in the processing/drumpad/exports folder. When a user goes to the “Import” screen, they see a lit of their recordings, which then can be played.

License

MIT; see LICENSE.md