Skip to content

screens song

Aisjam edited this page Nov 15, 2026 · 1 revision

Song

Home · Section index

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

A first task

Make an independent variation. Begin on an occupied cell while stopped. Hold Select, press B, then release both without extending the selection. Tap A to clone its Chain; double-A deep-clones the Chain and its unique Phrases. Edit the new reference and compare the original. Ordinary copy/paste retains sharing. If allocation fails, the original document should remain intact.

Screen controls and behaviour

Song places Chain references across time. If two cells use Chain 02, both refer to the same Chain. Change the Chain and both uses change. Clone when you want a separate variation.

Navigation: Select + Up opens Project; Down opens Mixer; Left opens Compositor; Right opens Chain only when the selected cell has a valid Chain reference. An empty cell stays in Song. New projects enable twelve lanes; existing projects retain their saved active count.

Button or gesture Result
D-pad Move among positions and lanes; extend an active arrangement selection.
B + Left/Right Jump sixteen Song positions, bounded at 00/FE.
A Insert the remembered Chain reference, initially 00.
A + Left/Right Change Chain ID by one.
A + Up/Down Change Chain ID by hexadecimal 10.
A, A within 300 ms Allocate and assign an unused empty Chain.
A + B Clear the current reference; cut an active arrangement selection.
Hold Select, press B Begin a rectangular selection and arm cloning. Release the modifiers before extending it.
Hold Select, tap B twice Select all active lanes at the current Song position.
B in arrangement selection Copy references and colours, then leave selection.
Select + A Paste at the cursor. It resolves on Select release or after the double-tap window.
Hold Select, tap A twice Deep-paste into new Chains and Phrases, preserving shared relationships within the copied block.
A + Left/Right in selection Move the block; neighbouring contents rotate through its previous position.
Select+B, release both, tap A Clone the selected Chain after the 300 ms double-tap window. Referenced Phrases remain shared.
Same preparation, A,A Deep-clone the Chain and its unique referenced Phrases.
Extend selection, then A,A while stopped Render the selected region to a new embedded instrument.
Hold B while stopped Display the selected lane's accumulated duration before the cursor.
Up + Start Cue fresh regions at a lane boundary; when stopped, cue the next start.
Hold B, press Select Mute the cursor lane; Song retains the change in either release order.
Hold B, press Start Solo the cursor lane; if it is already the only audible lane, unmute all.
B on a muted lane Unmute it while preserving other mutes.
B + Up/Down Jump to the arrangement marker strip / last active lane.
Select + Y / Select + R2 + Y Undo/redo available project transactions.

Cloning requires an unextended selection. Once you move its endpoint, the double-A action becomes rendering. Paste and allocation can fail because the destination exceeds the Song or the resource pools are full; rejection should leave the document unchanged. Rendering includes the selected lanes, ignores performance mutes and has a bounded sample budget.

Track names, order and colours

Gesture Result
Left, Left while already at position 00 Enter Track Reorder/name focus.
Up/Down in Track Reorder Choose a lane.
A + Up/Down Move the selected lane, or selected group, preserving group order.
Select+B; then Up/Down Select a group of lane names.
Hold Select, B,B Select all lane names.
B in lane-name selection Cancel the selection and keep name focus.
Tap A on a lane name Open naming on A release.
Right Return from Track Reorder to the arrangement.
B,B,B Toggle Core colour on the cell or focused lane name.
L1,L1,L1 / L2,L2,L2 Toggle Signal / Pulse colour.
R2,R2,R2 / R1,R1,R1 Toggle Flash / Tone colour.

Colour taps use the 300 ms window. Shoulder colour gestures apply in the normal grid or name focus, not an arrangement selection. Choosing the existing colour clears it. A cell colour overrides the lane's saved default. Lane moves carry their names and tags.

Song radial and dialogs

Hold Y for the radial's activation threshold (currently 120 ms), choose a direction using D-pad or left stick, then release Y. Return to centre before releasing to choose nothing. A/B do not confirm/cancel this radial. Two short Y taps repeat the last eligible successful repeatable action; changing scene or opening a modal clears relevant gesture state.

Direction Current action
Upper-left Pattern Fill; needs an arrangement selection.
Up Enable 12 Lanes; unavailable when already enabled.
Upper-right Duplicate the selected Chain, retaining its Phrase references.
Right Redo.
Lower-right TAG / COLOUR for the selected lane.
Down Compositor fullscreen visual output.
Lower-left REMIX placeholder; unavailable.
Left Undo.

TAG / COLOUR opens the shared tag picker: D-pad browses, A chooses, B commits and Select cancels. Choosing an existing tag clears it. The name keyboard edits a maximum five-character lane name; use its SAVE/CANCEL actions. B removes a character, so it is not a universal cancel button there. The triple-colour shortcuts also operate in this keyboard without leaving three deleted characters after a completed triple-B colour action.

Song has one optional organisational marker per arrangement position (00-FE). Markers are project metadata and never participate in playback resolution.

Double-tap UP within 300 ms while already on the first lane to enter the marker strip. Holds/repeats do not count as taps. LEFT/RIGHT moves through the same positions and horizontal scroll window as the grid. DOWN returns to the first lane. Hold B and press UP/DOWN to jump to the marker strip/last active lane, keeping the position. Bare B's existing unmute/copy action resolves on release so a navigation chord cannot accidentally change the document.

With an existing marker highlighted, triple-tap B for Core, L1 for Signal, L2 for Pulse, R2 for Flash or R1 for Tone. Repeating the same colour clears it. The marker and its whole column use that colour, including empty cells; explicit cell bookmarks take priority. These gestures do not unmute tracks or create Chains. Colour changes support undo and persist in CTP/CTL v55 (repository reference: file-formats/project-v55.md).

A opens the shared TagSelect-skinned panel. The three categories have ten rows, including Custom, with a separate Clear Marker footer below them. Directional input selects; A assigns; B cancels. Reopening restores the current preset or Custom row. Custom opens the existing NameEditor keyboard with the saved text. Its SAVE action commits; CANCEL returns to the picker. Text uses the existing 32-character keyboard limit. Vertical labels use the existing 6x6 small font with seven-pixel advance and are clipped to each column without truncating stored text. Marker focus is a tall cursor rectangle. Song status is shown below the ruler; lane tag/time information remains beside the strip. The strip begins below the persistent navigation HUD at y=104 and ends at y=164. Song lanes use the same 22-pixel spacing from y=170 as Chain and Roll, preserving twelve visible lanes and 30-pixel columns. Long marker labels remain clipped.

SongEditor owns marker focus and the request to open the modal. Song owns modal lifecycle and captures the position and project generation before editing. Project replacement closes the modal. ProjectManager::setArrangementMarker validates, marks dirty and records a normal project undo transaction. Clearing is represented by absence from the sparse map. Marker focus is transient and does not alter the resume cursor schema.

The current editor moves time blocks by rotating their adjacent cells. Moving a block containing every active lane moves its markers with it, including any marker displaced at the edge. Partial-track moves, cell copy/cut/paste, reference replacement, Chain duplication, and lane reorder leave song-level markers at their positions. Song currently has no separate whole-column insert/delete API; clearing musical cells does not delete annotations.

Rendering reuses TileFont and the shared compact-font bitmap, rotating its pixels counterclockwise with integer coordinates. No new texture or font is created per frame.

Build and test from the configured Visual Studio/CMake environment:

cmake --build build --config Debug --target Contour ContourArrangementMarkerTests
ctest --test-dir build -C Debug -R arrangement_markers --output-on-failure

The test writes Song, picker and keyboard BMP fixtures and a round-trip CTP to build/arrangement-marker-tests. Physical handheld input remains a manual check. See CTP/CTL v53 (repository reference: file-formats/project-v53.md) for the storage contract.

What should be here

Documentation still to add
An annotated Song screenshot, a video of the first task, and checks for cancel/undo on the target handheld.

Evidence and verification

Repository sources used for this page:

  • docs/_Manual/SCENES_TRACKER.md
  • src/application/SceneNavigation.hpp

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