lilypond-user
[Top][All Lists]
Advanced

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

Re: rhythm fragments in different pitches


From: Gilles
Subject: Re: rhythm fragments in different pitches
Date: Sat, 22 Sep 2012 16:07:22 +0200
User-agent: Opera Mail/12.02 (Win64)

Le Sat, 22 Sep 2012 14:44:19 +0200, Gilles <address@hidden> a écrit:


I am trying to code a piece with voices that use the same rhythmical fragment over and over again. [..]

Perhaps this one :
http://lsr.dsi.unimi.it/LSR/Item?id=654

Oh to bad. When i send my message, i had no answers from anybody to the initial message... Sorry

I answer to all messages at one time :
  > I get a whole set of errors
At the end of the snippet, there is a link "here", to download the *last* version of the snippet. Old versions don't work with Lilypond 2.16.
Well, i must admit that i didn't test \changePitch with 2.17

  > applyRhythm = #(define-music-function [...]
The code given by David is an example for all of conciseness, but has some limitations
  1- Doesn't work with chords
        melody = \relative c { a <d f> g f e b} % error
  2- All articulations in melody will be ignored
melody = \relative c { a\p d-> g( f e) b} will gave the same result than
        melody = \relative c { a d g f e b}
  3- You cannot have rests in the patterns
        so you cannot have a pattern like :
        rhythm = { c8 r8 r8. c16 }


--
Gilles



reply via email to

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