Repository navigation
feat(verifier): a palm-muted note counts on its pick attack - #26
Merged
Merged
Conversation
A palm-muted chug is a damped thud with little pitch, so the harmonic comb often hears none of its strings even when it was played on time: on a chugged C5 riff about 1 in 3 palm-muted chords scored 0/2 strings and were missed (measured 2026-11-12). Chart notes now carry `pm` (setChart), and a palm-muted note the comb didn't confirm still counts when an unclaimed pick attack lands inside its timing window, timed by that attack. Legato notes and ringing notes are unchanged. The attack lookup and the rule move into src/audio/engine/VerdictRules.h (JUCE-free) with a unit test in tests/engine_units. The source pin in tone-load-no-stall.test.js follows the renamed variable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It relied on <cmath> to bring in size_t, which a strict standard library need not do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The per-note hit / attack-claim decision moves out of NoteVerifier::run into a JUCE-free function so the claiming order across several notes can be unit-tested. No behaviour change. The source pin follows the new call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a neighbour's attack Two holes in the attack-only rule for palm-muted notes the comb missed: - A strum makes one onset, but each chord string needed its own unclaimed one, so only one unheard string counted (a 3-string pm power chord scored 1/3 and still missed), and the result depended on the order the chart listed the strings. Onsets now record the chart time of the note that claimed them, and an unheard pm string shares an attack claimed for its own chord time, also across passes (strings with different sustains). - With no pitch evidence, a skipped pm note in a riff faster than the timing tolerance took the next note's attack (or a missed previous note's late one). The attack-only onset must now be nearer this note than the chart notes either side of it. Heard notes claim first in each pass, exactly as before the palm-mute rule, so non-palm-muted notes keep their verdicts and timing. Unit tests cover pm chords with nothing heard, one string heard in each order, split-pass chords and skipped chugs; the source pin follows. 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.
A palm-muted chug is a damped thud with little pitch, so the harmonic comb
often hears none of its strings even when it was played on time: on a
chugged C5 riff about 1 in 3 palm-muted chords scored 0/2 strings and were
missed (measured 2026-11-12). Chart notes now carry
pm(setChart), and apalm-muted note the comb didn't confirm still counts when an unclaimed pick
attack lands inside its timing window, timed by that attack. Legato notes
and ringing notes are unchanged.
The attack lookup and the rule move into src/audio/engine/VerdictRules.h
(JUCE-free) with a unit test in tests/engine_units. The source pin in
tone-load-no-stall.test.js follows the renamed variable.
Pairs with mattromano/feedBack-plugin-notedetect
fix/palm-mute-attack, which sendspm.Tests:
tests/engine_units/verdict_rules_test.cpp(Debug, passes), safe JS set 195/195.🤖 Generated with Claude Code