Record, loop and erase scenes on the pads
Generated from the CrossPad app template.
| 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) |
# 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.
- Rewrite
Sequencer_create()— it is a plain LVGL widget tree. - Rewrite
SequencerPadLogic—onPadPressis the pad callback. - Keep the split: pad callbacks run on the pad thread and must not touch LVGL. Record what happened, let the LVGL timer draw it.
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.
GPL-3.0-or-later — see LICENSE.