Browser-based music tool · MusicXML → notation, playback, MIDI, PNG, PDF

Sheet Music Viewer for MusicXML

Open a .musicxml, .xml or compressed .mxl score and read it as engraved notation: zoom, switch between pages and one endless line, transpose by semitones, and play it back with a cursor that follows the notes and a mute or solo button for every part.

Score

Part-wise MusicXML up to 30 MB, 800 measures and 120,000 notes.

Drop a MusicXML score here or click to choose

.musicxml, .xml, .mxl

Choose a score to see it here.

Sheet Music Viewer for MusicXML

Operator: Abdulla Al Fahad. How tools are built and checked

MusicXML is the format notation programs use to hand a score to each other, and a compressed copy of it, with the extension .mxl, is what most sites send when you download a score. This page engraves either kind as readable sheet music in the browser, lets you transpose it, plays it back with a cursor that follows the notes, and saves MIDI, PNG or PDF, so a score that arrives by email can be read on a computer with no notation program installed.

Key features

  • Part-wise .musicxml and .xml files, and compressed .mxl files, up to 30 MB, 800 measures and 120,000 notes
  • Zoom from 50% to 200%, and a choice of A4 pages or one endless line
  • Transposition from 12 semitones down to 12 up, with the key signature redrawn and not only the notes moved
  • Playback with a cursor, tempo from 40% to 200%, and mute and solo for every part
  • Export as MIDI with one track per part, PNG pages 2,480 pixels wide, or a PDF
  • The title, number of parts, measures and notes read from the file, and any warning about a missing tempo

What is read from the score and how it is played

A .mxl file is a ZIP whose META-INF/container.xml names the score inside it; the page unpacks it with a limit of 80 MB, counting what is really inflated and not what the ZIP claims. Only part-wise scores are read, which is what notation programs export by default; a time-wise file is refused with a message saying so. A file that declares XML entities is refused, since scores never need them.

Notes, tempo and parts are read for playback and MIDI. Playback and MIDI follow the score straight through once: repeats, first and second endings, dynamics and articulations are not followed, every note is played at the same velocity, and a tempo marking is taken from the first part. The first time signature is written into the MIDI file. Untuned percussion notes are mapped to one drum sound.

How it works

OpenSheetMusicDisplay draws the score as SVG. A transposition changes its sounding pitch before drawing, so the key signature and accidentals are respelled. Zoom and layout redraw the score and rebuild the list of cursor steps.

Separately, the page reads the XML itself into a list of notes with start and length in whole notes, which lines up with the cursor's own time stamps. Ties are joined, chords share a start, and a transposing instrument, such as a clarinet in B flat, is played at its sounding pitch.

Playback uses the page's built-in synthesiser, started from the notes of the parts that are not muted, and the cursor is moved to the step that is sounding at each animation frame. Changing the tempo or muting a part while playing restarts from the current position.

When this helps

  • A violin teacher opens a 24-measure duet, solos the second violin and drops the tempo to 70% so a student can play along with the first part.
  • A student opens a 120-measure piano piece at 60% tempo and follows the cursor while practising the left hand with the right muted.
  • A teacher saves a 6-page score as a ZIP of six PNG files, one per page, to put on a classroom display.
  • A composer checks that the MIDI export of a 20-measure string quartet has four tracks before importing it into a sequencer.

Opening a file

  1. Drop the .musicxml or .mxl file.
  2. Set the zoom and the page layout, and choose a transposition if you need one.
  3. Press Play, and mute or solo parts to rehearse one line.
  4. Open the Export card and choose MIDI, PNG or PDF.
  5. The downloads are named after the score file, so evening-hymn.mxl saves as evening-hymn.mid, .png or .pdf.

Example

evening-hymn.mxl, two parts (Melody and Bass), 8 measures in G major at 96 BPM, transposed down 3 semitones

Transpose: -3 semitones
Play with both parts, then export MIDI, PNG and PDF

What the page shows and saves

2 parts, 8 measures, 32 notes
The key signature changes from one sharp to four sharps, E major
evening-hymn.mid: two tracks (Melody and Bass), 96 BPM, 4/4
evening-hymn.png: 2,480 pixels wide; evening-hymn.pdf: one A4-wide page

Tips for best results

  • PNG and PDF always show every part, whatever is muted. Mute only affects playback and the MIDI file, so to print one player's line, export from their own part file.
  • Solo a part and drop the tempo to 50% to hear a hard passage; the cursor follows the same steps at the slower speed.
  • Transpose by the interval the singer needs, then export MIDI: the exported notes include the transposition.

Limits

Repeats are played once. A piece with a repeat sign, a D.S. or a coda plays straight through, so playback and MIDI can be shorter than the piece.

Every note sounds at the same loudness. Dynamics such as p and ff in the score are drawn but do not change the playback.

Every part sounds with the same plain synthesised voice, so a flute and a cello differ only on their staves. The MIDI export carries each part's instrument number, so a sequencer plays them with proper instruments.

PNG and PDF are pictures of the pages as drawn at the current zoom, not a vector score, and a very large page is reduced so it stays under 60 megapixels.

Common errors and how to fix them

This is a time-wise MusicXML file
Export it again as part-wise (the usual kind) from the notation program that made it.
The score has more than 800 measures; split it into movements or sections first
Save each movement as its own file in the notation program and open them one at a time.

Best practices

  • Look at the part list before exporting MIDI: a part you muted is left silent in the file, so unmute everything you want in the sequencer.

What the PNG and PDF contain

Both exports rasterise the SVG pages of the score as drawn, 2,480 pixels across, which is A4 at 300 dpi. A PDF has one page per score page, 595 points wide, with the picture filling it, and a score with several pages saved as PNG is a ZIP of numbered files. Because they follow what is on screen, change the zoom and layout first.

Frequently asked questions

Can it open a MuseScore, Sibelius or Finale file directly?

No. Export from the program as MusicXML or compressed MusicXML first, then open that file here.

Why does a transposed score list different accidentals from my notation program?

The page asks the engraver to transpose by semitones, and the engraver chooses the spelling that suits the new key, which can differ from the choice another program makes.

Is the MIDI export the same as the playback?

Yes: it uses the same notes, the parts that are not muted, the transposition and the tempo percentage you have set.

Does it read guitar tablature or chord symbols?

The notes are drawn, but tablature staves and chord symbols are not played. For Guitar Pro files, use Guitar Pro Tab Viewer.