[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: showing counterpoint in solo music
From: |
Gilles THIBAULT |
Subject: |
Re: showing counterpoint in solo music |
Date: |
Sun, 21 Nov 2010 22:40:31 +0100 |
<<
{ f16 d' b g e c | d b' g e c a' }
\\
> { f16[ s s s e s] | d[ s s s c s] }
>>
that means the score has to be typed twice.
Well, if you really want to repeat this construct a lot of time, changing
only notes, you can use the snippet shortly described here :
http://lsr.dsi.unimi.it/LSR/Item?id=654
You can download the "changePitch.ly" file (and perhaps,too the help pdf
file
if you need it) here :
http://gillesth.free.fr/Lilypond/changePitch/
The only difficult work is to find the good pattern, but after that,
it is very very quick ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include "changePitch.ly"
pattern = {
<<
\samePitch { <<
{c16 s s s s s}
\\
{c16[ s s s s] s}
>>
}
\context Voice = "1" {s16 c c c s s}
\samePitch { <<
{s16 s s s c s} \\
{s16 s s s c s}
>>
}
\context Voice = "1" {s16 s s s s c}
>>
|
}
\new Staff \relative c' {
\time 3/8
\changePitch \pattern {
f d' b g e c
d b' g e c a'
% add other notes here ...
}
}
%%%%%%%%%%%%%%%%%%%%%%%
Gilles
Bach.png
Description: PNG image