Skip to content

Mode switch: play a tune in major or minor - #38

Merged
canbmaj7 merged 1 commit into
mainfrom
feat/mode-switch
Nov 11, 2026
Merged

canbmaj7 merged 1 commit into
mainfrom
feat/mode-switch

Conversation

@canbmaj7

Copy link
Copy Markdown
Owner

Adds a Mode selector (Original, Major, Minor) next to Key. It rewrites the chords on the same tonic using a small readable rule table (src/music/mode.ts), for example G7 becomes G7b9 and Cmaj7 becomes Cm7 when going to minor. Chords outside the key (secondary dominants, borrowed chords) stay as they are.

The result is a view of the tune, not a change to it: sharing, iReal export, the editor and saved charts always use the original. Switching while playing carries on from the same spot. Choosing another tune resets it to Original.

Checked: tsc, lint, 113 unit tests; in the browser (ii-V-I tune to minor and back, while playing, no errors). Not run: e2e (CI does).

Closes #27

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openstand Ready Ready Preview Nov 11, 2026 1:12am UTC

@canbmaj7
canbmaj7 merged commit b74c1cf into main Nov 11, 2026
4 checks passed
@canbmaj7
canbmaj7 deleted the feat/mode-switch branch November 11, 2026 01:13
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.

Switch a tune between major and minor

1 participant