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.
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
and the SdFat we must change the SdFatConfig.h
#define ENABLE_SOFTWARE_SPI_CLASS 0
#define ENABLE_SOFTWARE_SPI_CLASS 1
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)
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
something going wrong by uploading the program. Now include the Button.cpp file and some bug fix
Add beat light, code optimization and bug fix
Rework the song mode
add a Setup mode. Now you can configure the drum set.
bass sound now also configurable and some bug fixed.
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.
add melodic line
add an another potentiometer to A10 for reverb in melodic line.