[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Export to MusicXML
From: |
Jan-Peter Voigt |
Subject: |
Re: Export to MusicXML |
Date: |
Tue, 16 Oct 2018 11:04:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hello Alex,
you don't have to apologize for this question! It comes up every now and
then, but has not been answered satisfyingly yet. My answers to your
questions are:
1. Yes
2. I wrote a rudimentary engraver-based solution last year which is
waiting for clean-up and completion to support MEI, MusicXML, Humdrum,
LilyPond (!) and any other format for which an export-module with a
defined API exists.
https://github.com/jpvoigt/lilypond-export/
The code in the project is able to export a MusicXML-File for a simple
lilypond-score. The resulting files are not always correct/functional so
this is more sketch of the idea. The base is an engraver that fetches
and collects events and on score-finalization calls the specified export
module with this (normalized) music collection.
The collection is some scheme-structure, but should probably be better a
normal LilyPond music-expression.
Just a little piece of something ;-)
HTH
Jan-Peter
Am 16.10.2018 um 06:49 schrieb Alex Roitman:
> Hello,
>
> I apologize in advance if this was already asked and answered on this list.
> I’m looking into exporting some of my lilypond music into the MusicXML
> format. All I could find so far was the python-ly package that attempts to
> translate ly files into MusicXML. It has some issues that could be fixed,
> and some that I don’t think could be so easily fixed, e.g. whether or not to
> place accidentals, beams, and so on.
>
> It seems to me that the nature of the MusicXML format is such that in can
> only be correctly written when the music is interpreted in context. Which is
> what lilypond does. So I’m guessing that the right way to go about this is
> to create a new Translator, alongside Performer and Engraver, that instead of
> midi/graphical objects just dumps XML.
>
> Finally, here are my questions:
> 1. Does this seem like a right approach?
> 2. Was this ever attempted and is there any work left that one can continue?
>
> Thanks in advance for any help!
> Alex
>
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>
- Export to MusicXML, Alex Roitman, 2018/10/16
- Re: Export to MusicXML, James, 2018/10/16
- Re: Export to MusicXML,
Jan-Peter Voigt <=
- Re: Export to MusicXML, Paul Morris, 2018/10/16
- Re: Export to MusicXML, Paul Morris, 2018/10/16
- Re: Export to MusicXML, James Lowe, 2018/10/16
- Re: Export to MusicXML, David Kastrup, 2018/10/16
- Re: Export to MusicXML, Alex Roitman, 2018/10/16
- Re: Export to MusicXML, Jan-Peter Voigt, 2018/10/17
- Re: Export to MusicXML, Kieren MacMillan, 2018/10/16