Hello Maurits,

Thank you for making this utility!

I tried with a 4.4.3 file and ran into this error:


file:///usr/lib/node_modules/mscx2ly/lib.js:397
    const instruments = order.get('instrument').map((instrument) => {
                              ^

TypeError: Cannot read properties of null (reading 'get')
    at readOrderInfo (file:///usr/lib/node_modules/mscx2ly/lib.js:397:31)
    at convertMSCX2LY (file:///usr/lib/node_modules/mscx2ly/lib.js:734:23)
    at mscx2ly (file:///usr/lib/node_modules/mscx2ly/index.js:44:20)

Node.js v23.1.0


File attached.

Best wishes,
Jakob

On 05.11.2024 17.39, Maurits Lamers via LilyPond user discussion wrote:
Hey all,

I happened to be in the need of converting a few pieces of music written using MuseScore and create Lilypond notation. That functionality seems to have been originally been included with MuseScore but was removed already some time ago.

As there was nothing that I could find that would do what I wanted (and I probably also didn't look very hard), it seemed to be easier to simply write one.

This converter doesn't attempt to be a full converter. There are too many differences, and as the README already states MuseScore needs trickery with articulations to get a bit more musical sound. It can at least save you having to manually copy a lot of notes. I wrote it using files saved by MuseScore version 4.4.3, so your milage with other versions might vary.

https://www.npmjs.com/package/mscx2ly

https://github.com/mauritslamers/mscx2ly

Please try it out and contribute if you want!

cheers

Maurits


Attachment: enrose.mscz
Description: Binary data

Reply via email to