lilypond-user
[Top][All Lists]
Advanced

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

trill syntax


From: Flaming Hakama by Elaine
Subject: trill syntax
Date: Mon, 25 Sep 2017 15:05:38 -0700

> I am not top posting

\version "2.19.15" 


%  Ran into some issues working with trills.
%  I wonder if there are more semantically appropriate ways to get decent output?

%  The default for adjacent trills is cluttered, 
%  and there is no clean way to specify the stop of the last trill if it is the last note.
%  This attempt at something semantically appropriate produces the error 
%  "programming error: bounds of this piece aren't breakable."

\relative c'' {
        g2\startTrillSpan        
        fis2\stopTrillSpan \startTrillSpan |
        f?2\stopTrillSpan \startTrillSpan        
        e2\stopTrillSpan \startTrillSpan | <>\stopTrillSpan || 
}

%  Here is my solution so far:

trills = \relative c'' {
    g2*3/4\startTrillSpan s2*1/4\stopTrillSpan
    fis2*3/4\startTrillSpan s2*1/4\stopTrillSpan |
    f?2*3/4\startTrillSpan s2*1/4\stopTrillSpan        
    e2*3/4\startTrillSpan s2*1/4\stopTrillSpan || 
}
\score {
    \trills
}

%  In order to get these trills to be longer, is there a minimum-length property?
%  Settting a score-wide property works, but I was hoping there would be 
%  something more trill-specific, or localized to a few measures. 

\score {
    \trills
    \layout {
        \context {
            \Score
            \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
        }
    } 
}



Thanks for any ideas or suggestions.


David Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

reply via email to

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