Rewrite the documentation and add runnable examples
- Bring the README up to date with editing, Apply, the model tags, validation codes, errors, limits, concurrency and development. - Fix the typed-model link and wording in docs/opcodes.md. - Add examples to the package documentation. - Describe the regeneration steps for the registry, and the licence status of the Splendid Grand Piano fixture. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -1,6 +1,8 @@
|
||||
# Opcodes
|
||||
|
||||
Every opcode the library knows, from [sfzformat.com](https://sfzformat.com/)'s data. **Typed** opcodes are read into the [`Instrument`](../instrument.go) model; the rest are known, so the library validates them, and reads and writes them as text. This file is generated by `go test -update`.
|
||||
Every opcode the library knows, from [sfzformat.com](https://sfzformat.com/)'s data. **Version** is the first SFZ version or player that has the opcode. **Typed** opcodes are read into the typed model, [`Instrument`](../model.go). The rest are known, so `Validate` checks their values against the type, range and options listed here, and the library reads and writes them as text.
|
||||
|
||||
A name with N, X or Y in it stands for a number, as in `loccN`, and one with `*` for any name. This file is generated by `go test -update`.
|
||||
|
||||
| Opcode | Version | Value | Typed |
|
||||
|---|---|---|---|
|
||||
|
||||
Reference in New Issue
Block a user