[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rhythm fragments in different pitches
From: |
David Kastrup |
Subject: |
Re: rhythm fragments in different pitches |
Date: |
Sat, 22 Sep 2012 11:25:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
"Dr. med. Kai Lautenschläger" <address@hidden> writes:
> Hi Everyone,
>
> Although I am positive, that I read about this in the list, I cannot
> find it anymore. So I kindly ask for a pointer in the right direction.
>
> I am trying to code a piece with voices that use the same rhythmical
> fragment over and over again. I would like to write something like:
>
>
> \version "2.17.2"
>
> rhythm = { s8.[ s16] }
> melody = \relative c { a d g f e b}
>
> \score {
> \new staff <<
> \relative c { g2 d8 h e4 f }
> \applyRhythm \rhythm \melody
> \relative c { g2 d8 h e4 f }
>>>
> \layout { }
> }
>
It is annoying how many bugs you built into your skeleton. You should
really try to make them work except for the missing parts. At any rate,
it would appear that something like
xxx.ly
Description: Text document
does the trick.
--
David Kastrup
Re: rhythm fragments in different pitches, Gilles, 2012/09/22