Skip to content
OSMD
Language: English
Sponsor

New OSMD website: off WordPress and public on GitHub

Published

The new OSMD home page: the heading “Sheet music for your web app, straight from MusicXML.” next to the Clementi sonatina, rendered live by OSMD.

The OSMD website is new. The old one ran on WordPress for years: the oldest post on this blog is from March 2016, and the site got a new look in July 2021.

WordPress wasn’t fast enough for us any more. So we built a new site, as static pages made with Astro, and brought the demos and 39 blog posts along, at the addresses you know.

Then we went a step further and made the website itself public. Every page, every guide and the tests that check them are in one repository on GitHub, for anyone to read. That makes it easy to take part. Built something with OSMD? Show us: your project can join the showcase with one pull request. Found a mistake, or a translation that sounds off? Send a fix the same way.

Here’s what else is new.

Docs written for OSMD 3.0

OSMD 3.0.0 has been on npm since November 21, and the docs follow it. They start with a first score, then give you a component for React, Vue, Angular and Svelte, the cursor, the options, transposition, rendering in Node.js without a browser, and a snippet for your coding assistant’s AGENTS.md. Where 2.3.1 behaves differently, the page says so. Upgrading? The FAQ lists what may need a change in your code.

Every code sample in the guides is a file that our CI runs against the opensheetmusicdisplay package as it is on npm. On December 3 all 23 checks passed against 3.0.0, and if a release breaks a sample, the next run goes red.

A live score on the home page

The home page now shows OSMD itself: a Clementi sonatina, rendered live, which you can zoom and turn into Music Braille. Play is marked as a sponsor feature right next to the button: playback is in OSMD Extended, our sponsors’ build, and the npm package doesn’t have it. We’d rather you learn that before you install.

The four demos now share one page, Demos: the sponsors demo, the Jianpu demo, the Braille demo and the public demo on GitHub Pages. Old links to them, in READMEs and forum threads, keep working. So does /feed/ for your feed reader.

How OSMD compares, with a source in every cell

We get asked again and again which library to pick. How OSMD compares puts OSMD next to VexFlow, Verovio, alphaTab and abcjs on 13 rows: input formats, layout, playback, Music Braille, license, headless rendering, tabs, Jianpu and more.

We maintain one of the five, so you have every reason to be suspicious. That’s why every cell links the project’s own docs or code, and why the page says plainly where others are ahead: alphaTab draws Jianpu and plays back for free, abcjs plays back for free, and in OSMD both are in the sponsors’ build. If you maintain one of the other four and a cell is wrong, write to us and we fix it within a week.

Ten languages, docs included

The site is in English, German, Spanish, Portuguese, French, Italian, Polish, Chinese, Japanese and Korean: the docs and the FAQ, the comparison, the demos, the showcase, About, and the sponsor, custom development and community pages. The blog and the legal pages stay in English. Every translation records which English version it was made from, and our tests fail when the English moves on without it.

The translations started as AI drafts. If one of them is your language and a sentence sounds off, the community page explains how to send a fix.

What isn’t there yet

The company license on the sponsor page has no checkout yet; until it opens, we send an invoice on request. And the sponsor wall waits for its first logo. Logos start at the Music Developer tier.

Show us what you built

If your app or site renders sheet music with OSMD, we’d love to see it in the showcase. Today it lists twelve projects, grouped into learning, practice and research. Research has one entry so far, composition and accessibility none. That’s where we’d most like to hear from you.

Here’s how to add yours: one Markdown file, a screenshot and your logo, sent as a pull request. The build checks the fields, and we try your project and answer in the pull request, often with a tip or two from testing it. You get a page with a link to your project. No GitHub account? Write to support@opensheetmusicdisplay.org and we file it for you.

We hope you like the new site 🙂