How ciylab/big_io works
BIG_IO is embedded firmware for a multi-function MIDI/CV/GATE instrument. The user configures and selects modules, then the firmware runs them against clock ticks and MIDI events to produce MIDI, CV, and gate output. Its documented module types span Euclidean drums, looping/recording, short sequences, random pitches, and simple sequencing; preset load/save and clock control are additional capabilities. The graph preserves these distinct stages. Several dispatch and hardware details are inferred from module names or imports rather than shown in excerpts, so those links are marked unverified.
Main entry points: Modules.cpp Module registry · Module.cpp Module base · Main.h Main page · Drum.cpp Euclidean drums
Components 19
User interface
- Main page
src/Main.h - Config page
src/Conf.h - Play page
src/Play.h - Display
src/Display.cpp - Encoder input
src/encoder.cpp
Runtime and modules
- Firmware loop
BIG_IO.ino - Module registry
src/Modules.cpp - Module base
src/Module.cpp - Euclidean drums
src/modules/Drum.cpp - Looper recorder
src/modules/Looper.cpp - Mini sequencer
src/modules/Miniseq.cpp - Random generator
src/modules/Random.cpp - Simple sequencer
src/modules/Simple.cpp
Clock and MIDI
- Clock and time
src/Time.cpp - MIDI handlers
src/midi.cpp
Preset storage
- Preset storage
src/eeprom.cpp
Signal outputs
- CV DAC
src/dac.cpp - Gate output
src/gate.cpp
Other components
- Instrument user
Connections 21
- Instrument user → Main page: operates
- Main page → Preset storage: loads and saves
src/Main.h - Module registry → Euclidean drums: instantiates
- Module registry → Looper recorder: instantiates
- Module registry → Mini sequencer: instantiates
- Module registry → Random generator: instantiates
- Module registry → Simple sequencer: instantiates
- Euclidean drums → Module base: uses playback methods
src/modules/Drum.cpp - Looper recorder → Module base: uses playback methods
src/modules/Looper.cpp - Mini sequencer → Module base: uses playback methods
- Random generator → Module base: uses playback methods
src/modules/Random.cpp - Simple sequencer → Module base: uses playback methods
- Euclidean drums → Clock and time: reads ticks
- Looper recorder → Clock and time: reads ticks
src/modules/Looper.cpp - Random generator → Clock and time: reads ticks
src/modules/Random.cpp - Main page → Display: shows status
- Encoder input → Module registry: changes selection
- Firmware loop → Module registry: runs modules
- MIDI handlers → Module registry: dispatches events
- Module base → CV DAC: writes CV
- Module base → Gate output: controls gates