Verovio


Verovio is music notation engraving library developed by the RISM Digital Center. This site offers the Verovio command line tool as a web service.

The link below presents a web page where you can upload musical score files in order to get a graphical representation or to convert to other score file formats.

Alternatively, you might call the web service from your own web page. Use a multipart form including a data and a command section similar to the code below:

  async function post(file, options) {
    const formData  = new FormData()
    formData.append('data', file)
    formData.append('command', new Blob([options], { type : 'text/plain' }))

    const init = {
      method: 'POST',
      body: formData
    }

    const response = await fetch('https://music.ursamedia.ch/apps/verovio/', init)
    const score = await response.text()

    // ...
  }

Link: Verovio Web Service