Add lossless SFZ document, flattening, typed model and opcode registry

Parse keeps a file exactly as written, with #define and #include
unexpanded and each include as its own file in a tree. Flatten resolves
directives and header inheritance, and Flat.Instrument reads regions into
the typed model ported from Zampler's internal/sfz. The opcode registry
is generated from the SFZ format's syntax data and drives Lookup, GetAs
and Validate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 17:38:10 +00:00
co-authored by Claude Sonnet 5.5
commit d124690ecf
29 changed files with 11677 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# Splendid Grand Piano (SFZ text only)
These files are the SFZ mapping of the Splendid Grand Piano, used as a test
fixture for the SFZ parser. The samples are not included.
- Source: [sfzinstruments/SplendidGrandPiano](https://github.com/sfzinstruments/SplendidGrandPiano),
commit `1c595d827b7fd7f0be3134aaed0f90b3662a09cf` (6 May 2024), unchanged.
- Samples: public domain, released by AKAI.
- SFZ mapping: kinwie. String resonance and half-pedalling: Peter Eastman.