Skip to content

instruments tags

Aisjam edited this page Nov 15, 2026 · 1 revision

Instrument and lane tags

Home · Section index

Working manual · 0.0.1-alpha · source snapshot 16 November 2026

INST and POOL use the same three-column picker. In INST, press Right on the name row to focus TAG, then A. In POOL, select the TAG column and press A.

COLOUR RHYTHM TONAL
Core KICK SUB
Core Secondary SNARE BASS
Signal HAT CHORD
Signal Secondary CLAP STAB
Pulse PERC LEAD
Pulse Secondary KIT PAD
Flash 1SHOT KEYS
Flash Secondary LOOP SYNTH
Tone FX RISER
Tone Secondary FOLEY ATMOS
Text Inverse TEXTURE DRONE
Text Disabled SAMPLE VOX

Rows group related categories; they do not couple colour and tag. Any of the 24 tags can use any of the 12 semantic theme colours. All rows fit at 640x480. The colour column displays borderless 120-by-12-pixel swatches without colour names. The table above documents their order. Columns sit in a compact centred panel; selected values and the navigation cursor retain their indicators.

The picker uses the supplied Dialog_9s_TagSelect.ctg artwork and its 12-pixel bank, baked through the shared skin renderer. The title sits inside the menu; PREVIEW and the tag badge sit to its right. Titles use the shared two-pixel theme Shadow offset at 77/255 alpha. The 1SHOT label retains its existing stable ID and ONE SHOT wire spelling, so the project schema remains unchanged.

D-pad moves the cursor, preserving its row on horizontal moves. A selects a colour or tag without closing. A on the chosen tag clears it while retaining its colour. B applies both values and closes; Select cancels. Repeats navigate but never toggle choices. Changes remain local until B. Existing custom tags are retained on opening/cancelling and can be replaced by a predefined tag.

The cursor outline, focused column heading and selected fills have separate theme roles. Colour swatches and the preview resolve against the active theme every frame. Tag badges in INST and POOL use the assigned colour with contrasting theme text, including Text Inverse and Text Disabled. Shadow remains 77/255. The full-height picker covers the HUD like the existing Project modals.

core/instruments/InstrumentTag.hpp owns stable IDs, names, colour-role mappings and the presentation rows. application/TagSelectionDialog owns the draft and callbacks; it has no instrument index or document dependency. The shared overlay uses the existing dialog skin and cached silhouette. Cursor editors commit metadata into ProjectManager, and the tag clipboard copies both tag and colour.

CTP/CTL v17 persists the IDs; CTI remains v1. Older text tags migrate without data loss. See the format (repository reference: file-formats/project-v17.md). Predefined labels are not stored as a second mutable in-memory string; legacy custom labels retain their original text. No theme schema or palette values are added to instruments.

Run ctest --test-dir build -C Debug --output-on-failure. instrument_tags covers ordering, all choices, independent selections, callbacks, cancellation, clearing, copying, persistence and migration. instrument checks both scenes and emits build/instrument-tests/tag-selection.bmp. instrument_pool and instrument_pool_zip exercise CTI export/import and standard ZIP reading. Contour.exe --inst-tag --snapshot <path.bmp> renders the integrated modal.

What should be here

Documentation still to add
Annotated current-build screenshots and a recorded controller walkthrough for this topic.

Evidence and verification

Repository sources used for this page:

  • docs/instrument-tags.md

This is a documentation/source review, not a new runtime or hardware test. Physical response, screenshots and listening examples still need verification on a recorded build.

Clone this wiki locally