MATRIXSYNTH: Testing Basic Preset Function Implementation Arduino 8x8 Drum Sequencer


Friday, March 03, 2023

Testing Basic Preset Function Implementation Arduino 8x8 Drum Sequencer


video upload by Unrelated Activities

"Now using the Arduino Nano EEPROM (1024 bytes) to store some preset patterns. Each pattern size is 64 bytes, so there is room for 16 presets. The presets were written to eeprom before uploading this sketch, for now we just read and load them to the steps[][] array. 8x8 sequencer, very basic in its features. The interface is composed of two rotary encoders with switch, and a 128x64 I2C OLED display. The display presents an eight rows x eight columns grid, rows are steps, columns are tracks. Encoders are used to navigate through the grid coordinates, The X encoder switch selects Cursor or Write mode, in Cursor mode an'x' is shown on the grid and a 0 is written in the selected slot in a bi-dimensional array, in Write mode a filled square is drawn on the grid and a 1 is written in the selected slot in the array. The encoder Y switch has three modes: Edit, Tempo, and Play. In Edit mode the sequencer pattern can be created, in Tempo mode the Y encoder sets the sequencer BPM (Beats Per Minute), in Play it plays the pattern. The right side of the display shows the BPM and the current mode, the left side shows a rectangle indicating which step is being played. Each track fires a gate using eight Arduino pins (0 - 4.7V) and also sends MIDI notes through TX pin (channel 10, GM drum notes 35, 38, 42, 46, 45, 50, 64, 76). It works, but the display is too small for my eyes... Code is in a pinned comment."

No comments:

Post a Comment

To reduce spam, comments for posts older than one week are not displayed until approved, usually same day. Do not insult people. For items for sale, do not ask if it is still available. Check the auction link and search for the item. Auctions are from various sellers and expire over time. Posts remain for the pics and historical purposes. This site is meant to be a daily snapshot of some of what was out there in the world of synths.

PREVIOUS PAGE NEXT PAGE HOME


Patch n Tweak
Switched On Make Synthesizer Evolution Vintage Synthesizers Creating Sound Fundlementals of Synthesizer Programming Kraftwerk

© Matrixsynth - All posts are presented here for informative, historical and educative purposes as applicable within fair use.
MATRIXSYNTH is supported by affiliate links that use cookies to track clickthroughs and sales. See the privacy policy for details.
MATRIXSYNTH - EVERYTHING SYNTH