A Verovio Music Notation Plugin?

Hey guys, apart from the existing lilypond and abcjs plugins, a Verovio Plugin would be awesome. Verovio is an open source music notation engraving library and it’s used by RISM and basically all musicology research organisations (as there are advanced analysis tools for this format and if kind of bridges every other format so far). It has playback features, editing possibilites (apart from the code) and multiple export options. To be compatible to the musicology standard it would be great to be able to render it within obsidian. It’s documented amazingly, it also renders ABC Notation, MusicXML and of course its own format. Here’s the documentation: (https://book.verovio.org/ ) but I’m not a programmer so I can’t write a plugin myself.

An intermediate workaround to embed it via the existing Javascript webapp would also be appreciated; I was also too stupid for that: Verovio App | Verovio

1 Like

So I guess, even if I have no idea about programming, I’ve tried it with ChatGPT and have come pretty far. Help would be greatly appreciated.

Verovio-Plugin

So what I’ve done is:

This is a plugin for Obsidian (https://obsidian.md) that uses Verovio – a fast, portable and lightweight open-source library for engraving Music Encoding Initiative (MEI) music scores (and also ABC and MusicXML) into SVG.

The plugin already has the following features:

  • rendering MEI, ABC and MusicXML notation dynamically (working) from the Obsidian folder and URLs
  • download button for the rendered SVG-FIle (visible by hovering the mouse over the renderd music)
  • a settings menu to change the rendering options (working, though not sure if every option is working, espeically the font option)

And I would love to implement these as well (But I’m not a programmer and thus can’t get it to work right now)

Cheers, and please be kind, as I basically don’t know what I’m doing. Thanks!

Maybe the guys from the lilypond and abc plugin might be interested in this as well?

1 Like

I’ll just continue posting what I did here, maybe it’s of some interest for anybody.

  • Music rendering as svg within obsidian works
  • downloading the svg works
  • sound playback works

I still didn’t manage to get the note highlighting to work, if anybody can help that’d be awesome.

Feel free to grab it from here:

1 Like

So meanwhile I actually made a functional plugin with the following features.

  • Rendering MEI, ABC, and MusicXML notation dynamically from files in the Obsidian folder (relative paths) and URLs (absolute paths).
  • A download button for the rendered SVG file (the toolbar is visible when hovering the mouse over the rendered music).
  • A settings menu to adjust various rendering options.
  • Sound playback of the rendered music.
  • Highlighting of live playback notes, synced to the sound playback (syncing is still not fully reliable, though).
  • Opening the rendered file via an external editor (if you want to edit your files with one click).
  • Rendering specific measure selections.

Feel free to check it out here and leave feedback. GitHub - kpaede/Verovio-Music-Renderer: This is a plugin for Obsidian that renders and plays musical notation in the formats MEI, abc and MusicXML.

Without any doubt the resonance in this thread is rather limited, I guess the whole thing is only interesting for a certain niche (musicology etc.) So I might not keep posting in here so frequently, but I’ll try to get the plugin into the Obsidian list of external plugins.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.