Skip to content
Get it free

PremiumPremiumVideo, 37 s

Playback

With premium, the score can play in your visitor’s browser. A cursor moves through the notes as they sound, and the page can scroll along.

Turn it on

In the block sidebar, Premium Options → Enable Playback. It’s on by default. For shortcodes: enableplayback="true" or "false".

What visitors get

A toolbar under the score with:

  • Back to start and Play / Pause.
  • The cursor. Visitors can click into the score to move it.
  • Playback, a panel with the Tempo (40 to 240 BPM), the Metronome volume with a mute button, and a volume slider and mute button for each instrument in the score.

On narrow screens the toolbar groups controls into menus; the playback settings are under More Controls.

Options

Option Default What it does
Enable Playback on Toolbar, cursor and sound
Follow Playback Cursor on Scrolls the page so the cursor stays in view
Persist User Adjustments off Stores the visitor’s tempo, metronome and instrument settings, zoom and transposition in their browser, and restores them on their next visit to this score. Within one visit premium keeps them anyway, also when the score redraws after turning a phone
Transpose by Semitone 0 Playback sounds in the transposed key. See transposition

Shortcode attributes: enableplayback, followcursordummy (for Follow Playback Cursor) and persistuserruntimestate.

Sound

The instrument sounds are recorded samples, chosen from the instruments in the MusicXML file. They load as the score appears, from GitHub Pages, so the first playback needs a network connection. Details in what the plugins load.

No sound? See troubleshooting.

Video, 37 seconds

Playback and transposition

The presenter is an AI avatar with a generated voice.

Transcript

With premium, the score can play right on the page. Playback is on by default.

Switch on User Transpose so visitors can change the key, and save.

On the page, the toolbar sits under the score.

Press Play, and a cursor follows the notes as they sound.

To change the key, enter the number of semitones, and click Transpose.

The key signature and the sound follow the new key.

Updated 27 November 2026, checked against premium 1.5.0 (osmd-extended 3.0.0). Something wrong or missing? Write to support@opensheetmusicdisplay.org.