|
From: | Gilles |
Subject: | Re: smart rhythmic notation, can it be done? |
Date: | Fri, 24 Aug 2012 08:49:35 +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
Oups ! I should forbid me to answer a question after midnight ... Here is the good snippet ... %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \include "changePitch.ly" \version "2.14.1" % 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 patI = { c8 \samePitch { c16 ~ c}} patMusic = \relative c''{ c16 \cPI { b a g f e } d16 \bar"||" } \score { \new Staff { \time 3/4 \Music \break \smartlynotatedMusic \break \patMusic } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% and the good links For version 2.14 : http://gillesth.free.fr/Lilypond/changePitch/changePitch2.14.ly For 2.15 : http://gillesth.free.fr/Lilypond/changePitch/changePitch.ly Doc : http://gillesth.free.fr/Lilypond/changePitch/changePitch-doc.pdf Sorry.. Gilles
[Prev in Thread] | Current Thread | [Next in Thread] |