ferraus score from-json
Score JSON back to notation
Synopsis
ferraus score from-json <input> [options] [-o <output>]
What it does
Reads the score JSON model and writes MusicXML (default) or any format chosen by the -o extension.
Examples
Back to MusicXML after editing
ferraus score from-json song.json -o song.musicxml
Engrave the edited model
ferraus score from-json song.json -o song.pdf
Normalize and indent an edited score model
ferraus score from-json edited.json -o clean.json --pretty
Write the model as ABC notation
ferraus score from-json song.json -o song.abc
Options
| Flag | Type | Default | Meaning |
|---|---|---|---|
--pretty | flag | — | Indent JSON output when -o ends in .json |
Global options
Every command also accepts the global options (-o, --json, --dry-run, --overwrite, --progress, ...). See Global options.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Processing failed |
| 2 | Usage or parameter error |
| 3 | Input missing or unreadable |
| 4 | Unsupported format or codec |
| 5 | Model not cached and downloads disabled |
| 6 | Model download or verification failed |
| 8 | Cancelled |
| 10 | Network error |
| 70 | Internal error (bug) |
Common mistakes
- Forgetting that outputs are never overwritten: pass
--overwriteor a new-opath when re-running.
For models
- MCP tool:
ferraus_score_from_json - Schema:
ferraus schema score from-json - Pipeline:
{ op: score from-json, args: { ... } }(flag names with_instead of-) - fx stage: no
{"command": "score from-json", "defaults": {}}