lilypond-user
[Top][All Lists]
Advanced

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

Re: rhythm makro for tremolo


From: Gilles THIBAULT
Subject: Re: rhythm makro for tremolo
Date: Sun, 22 Nov 2009 23:12:07 +0100

 

Dear community,
is there a possibilitie to use the great macro for rhythms ( see:   http://lsr.dsi.unimi.it/LSR/Snippet?id=390  )
also for tremolos?
 
Yes but use this snippet instead :
http://lsr.dsi.unimi.it/LSR/Item?id=487
 
I made a new version of this function but i have not yet updated the LSR. So I join the last changePitch.ly files that i use.
You can use this function like that :
 
%%%%%%%%%%%
\include "changePitch.ly"
 
pattern =  {c4:32 c8:32 c8:32}
 
\new Voice \relative {
    \changePitch \pattern  {
          c-> d-. e-. f-> g-. f-.
          e(\f d\> c d e d
          c)\p    
    }

}
 
It should work with drum parts too.
 
Gilles
 

Attachment: changePitch.ly
Description: Binary data


reply via email to

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