Repository navigation
feat: top tones and guitar shift in the guitar dropdown - #24
Merged
Merged
Conversation
Star presets in the Audio Engine preset list; the core's instrument menu then shows starred tones first, filled out with the most-loaded ones (up to 5), as one-click loads. Uses are counted on manual loads and tone automation / tone-lock loads, not the startup default. Deleting a preset drops its star and count. Settings -> Load and the menu share one loadPresetManually path. Needs a core with v3Badges.registerMenuSection (feat/inst-menu-tuning); older cores just don't show the section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Manual preset loads (Settings -> Load, instrument menu) now run under withToneChainLock and refuse while a song is loading, so they can't interleave with a song's chain rebuild. Drops the menu's 'last loaded' highlight, which went stale when anything else swapped the chain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Live Retune adds a "Shift my guitar" section to the core's instrument menu: a "Sound as" list (+-5 semitones, named from the guitar's current tuning, e.g. E Standard -> Eb/D Standard), -/+ buttons, No shift and the Follow song toggle. It drives the same engine live pitch shift as the player bar; the strings and the tuner are untouched. Sections now pass an order (shift 10, top tones 20). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use counts start at zero, so Top tones showed nothing for a player with no stars yet. Rank by counted loads plus the choices already on record: whole-song tone locks and Tone Automation targets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Registers two guitar-dropdown sections through the core's
registerMenuSection:withToneChainLockand refuse mid song-load. Preset list gets star buttons; delete forgets stats.Needs mattromano/feedBack (core)
feat/inst-menu-tuningfor the hook; without it the sections stay queued and nothing breaks.Tests:
tests/top-tones.test.js,tests/live-retune-menu.test.js.🤖 Generated with Claude Code