verovio icon indicating copy to clipboard operation
verovio copied to clipboard

How to open and render a mens humdrum file in Verovio 4.1

Open RobbStarkAustria opened this issue 10 months ago • 0 comments

Describe the problem I want to render a humdrum file for mensural notation. In Verovio 3.16 I do this code and the svg-file is created without problems:

import verovio

tk = verovio.toolkit()
r = tk.loadFile("verovio_01.txt")
svg_file = "test.svg"
tk.renderToSVGFile(svg_file)

If I do the same code in 4.1 the script ended without producing the svg-file. How should I do this in 4.1 to get the same result?

To Reproduce Run the above written code with the attached mens-file.

Expected behavior Rendered svg-file

Input data use attached file

Verovio information Verovio 4.1.0 and Verovio 3.16.0

Environment information (as appropriate)

RobbStarkAustria avatar Apr 08 '24 19:04 RobbStarkAustria