lilypond-user
[Top][All Lists]
Advanced

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

repeated music


From: Francesco Petrogalli
Subject: repeated music
Date: Tue, 24 Nov 2009 01:51:15 +0100

Hello,

is there a simple way to make a function that generate a repetead
pattern having just a note as input? I'm writing a Brahms' piano
score, and the left hand is doing the same rhythm, just changing the
notes:

 %bar 1
  <<
    {f8( f'4 f8)} \\
    {f,2}
  >>
%bar 2
  <<
    {g8( g'4 g8)} \\
    {g,2}
  >>
%bar 3
  <<
    {c8( c'4 c8)} \\
    {c,2}
  >>

I would like to write it something like this:

\myfunction f
\myfunction g
\myfunction c

Thanks

Francesco


-- 
Francesco Petrogalli
PhD student
Dipartimento di Matematica e Informatica
Universita' degli Studi di Perugia
via Vanvitelli 1, Perugia (Italy)
phone: +39 075 585 5039
fax:   +39 075 585 5024
email: address@hidden
       address@hidden

Linux Registered User: #414858

P Funking Band
http://www.perugiafunkingband.it
http://www.myspace.com/perugiafunkingband




reply via email to

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