lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI dynamics parsing error


From: David Kastrup
Subject: Re: MIDI dynamics parsing error
Date: Sun, 18 May 2014 12:28:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2014-05-18 7:20 GMT+02:00 David Kastrup <address@hidden>:
>> Knute Snortum <address@hidden> writes:
>>
>>> My situation is I need to transcribe a crescendo starting without a dynamic
>>> marking.  If I put in a \mf then I don't get warning.  If I can hide the
>>> dynamic mark, all will be fine.  Is there a \hide syntax that will work?
>
> Omitting the DynamicText.stencil will not cause the Hairpin to start as usual.
> Resetting the parent of the Hairpin my work:
>
> \version "2.18.0"
>
> \score
> {
>   {
>     \once \override Hairpin.after-line-breaking =
>       #(lambda (grob)
>          (let ((dyn-txt (ly:spanner-bound grob LEFT)))
>            (ly:grob-set-property! dyn-txt 'stencil #f)
>            (ly:spanner-set-bound! grob LEFT (ly:grob-parent dyn-txt X))))
>     c'1\mf\> c' c'\!
>   }
>   \layout {}
>   \midi {}
> }

If \omit is too strong and \hide leaves too much space, maybe overriding
the stencil with point-stencil will work?

-- 
David Kastrup



reply via email to

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