Skip to content

project timer

Aisjam edited this page Nov 15, 2026 · 1 revision

Project timer

Home · Section index

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

In Project, hold Y, choose DOWN (TIMER), then release Y. TIMER is a global utility, not a Project menu row or a song setting. Loading, creating or switching projects never resets it; playback and navigation are independent of its monotonic clock.

The square 312x312 TimerTime panel uses ui::DropDown for 5 / 10 / 15 / 20 / 30 / 40 / 45 / 60 minutes. A opens the dropdown, Up/Down browses, A commits, and Left/B cancels. Down moves to the buttons; Left/Right chooses START/STOP or CLOSE. Mouse input uses SdlDropDownInput and SdlButtonInput with release hit testing. The narrower dropdown has 36-pixel rows. Its expanded list overlays the lower controls, stays within the screen and captures input exclusively.

There are two active UI buttons. A centered, disabled ALARM button above them is a placeholder for future implementation and cannot receive input. The first active button is START in Signal when stopped, or STOP in Core when running. START begins a full countdown and closes the panel. STOP removes the countdown and leaves the panel open to choose another duration. CLOSE uses Normal styling, closes the panel and leaves a running timer untouched. B also closes. The interval is disabled while running; stop first to change it. There are no separate pause, reset or OFF controls.

The duration is a device preference (preferences schema v5); v1-v4 load with a 5-minute default. Runtime progress is not saved, and app launch does not start it. The old CTP/CTL v39 duration chunk remains readable/writable for compatibility, but is no longer used or changed by the timer. Musical documents are not dirtied by timer controls. ProjectTimer is the existing internal class name; it has no project references and is owned by main alongside the global TimerDialog.

At canonical 640x480 resolution, a three-pixel Signal border disappears clockwise from top centre. A compact MM:SS label occupies the gap above the track monitor. Desktop integer scaling scales these pixels with the UI. Expiration removes the border and retains 00:00 for three seconds without changing audio or editing. Five integer strips cover the perimeter without overlap or per-frame allocation. The HUD is below modal/critical overlays and follows theme changes immediately.

Validation targets: project_timer (global state, device preferences, legacy CTP compatibility), project_timer_render (HUD, panel and expanded dropdown), side_menu (Project navigation), plus the shared ui_toolkit and sdl_slider controls tests. Isolated visual fixture: Contour.exe --timer-dialog --snapshot timer.bmp.

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/project-timer.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