Stefan Thomas <kontrapunktste...@gmail.com> 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 <d...@gnu.org> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user