lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCHES] musicxml2ly patches revisited


From: Reinhold Kainhofer
Subject: [PATCHES] musicxml2ly patches revisited
Date: Mon, 20 Aug 2007 00:44:08 +0200
User-agent: KMail/1.9.6

Next round of patches: After Han-Wens comments about coding style (no 
exceptions, spaces, etc.), I reworked all my patches so far. Here they are 
all again:

-) 0001-Convert-articulations-like-fermata-staccato-tenuto.patch:
Convert articulations like fermata, staccato, tenuto, tremolo (only 
single-note tremolo), accents, etc.
These entries in the xml are inside the <notation>...</notation> tags, listed 
in the <ornaments>, <technical> and <articulations> tags.

-) 0002-Sorting-of-the-parts-in-the-.ly-output.-Currently-t.patch:
Sorting of the parts in the .ly output. Currently, their order was not first 
staff, second staff, third, etc. but seemingly random
Basically, I use the part_list to sort the individual music voices in the 
order as they appear in the score before printing them out.

-) 0003-Also-convert-0-in-part-ids-to-Zero-simplify-tha.patch:
Also convert '0' in part ids to 'Zero', simplify that code a bit.

-) 0004-Don-t-crash-when-a-score-does-not-have-an-explicit-k.patch:
Don't crash when a score does not have an explicit key or clef set (e.g. 
Rosegarden produces such files).

-) 0005-Convert-dynamic-marks-given-in-a-direction-tag-a.patch:
Convert dynamic marks (given in a <direction> tag, assigned to the staff at a 
given position in xml, not to a note like in lilypond)
In the LilyPondVoiceBuilder, I added a method to store any pending dynamics 
and print them out only after the next note or rest (everything with 
duration>0) is encountered.
Also convert (de-)crescendo (begin/end also given in a <direction> tag, not 
assigned to a particular note)
Comment about broken dynamics, when they appear as first element of a part 
before any note (so that no voice_id is known yet).


Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/

Attachment: 0001-Convert-articulations-like-fermata-staccato-tenuto.patch
Description: Text Data

Attachment: 0002-Sorting-of-the-parts-in-the-.ly-output.-Currently-t.patch
Description: Text Data

Attachment: 0005-Convert-dynamic-marks-given-in-a-direction-tag-a.patch
Description: Text Data

Attachment: 0003-Also-convert-0-in-part-ids-to-Zero-simplify-tha.patch
Description: Text Data

Attachment: 0004-Don-t-crash-when-a-score-does-not-have-an-explicit-k.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]