lilypond-user
[Top][All Lists]
Advanced

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

Re: trying to create a function with different pitches and different rhy


From: David Kastrup
Subject: Re: trying to create a function with different pitches and different rhythms
Date: Sat, 23 Jun 2018 12:41:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Thomas <address@hidden> writes:

> Dear community,
> I want to create a function, which adds automatically a crescendo from ppp
> to pp to two tied pitches with different durations.
> What  I dont understand:
> I can create a function with the same pitch and different durations, I can
> also create a function with diferent pitches and same durations, but if
> both are choosen freely, I can't do it. Can someon give me a hint, whats
> wrong with the code?
>
> \version "2.18.2"
>
> \layout {  \context { \Voice \override Hairpin.minimum-length = #10 }  }
>
> %different durations, different  pitches, this doesn't work, why?

Well, what's wrong is the version.

commit ee4b49239c2aeb7ed6b4609391566a276ca0d47c
Author: David Kastrup <address@hidden>
Date:   Fri Dec 13 06:01:43 2013 +0100

    Parser: properly disambiguate pitches from music in function arguments
    
    In many instances, function arguments were parsed greedily without
    looking at the function argument predicates first.  This did not allow
    using subsequent function arguments of type pitch and duration since
    they were combined into one music expression.

Embarrassingly without issue number.  But the corresponding version
appears to be 2.19.0.

So just use the latest stable prerelease (2.19.81 right now, but I have
put 2.19.82 in the queue and it might surface some time next week or
so).

-- 
David Kastrup



reply via email to

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