lilypond-user
[Top][All Lists]
Advanced

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

Re: Engraving a close harmony


From: Carl Sorensen
Subject: Re: Engraving a close harmony
Date: Wed, 18 Dec 2024 09:13:12 -0500



On Wed, Dec 18, 2024 at 8:59 AM Eric Roodenburg <em.roodenburg@gmail.com> wrote:
When no midi output is needed another workaround might be the use of the duration scaling function to offset one of the voices.

I love this solution!

And if you want some approximate midi output you can change the scaling factors:

\version "2.24.4"

global = {
  \key c \major
  \time 6/8
}

%{
   *101/100added for first offset  
   *99/100 added for timing correction afterwards  
%}

rightOne = \relative c'' {
  \global
  \relative c'' { e16 f f16*101/100  dis16 dis!16*99/100  e16 }
}

rightTwo = \relative c'' {
  \global
   \relative c''{ d16 g, g  d'! d! g, }
}

\score { \new Staff { << \rightOne  \\  \rightTwo >> }
}

image.png

Carl
 

reply via email to

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