Analog Electronics Lab Reports
Digital Electronics Final Project (!!!)
Explanation Overview: My final project is an 8-Step, 4-Channel Drum Sequencer that incorporates NeoPixels, and a potentiometer that sends CC messages to a DAW. In the video below, I chose to use Ableton to demo my project. There are three major components to this code which I will break down in the sections below. Drum…
Digital Electronics Lab #11
Arduino Code: #include “Button.h” Button buttonOne(33, 60); Button buttonTwo(34, 62); Button buttonThree(35, 64); Button buttonFour(36, 65); void setup() { Serial.begin(9600); buttonOne.pressHandler(onPress); buttonOne.releaseHandler(onRelease); buttonTwo.pressHandler(onPress); buttonTwo.releaseHandler(onRelease); buttonThree.pressHandler(onPress); buttonThree.releaseHandler(onRelease); buttonFour.pressHandler(onPress); buttonFour.releaseHandler(onRelease); } void loop() { buttonOne.process(); buttonTwo.process(); buttonThree.process(); buttonFour.process(); } void onPress(int buttonNumber) { Serial.print(buttonNumber); usbMIDI.sendNoteOn(buttonNumber,127,1); Serial.println(” pressed”); } void onRelease(int buttonNumber) { Serial.print(buttonNumber);…
Follow My Blog
Get new content delivered directly to your inbox.