lilypond-user
[Top][All Lists]
Advanced

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

Re: polyrhythm with multiple tempi


From: Lukas-Fabian Moser
Subject: Re: polyrhythm with multiple tempi
Date: Wed, 11 Dec 2019 07:19:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1

Hi Kieren,

Am 10.12.19 um 22:54 schrieb Kieren MacMillan:
Hi all,

Please consider the following snippet:

%%%  SNIPPET BEGINS
\version "2.19.83"

\layout {
   \context {
     \Score
     \remove "Timing_translator"
     \remove "Default_bar_line_engraver"
     \remove "Metronome_mark_engraver"
   }
   \context {
     \Staff
     \consists "Timing_translator"
     \consists "Default_bar_line_engraver"
     \consists "Metronome_mark_engraver"
   }
}

slower = {
   \tempo 4=80
   \scaleDurations 120/80 { \repeat unfold 12 { c'4 } }
}

faster = {
   \tempo 4=120
   \repeat unfold 16 { c'4 }
}

\score {
   <<
     \new Staff \slower
     \new Staff \faster
   >>
}
%%%  SNIPPET ENDS

The polyrhythm stretches out and lines up as expected, but I can’t seem to get 
the barlines to offset [despite moving the engravers I thought were required]. 
Corrections/hints appreciated.

\scaleDurations does not scale the measure length as well. Try inserting

  \set Timing.measureLength = #(ly:make-moment 12/8)

in the \slower part.

See you in Salzburg!
Lukas




reply via email to

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