Repository navigation
effects macros
Working manual · 0.0.1-alpha · source snapshot 16 November 2026
L1, R1, L2 and R2 each own four signed axes: 1X, 1Y, 2X, 2Y. Positive X points right and positive Y points down. Hold one or several macro buttons and move a stick to move each macro independently at up to one normalized unit per second. With no macro buttons held, meaningful joystick input moves all four macros in any eligible scene, using the same runtime as Performance. Centring the stick and releasing the macro button retain its position and contribution. Hold the macro button, hold B, then press A to reset all four of that macro's axes to zero; other macros and saved assignments are unchanged. Performance and overlay movement both cross zero without snapping. Only assignment depth retains its 120 ms zero detent. The existing rescaled 20% input deadzone and DSP smoothing remain authoritative.
Effective value is base plus the sum of axis amount times assigned depth, clamped once at the target. Depth is displayed as a signed percentage. For a bipolar parameter, 100% spans from centre to an endpoint (PAN = 100 units); otherwise it spans maximum minus minimum (cutoff = 255 units, continuous VIS = 1). Base edits remain ordinary instrument/preset edits. Moving macros never writes those bases.
Select a supported numeric field in INST, Synth Edit, VIS matrix or Effects. Hold a macro button and press A: a coloured radial and axis/depth label open beside the field immediately. While A is held, move an axis to choose it and increase or decrease the current signed depth continuously. Full deflection moves 100 percentage points per second; smaller deflections move more slowly. Centring stops movement and retains the depth, bounded to -100% through +100%. Releasing A assigns the current depth immediately. D-pad changes depth by 1% horizontally or 10% vertically while editing; B cancels, X removes that axis. Depth movement shares the neutral detent. Zero-depth parameter radials stay hidden. Both Performance and the mirrored overlay show all four pad points at zero. FX control retains its existing input ownership. Releasing the owning macro button cancels an unfinished edit. Every other axis assignment is preserved. Zero depth is a valid assignment with no effect.
Holding a macro button + Y opens the shared Song TAG / COLOUR picker in colour-only mode (A chooses, B applies, Select cancels). Defaults reuse Song's exact mapping: L1 Signal, R1 Tone, L2 Pulse, R2 Flash. Song's triple-press bookmark gestures remain unchanged; they colour bookmarks, not macro definitions.
Plain L1/R1 taps retain existing scene actions on release. Using a bumper with A or a stick suppresses that tap action. INST L1/R1 do not select instruments. Its B + Right/Up axis transition and Left/Down reverse transition remain; hold the desired macro button to choose its identity (default L2). This explicit transition replaces that parameter's assignments for the chosen identity; normal Trigger+A assignment adds or edits only the chosen axis.
Performance and the centred macro performance overlay use render/MacroVisual.hpp and the same accumulated runtime amounts from TriggerMacroController. Physical joystick activity opens the overlay immediately and refreshes its one-second inactivity countdown, even during inline assignment. A held trigger or nonzero latched value alone does not keep it open. Performance uses its built-in pads.
Five independent top dialogs appear in L1, L2, Temp, R2, R1 order. Macro dialogs use stored macro colours and existing trigger identities (there is no separate editable macro-name field). Temp observes X without consuming its established scene command. It adds presentation only. All five reuse MacroDialogSlide: 100 ms smoothstep transitions reverse from their current position. They stay visible during inline editing and close independently on release. Focus loss, controller removal and project replacement clear held state and animations.
The supplied Dialog_9s_MacroTrigger.ctg is baked into semantic-layer pixels by ContourBakeDialogSkins --macro-trigger; drawDialogArtwork renders its nine-slice using the current theme and macro colour. No runtime file loading or texture creation is added. The linked source remains in the supplied Glyphs/Menu folder.
Rendering order is scene/depth indicators, centred pad overlay, five top dialogs, then inline assignment and colour editing. The active inline editor stays above any overlapping pads. Macro positions survive ordinary scene navigation; contextual editing closes when leaving its scene. Updates run once per frame.
Performance's held-A FX gesture retains priority and its existing movement semantics. Track arming, mute/solo and Select scene navigation remain intact.
ProjectData::macros owns definitions, colours and assignments; ProjectManager transactions provide undo. Runtime holds, gains, axes, drafts and timers live in TriggerMacroController. MacroValues is the shared bounded evaluator/message. Audio delivery uses the existing serialized SdlAudioDevice control boundary. EffectChain adds continuous effect offsets before the final parameter clamp; existing processor smoothing remains responsible for transitions. No callback allocation, file IO, logging, or new synchronization was added.
Supported targets remain metadata-backed numeric synth controls (LSDW excluded), INST Start/Length/Pitch/Tune/Pan, dry and SB1–SB4 sends, cutoff and model-filter resonance, continuous VIS controls, and continuous effect parameters. Resource choices, routing, algorithms and discrete selectors are not macro targets. Model discriminators keep incompatible mappings dormant.
| Documentation still to add |
|---|
| Annotated current-build screenshots and a recorded controller walkthrough for this topic. |
Repository sources used for this page:
docs/trigger-macros.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.