bug-lilypond
[Top][All Lists]
Advanced

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

Re: Request: Accepting isolated durations as ly:music?


From: James Lowe
Subject: Re: Request: Accepting isolated durations as ly:music?
Date: Sun, 21 Feb 2016 21:00:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

Hello,

On 19/02/16 03:11, Peter Crighton wrote:
% As discussed on the User mailing list, isolated durations are currently not
% accepted as expressions of type ly:music?, thus making it impossible to
% create functions expecting either music or isolated durations with an
% arbitrary number of post events.
% http://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00478.html

\version "2.19.33"

tieFixSlash = #(define-music-function (parser location rhythm tie)
                  (ly:duration? ly:event?)
                  #{
                    \shape #'((0.5 . 0) (0.5 . 0) (0.8 . 0) (0.8 . 0)) Tie
                    $rhythm $tie
                    \once \override TieColumn.tie-configuration = #'((2 . 1))
                  #})

\new Voice \with {
   \consists "Pitch_squash_engraver"
} {
   \improvisationOn
   \tieFixSlash 4~ 4 \tieFixSlash 4(~ 4)
}

_______________________________________________
bug-lilypond mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Added as:

https://sourceforge.net/p/testlilyissues/issues/4779/

Thank you.

--
James

-------




reply via email to

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