Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for shift indicators for five fret instruments #959

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

wyrdough
Copy link

@wyrdough wyrdough commented Feb 3, 2025

This PR adds support for shift indicators on five fret instruments, using range shift text events found in some of the YARG setlist songs.

During initialization the list of text events attached to the note track is scanned for events with the form [ld_range_shift d r s] where d is the difficulty, r is the 1 indexed range, and s is the number of frets in the range. Any frets not in the initial range are grayed out.

inactive fret

When a range shift event occurs, range shift markers are shown at the four preceding beat lines on the track and the currently inactive frets coming into use flash at each range shift marker.

Shift marker, currently identical to the pro keys range shift marker:
shift marker

Fading out from the beat line flash:
mid flash

Once the event has passed, the now active frets are colored and the now inactive frets fade to gray.

inactive flipped

@wyrdough wyrdough force-pushed the fivefret-shift-indicator branch from 8f53821 to 6c3ba95 Compare February 15, 2025 05:35
Fix unwanted fade out when deactivating already inactive fret.
@wyrdough wyrdough force-pushed the fivefret-shift-indicator branch from 6feee39 to dd3621d Compare February 26, 2025 22:55
@wyrdough wyrdough force-pushed the fivefret-shift-indicator branch from dd3621d to ce299e9 Compare February 26, 2025 22:55
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