Skip to content

About

Pattern sequencer - record, loop, erase and bounce scenes

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Sequencer

Record, loop and erase scenes on the pads

Generated from the CrossPad app template.

What is in here

Path Purpose
src/SequencerApp.cpp The loop recorder: tempo (blue and locked while a host's MIDI clock drives it), bars, grid, the soft keys shared with an Arrange track (ARR, EDIT into the Sampler or Pitch Play, x2, /2, BOUNCE, held ERASE, CLEAR twice), scenes with the count-in in their window, transport, and BOUNCE to the song; REGISTER_APP (no pad logic — the pads stay the Sampler's)
CMakeLists.txt ESP-IDF component; the PC simulator globs src/ itself
crosspad-app.json Registry metadata (name, id, platforms, requirements)

Install into a project

# ESP-IDF
idf.py app-install --app sequencer --origin <this repo URL>
idf.py fullclean && idf.py build

# PC simulator
python3 scripts/app_manager.py install sequencer --origin <this repo URL>

New app directories are only discovered at configure time, so the clean build is required once after installing.

Making it yours

  1. Rewrite Sequencer_create() — it is a plain LVGL widget tree.
  2. Rewrite SequencerPadLogic — onPadPress is the pad callback.
  3. Keep the split: pad callbacks run on the pad thread and must not touch LVGL. Record what happened, let the LVGL timer draw it.

Publishing

To list it in the public registry, add the repo to external-apps.json in CrossPad/crosspad-apps and give the repo the crosspad-app topic. A private repo works fine without that — it just stays yours.

License

GPL-3.0-or-later — see LICENSE.

About

Pattern sequencer - record, loop, erase and bounce scenes

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages