M10: spatial performance fields (pan/reverb/glide)#4
Merged
Conversation
Per-track pan -> CC10, reverb -> CC91, and melody-only glide tail portamento -> pitch bend (+/-2 semitones, PPQ/8 ramp grid), all deterministic. Glide runs after performance transforms; loop scenes glide last note toward the first with the reset on the loop boundary, so the seam stays continuous. Scenes without the fields compile byte-identically (golden SMF unchanged). Bump version to 0.2.0. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.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.
What
Implements the on-hold roadmap item spatial performance fields — the "near→far→wide→pull back" spatial narrative from real film-scoring work is now expressible in the DSL. Bumps version to 0.2.0.
Three optional per-track fields, all with strictly deterministic MIDI semantics:
panround(v*127))reverbglideDesign notes
forest.miduntouched).glideon a non-melody track and out-of-range values are validation errors with field paths..sfzmaps them — same graceful degradation asarticulation.Verification
-D warnings) clean.spatial_fields_emit_cc_and_pitch_bend_deterministically,spatial_build_keeps_loop_sample_exact,validate_rejects_bad_pan_and_glide_on_non_melody.pan: 0.1→ left/right RMS 2073/515 vs centered 1461/1512 without the fields.