]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Fix graces to allow beams, chords, etc.
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 21 Sep 2007 07:40:11 +0000 (09:40 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 3 Oct 2007 16:40:08 +0000 (18:40 +0200)
commit33e002e3b1eef9296e4d945bdb44b105a20f82f7
treea7f2ff70bdc8c495969dd3cb9d04079d97d9a6e0
parentf658c7e7886608a24b9879e6bf34dff3213210a2
MusicXML: Fix graces to allow beams, chords, etc.

Instead of keeping an array of grace elements for each chord,
rather use a full SequentialMusic object that holds EventChords
(so we can insert beams, real grace chords, etc.). For this we also
need a method in the SequentialMusic class to get the last chord.
Depending on the slash attribute of the <grace> element, we now
use acciaccatura rather than grace for slashed grace notes.

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
python/musicexp.py
scripts/musicxml2ly.py