Project in progress
Arduino Due Bass, Lead & Drum Computer II

Arduino Due Bass, Lead & Drum Computer II © GPL3+

A 16-step sequencer for bass, lead and drum sounds. Use the general Midi sounds stored in the VS1053.

  • 1,748 views
  • 11 comments
  • 7 respects

Components and supplies

About this project

Hello, I want to show you my second version from bass,lead and drum computer on an Arduino Due with a 3.5" touchscreen display and VS1053 as sound processor.

Needed libraries:

TFT_HX8357_Due

Scheduler and SDfat libraries can install from the library manager.

Now we must configure some on the TFT libray. Edit the User-Setup.h, and change

#define HX8357B

//#define HX8357C

//#define ILI9481

//#define ILI9481_8BIT

to

//#define HX8357B

//#define HX8357C

//#define ILI9481

#define ILI9481_8BIT

and the SdFat we must change the SdFatConfig.h

#define ENABLE_SOFTWARE_SPI_CLASS 0

to

#define ENABLE_SOFTWARE_SPI_CLASS 1

Wiring

for the vs1053:

  • XCS -> 46
  • XDCS -> 48
  • DREQ -> 50
  • XRST -> 52
  • MOSI -> A.26
  • MISO -> A.25
  • SCK -> A.27
  • 5V -> 3.3V

for the rotary encoders:

  • all GNDs to GND
  • all + to 3.3 volts
  • SW from encoder1 to 23
  • CLK from encoder1 to 22
  • DT from encoder1 to 24
  • SW from encoder2 to 25
  • CLK from encoder2 to 26
  • DT from encoder2 to 28
  • SW from encoder3 to 27
  • CLK from encoder3 to 30
  • DT from encoder3 to 32

Operating

Below 0-F to select the pattern

Pattern 0-7: Drum-sounds

Pattern 8-11: Bass-sound

Pattern 12-15 Lead-Sound

CL button clear the current pattern or the compete song, but not the saved on memory card. If you want to clear it, first CL and then SV.

SV save the current pattern or the song. Resetting or power-off will not affect the data.

CP copy the current pattern. Select 0-F and then PA to paste.

After first start you have this drum set(configurable) :

  • note C - Bass
  • note C# - Snare
  • note D - HiHat
  • note D# - Closed HiHat
  • note E - Hi Tom
  • note F - Mid Tom
  • note F# - Lo Tom
  • note G - Crash
  • note G# - Cowbell
  • note A - Bongo
  • note A# - Lo Bongo
  • note B - Bell

With the rotary encoders you can control the volume of each channel. Pressing the button change to the adjustment for the reverb and another push goes to the panning.

Update and bug fix

06,28,2019

something going wrong by uploading the program. Now include the Button.cpp file and some bug fix

07,03,2019

Add beat light, code optimization and bug fix

07,06,2019

Rework the song mode

07,08,2019

add a Setup mode. Now you can configure the drum set.

07,16,2019

bass sound now also configurable and some bug fixed.

07,18,2019

add calibrate for touch screen. First start goes to it.

07,19,2019

add melodic line

add an another potentiometer to A10 for reverb in melodic line.

07,20,2019

code optimization

08,24,2019

add rotary encoders for control reverb, pan and volume

some bugs fixed

08,25,2019

sometimes no sound output fixed

08,29,2019

reverb control fixed

Code

DrumBassComputerIIArduino
DrumComputer II with rotary encoders. Reverb fixed.
No preview (download only).

Comments

Similar projects you might like

Animating an LED strip from a computer

Project showcase by kendfrey

  • 24,558 views
  • 16 comments
  • 94 respects

Minimal MIDI Drum Kit with 3D Printer

Project tutorial by ryokosaka

  • 15,115 views
  • 1 comment
  • 40 respects

Arduino Tutorial : Mini Piano

Project tutorial by the lonely programmer

  • 19,062 views
  • 3 comments
  • 30 respects

Arduino Keyboard

Project in progress by Gabriele Scordamaglia

  • 12,748 views
  • 17 comments
  • 21 respects

Electronic Piano Keyboard With Preset Songs

Project tutorial by Lindsay Fox

  • 90,379 views
  • 68 comments
  • 181 respects
Add projectSign up / Login