lilypond-devel
[Top][All Lists]

## [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