[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: routine pour arpèges ou accords
From: |
Martial |
Subject: |
Re: routine pour arpèges ou accords |
Date: |
Fri, 24 Apr 2009 06:47:51 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
je suis tombé sur un morceau de code nommé rhythm.ly
qui ressemble furieusement à ce que je cherche, mais comment
l'utiliser ?
comme ça : (je ne sais plus qui est l'auteur)
%%----------------------
\version "2.12.2"
\include "rhythm.ly"
makeCrochePointeeDouble = #(define-music-function (parser location
music) (ly:music?)
#{
\makeRhythm $music "8. 16"
#})
makeCrocheDeuxDoubles = #(define-music-function (parser location music)
(ly:music?)
#{
\makeRhythm $music "8 16 16"
#})
makeBarcaroleSicilienne = #(define-music-function (parser location
music) (ly:music?)
#{
\makeRhythm $music "4 8 8. 16 8"
#})
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{ \new Staff \relative
{
\makeCrochePointeeDouble {c d e f g f e d <c e> <d f> <e g> <d
f> }
<c e>2 \break
\makeCrocheDeuxDoubles {c d e d e f e f g f <e g> <f a> }
<e gis>2. a4 \break
\time 6/8
\makeBarcaroleSicilienne
{
c d e f e
d b g a b
c a a gis a
b gis
}
e4.
}
}
%%----------------------
--
Martial
http://cathemline.org