Repository navigation
Feature/music session upgrades - #4
Merged
Merged
Conversation
…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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.