Features of the Arduino sequencer: -16 steps controlled by 4 buttons and a shift button to switch between 1-4, 5-8, 9-12, and 13-16 (8 LEDs for 1-8 and 9-16, flash when that step is being played) -1 potentiometer for BPM control (30 - 260) -1 button to cycle through kit instrument (Arduino-side change), 1 button to cycle through kits (Max-side change) -Changing instrument will reflect the steps with active events for that instrument on the LEDs -Arduino side, a double array contains binary info about which step is active for which instrument in the kit and relays this to Max through Serialprint() -The start stop button will pause and play, resuming from where it was left off. If held for x number of cycles, it will reset the sequencer to step 1. -Add an instrument which is a "roller", turns the 4 step buttons into roller buttons that repeat the current step twice as fast, the current step, the current 2 steps, or 4 steps. This is implemented with other counters which get selected as the step counter when the button is pressed. The main counter continues ticking so that play can resume from the proper step after. -Holding the instrument toggle will change the sound of the current instrument for Kicks, snares, Toms, and cymbals Message and array index key: (* indicates that this is also that instrument's index in the instrument list) 0* = kick (all instrument messages contain the instrument code followed by 16 binary digits coding for the steps) 1* = snare 2* = clap 3* = closed hh 4* = open hh 5* = mid toms 6* = cymbal 7* = cowbell 8* = roller (the number is the roller value, with 0 being normal and 1-4 coding for the aforementioned modes) 9 = pause play reset (0 is pause, 1 is play, and 2 is reset) a = kit change (this message sends a single int message to max to cycle to the next kit in the list) b = tempo change (contains the metronome time in milliseconds to switch to) i = information change 18 pins = 8 buttons (4 steps, 1 shift, 1 instrument toggle, 1 kit toggle, 1 start stop reset) (digital in), 1 pot (analogue in), 8 LEDs (digital out)