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

FlagTypeDefaultMeaning
--prettyflag—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

CodeMeaning
0Success
1Processing failed
2Usage or parameter error
3Input missing or unreadable
4Unsupported format or codec
5Model not cached and downloads disabled
6Model download or verification failed
8Cancelled
10Network error
70Internal error (bug)

Common mistakes

  • Forgetting that outputs are never overwritten: pass --overwrite or a new -o path 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": {}}