Repository navigation
FM4: ACC, accent to the index (OPS page) - #316
Merged
Merged
Conversation
An accent on FM4 reached the level only (#303). ACC, the OPS page's second knob, multiplies an accented note's index by 1 + ACC/127, before fm_index_cap, so the accent is brighter as well as louder and stays inside the fold-over limit. 0 is the accent as it was; notes without an accent do not hear the knob. Control rate only: no loop changes. The slot is the SCN page's second, which every kit fills with SCN's default SPD (28). KIT.BIN's generation byte goes to 3 and kit_read opens an FM4 track from before it with ACC at 0. An FM4 preset writes its OPS numbers as they stand (value_of takes the machine), where a WAVE or KICK preset that leaves the page out writes the SCN defaults. EPIANO, BASS, BLIP and DUBSTB set ACC. scenario_fmwave turns ACC up as well. W124. Golden renders stand. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tw2EaFHmBTuHT9xVLai85a
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.
What
FM4's accent reached the level only (#303). ACC, the OPS page's second knob, makes an accented note brighter as well: its index is multiplied by 1 + ACC/127 (twice at 127), before the fold-over cap. The last open item of the synthesis review.
File format
The slot is the SCN page's second, which every kit fills with SCN's default SPD (28). KIT.BIN's generation byte goes to 3, and a kit below that opens its FM4 tracks with ACC at 0, so older projects sound as they did. No byte is added.
An FM4 preset now writes its OPS numbers as they stand; WAVE and KICK presets that leave the page out still write the SCN defaults.
Checks
make -C host test: 5,123,033 checks pass; golden renders stand.make -C host warnandtools/check_rules.shpass.scenario_fmwaveturns ACC up on the OPS page. Emulator and cl6x not run here.Generated by Claude Code