MusicXML Round-Trip Check

Compare pitched notes, rests, timing, voices, staves, ties, traditional key declarations and explicit key cancellations in two partwise MusicXML scores. Aligns parts and measures by position.

One comparison costs 0.04 USDC on Base. Compares supplied score text without storing it. Engraving, non-traditional keys, playback settings and compressed archives are outside this check.

Free worked example

Example request
{
  "before_xml": "<score-partwise version=\"4.0\"><part-list><score-part id=\"P1\"><part-name>Piano</part-name></score-part></part-list><part id=\"P1\"><measure number=\"1\"><attributes><divisions>4</divisions></attributes><note><pitch><step>C</step><octave>4</octave></pitch><duration>4</duration></note></measure></part></score-partwise>",
  "after_xml": "<score-partwise version=\"4.0\"><part-list><score-part id=\"P1\"><part-name>Piano</part-name></score-part></part-list><part id=\"P1\"><measure number=\"1\"><attributes><divisions>8</divisions></attributes><note><pitch><step>D</step><octave>4</octave></pitch><duration>8</duration></note></measure></part></score-partwise>"
}
Example result
{
  "matches": false,
  "difference_count": 2,
  "differences": [
    {
      "part": 1,
      "measure": 1,
      "kind": "note",
      "change": "missing",
      "count": 1,
      "onset": "0/1",
      "duration": "1/1",
      "voice": "1",
      "staff": "1",
      "grace": false,
      "pitch": "C4",
      "alter": "0/1",
      "ties": []
    },
    {
      "part": 1,
      "measure": 1,
      "kind": "note",
      "change": "added",
      "count": 1,
      "onset": "0/1",
      "duration": "1/1",
      "voice": "1",
      "staff": "1",
      "grace": false,
      "pitch": "D4",
      "alter": "0/1",
      "ties": []
    }
  ]
}

View example JSON · API specification

Run a paid comparison

Preview the exact price and use the buyer client. The quote command needs no wallet and sends no payment.

Use an x402 V2 client funded with USDC on Base. This AgentCash example uses curl and jq to download the sample request. Running the second command can charge 0.04 USDC. To compare your own data, edit request.json before running it.

curl -fsS 'https://musicxml-roundtrip-check.defcronyke.workers.dev/example' | jq -ec '.request // empty' > request.json
test -s request.json && npx agentcash@0.17.1 fetch 'https://musicxml-roundtrip-check.defcronyke.workers.dev/v1/compare' -m POST -H 'Content-Type: application/json' -b "$(cat request.json)" \
  --payment-protocol x402 --payment-network base --max-amount 0.04

Download the MusicXML and MXL request helper

Try the MusicXML export acceptance workflow

Book a C$1,000 MusicXML export review

AgentCash instructions · Support