Skip to content

Feature/music session upgrades - #4

Merged
HalcyonVector merged 6 commits into
mainfrom
feature/music-session-upgrades
Oct 31, 2026
Merged

HalcyonVector merged 6 commits into
mainfrom
feature/music-session-upgrades

Conversation

@HalcyonVector

Copy link
Copy Markdown
Owner

No description provided.

…e changes

- The key now changes daily, stepping around the circle of fifths, instead
  of every session being in C. A picked location uses its own local date.
- Chords follow a weighted functional-harmony table (ii/IV lead to V, V
  resolves to I or vi) instead of a random walk, and the bass plays each
  chord's root so the progression is audible.
- Key and mode changes are latched at the next chord change and land on the
  tonic, so the arp and pad never disagree mid-phrase.
- Temperature now also shapes pad attack and pluck brightness.
- Tray, Studio readout and media metadata show the key ("D DORIAN").
- New synthesized kick (MembraneSynth, low-passed) and rim click
  (band-passed noise), driven by a pure, tested 16-step pattern in
  audio/drumPattern.ts: a downbeat kick anchors it, and the "and of 3"
  kick, 2-and-4 rims and ghost notes fade in with density.
- 16th-note swing on the transport gives the drums and hi-hat a lo-fi lilt.
- New drumDensity param: busier by day and with activity, sparse at night,
  softened a little by heavy rain. Optional in the type, so presets and
  share links saved before it existed still load.
- New "Drums" mixer channel. Stored mixes now merge layer by layer, so
  existing users keep their saved levels when a layer is added.
- Sleep timer (15/30/60/90 min) in a new Studio "Session" card. The music
  fades out over the final 30 seconds and stops on time; the tray shows a
  live countdown. It cancels itself if playback stops, and a fade in
  progress can't stop a session restarted during it.
- Focus mode: the arp stops reacting to typing, drums and hi-hat thin to a
  soft pulse, the top end is rounded off, chords stay on I/IV/vi and are
  held longer, and thunder is skipped. Key, mode, tempo and weather
  textures still follow live inputs. It's applied on top of the sound, so
  presets and share links keep the unfocused version. Persisted locally.
- Fix: a selected segmented button turned grey while hovered, because the
  generic button:hover rule outranked the active style.
- GitHub Actions workflow: installs server and client with npm ci, runs
  both test suites, then typechecks and builds the client (Node 22).
- Maskable icon variant (SVG + 192/512 PNGs) with a full-bleed background
  and the artwork inside the safe zone, registered in the manifest with
  purpose "maskable", so OS icon masks no longer clip it.
- Stop tracking client/tsconfig.tsbuildinfo (a tsc -b cache that changed
  on every build) and ignore *.tsbuildinfo.
- The dev launch config pointed at port 5173; the Vite dev server is 5273.
Documents the daily key, chord progressions, drum groove, temperature
mapping, sleep timer, focus mode, maskable icon and CI; marks the
maskable-icon limitation fixed; bumps the Node prerequisite to 20+ (Vitest
4 needs it); refreshes the future-features list (Docker dropped as
unnecessary for a single-process app with no database).
@HalcyonVector
HalcyonVector merged commit 5603193 into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant