https://github.com/anandchowdhary/drumpad
Ardunio-based music generator
https://github.com/anandchowdhary/drumpad
arduino music processing
Last synced: about 1 month ago
JSON representation
Ardunio-based music generator
- Host: GitHub
- URL: https://github.com/anandchowdhary/drumpad
- Owner: AnandChowdhary
- License: mit
- Created: 2018-01-26T13:09:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T20:53:54.000Z (about 7 years ago)
- Last Synced: 2025-10-14T18:58:12.957Z (8 months ago)
- Topics: arduino, music, processing
- Language: Processing
- Size: 17.8 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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 Recordings* screen

### Real-life shot

## 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
- [Kawai R50 drumkit](https://sampleswap.org/filebrowser-new.php?d=DRUMS+%28FULL+KITS%29%2Fkawai+R50+drumkit%2F) from SampleSwap (Public Domain)
- [Casio 1000P synthesizer pack](https://freesound.org/people/acollier123/packs/17687/) by Auto-Pilot from Freesound (CC BY 3.0)
- Samples from the [Music Technology Group](https://www.upf.edu/recercaupf/en/grups/gr-mtg.html), [Department of Information and Communications Technologies](https://www.upf.edu/recercaupf/en/departaments/dtecn.html), [Universitat Pompeu Fabra, Barcelona](https://www.upf.edu/en/) (CC BY 3.0)
### Libraries
- [CapacitiveSense.h](https://github.com/PaulStoffregen/CapacitiveSensor) by Paul Bagder (2009), updated by Paul Stoffregen (2010–2016) (MIT License)
- Libraries part of the Processing project (LGPL License)
- [PSerial](https://github.com/processing/processing/tree/master/java/libraries/serial) – class for serial port goodness
- [Processing Sound](https://github.com/processing/processing-sound) by Wilm Thoben
## How it works
### 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