MuseScore sheet music embed plugin

I wrote a plugin for embedding MuseScore sheet music files (.mscz/.mscx) in notes.
It works by auto-converting MuseScore files into PDF (or MusicXML) and rendering an embed link like ![[sheet music.mscz]] as if it were a PDF embed.

You can click the link to open the original file in MuseScore for further editing.
Plus, the exported PDF is auto-updated when the original MuseScore file is modified, so it will be always kept up-to-date.

Background

There are already some plugins that renders sheet music written in code blocks using the ABC notation (link to plugin) and Lilypond (link to plugin 1, link to plugin 2).
However, in terms of editing experience, I believe nothing can beat a dedicated app like MuseScore that supports MIDI keyboard / mouse input and various keyboard shortcuts.

On the other hand, MuseScore’s file format cannot be natively previewed or embedded in Obsidian, so one had to manually export it into something like PDF, PNG or SVG in order to embed it in Obsidian. This can be tedious, and it’s not easy to keep all export files up-to-date after modifying the original.

This plugin aims to solve this problem.

Other related threads

There is also a cool plugin for rendering MEI, MusicXML, etc. using the Verovio library, so another solution for this problem could be to use some application for editing MEI/MusicXML files directly and then previewing them using this plugin.
If you are a MuseScore lover, however, it requires a manual exporting step anyways so you will face the same problem that I described above.

You also might find the following thread helpful:

1 Like

Hey, thanks for mentioning my Verovio plugin - fantastic to see so many music plugins coming out lately. In fact, I had recently asked myself how to deal with, for example, using external fonts in Musescore (like Riemann functional analysis in a song text line) and wanting this as a renderings of them dynamically in Obsidian, so this plugin might be a solution for that and I’m very excited to try it out.

I think the use cases for the plugins we already have now are actually very different and complement each other very well: this plugin right here seems to me to be a solution for layout-accurate compositions within Obsidian. Lilypond mainly has something to do with engraving in a non-WYSIWYG environment. The Verovio plugin was made for musical snippets and musical analysis (as everything becomes MEI internally in Verovio. So when you export from Musescore to MEI, which you can, you are not usually doing it for new compositions that you are still working on, but you are creating files for analytical exchange in a musicological context. At least that’s my case.). So for me, the applications clarify themselves very nicely! Very excited – and thanks!

1 Like