lilypond-devel
[Top][All Lists]
Advanced

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

[PATCH] Allow bendAfter with non-integers


From: Reinhold Kainhofer
Subject: [PATCH] Allow bendAfter with non-integers
Date: Wed, 12 Mar 2008 18:18:16 +0100
User-agent: KMail/1.9.9

Attached is a patch that allows \bendAfter #... with non-integers. Currently, 
the signature of the bendAfter function checks for integers, but the code 
later supports any double number, too. In particular, the value is simply 
stored as 'delta-position in BendAfterEvent and then in bend::print the first 
thing that is done is to multiply it by 0.5, thus converting it to a double 
anyway.

The reason for my change is that MusicXML also allows microtone bends, so I 
wanted to support them in musicxml2ly, too.

The patch looks much larger than it actually is: All it does is to change 
integer? to number? in the bendAfter signature... The rest are just changes 
to the lilypond and musicxml2ly regression tests...

Okay to apply?

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-Allow-non-integer-numbers-as-bend-deltas-too.patch
Description: Text Data


reply via email to

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