|
From: | Gilles |
Subject: | Re: smart rhythmic notation, can it be done? |
Date: | Fri, 24 Aug 2012 00:09:57 +0200 |
User-agent: | Opera Mail/12.01 (Win64) |
is it possible to get an automatism for smart rhythmic notation.
You can use patterns http://lsr.dsi.unimi.it/LSR/Item?id=654 but perhaps it is not what you wished %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \include "extractMusic.ly" % the following would be fastly written, bad looks bad: Music= \relative c'' { c16 b8 a g f e d16\bar"||" } % the following looks good, but would be more work to do smartlynotatedMusic = \relative c'' { c16 b8 a16 ~ a g8 f16 ~ f e8 d16 \bar"||" } % the following needs to prepare a pattern only once. patI = { c8 \samePitch { c16 ~ c}} patMusic = \relative c''{ c16 \cPI { b a g f e } d16 } \score { \new Staff { \time 3/4 \Music \break \smartlynotatedMusic \break \patMusic } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Gilles NB For version 2.14 : http://gillesth.free.fr/Lilypond/extractMusic/extractMusic2.14.ly For 2.15 : http://gillesth.free.fr/Lilypond/extractMusic/extractMusic.ly Doc : http://gillesth.free.fr/Lilypond/extractMusic/extractMusic-doc.pdf
[Prev in Thread] | Current Thread | [Next in Thread] |