lilypond-user
[Top][All Lists]
Advanced

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

Re: five sixteenth note


From: Mats Bengtsson
Subject: Re: five sixteenth note
Date: Sun, 02 Nov 2008 20:23:31 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

As has already been pointed out, you haven't included your
file rhythm.ly so we do not have any possibility to test your
code, but if you want a note with a duration of 5 sixteenth,
what's wrong with
c16*5 or c4*5/4

  /Mats

Stefan Thomas wrote:
Dear Lilypond users,
I hope, I am not boring. But I found out a possibilitie to get very easily a five-sixteenth note. with the use of the "make-rhythm"-function. If You like it, please feel free to use it!

\version "2.11.60"
\include "rhythm.ly <http://rhythm.ly>"
viertelsechzehntel = #(define-music-function (parser location music) (ly:music?) #{ \makeRhythm $music "4 16" #})

vs = #(define-music-function (parser location x) (ly:music?)
#{
\context Voice << { \viertelsechzehntel { $x $x } } { s4 ~ s16 } >>
#})
\relative { \time 5/16 \vs c \vs d \vs e \vs \vs 4 <c e g> }

------------------------------------------------------------------------

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


--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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