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,002 views
  • 2 comments
  • 6 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 -> 5V

for the potentiometers:

  • one of the the outer pins of the potentiometers to gnd
  • the other outer pins of the potentiometers to 3.3 volts
  • the middle pin from potentiometer one to A8 (reverb drums)
  • the middle pin from potentiometer two to A9 (reverb bass)
  • the middle pin from potentiometer three to A10 (reverb lead)

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

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 two Potentiometer on A8 and A9 to control the reverb for drum and bass. The first goes to ground from one of the outer pins of the potentiometer. The second goes from 3.3 volts to the other outer pin of the potentiometer.The third goes from analog input 8 to the middle pin of the potentiometer. The same for the other, but analog input is 9.( https://www.arduino.cc/en/tutorial/potentiometer). Don't use 5 volts, because the DUE is not 5 volts tolerant.

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

Code

Bass&DrumComputerII

Comments

Similar projects you might like

Onboard computer for bicycle

Project in progress by Pararera

  • 3,927 views
  • 16 comments
  • 18 respects

Creating a Datalogger with Arduino - Part II

Project in progress by Silícios Lab and PCBWay

  • 2,734 views
  • 0 comments
  • 10 respects

Animating an LED strip from a computer

Project showcase by kendfrey

  • 21,163 views
  • 16 comments
  • 87 respects

Amazing Control Computer Using Hand Motion And Arduino

Project tutorial by Smart Technology

  • 7,621 views
  • 15 comments
  • 14 respects

Car Console Computer

Project showcase by Bie

  • 2,507 views
  • 0 comments
  • 3 respects

Octoblu + PowerSwitch Tail II

Project tutorial by Andrew Steinheiser

  • 1,300 views
  • 0 comments
  • 3 respects
Add projectSign up / Login