lilypond-user
[Top][All Lists]
Advanced

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

Re: stem length in polyphony


From: Pierre Perol-Schneider
Subject: Re: stem length in polyphony
Date: Sun, 13 Jul 2014 11:29:09 +0200

Hi Bart,

2014-07-13 10:52 GMT+02:00 bart deruyter <address@hidden>:

I've attached an image and a .ly example.

Here's what I'd do :

\version "2.18.2"

global = {
  \key e \minor
  \time 2/4
}

upper = \relative e' {
  \global
  s2 |
  \bar "|."
}

lower = \relative e {
  \global
  e4
  dis8 dis |
}

centerup = \relative e' {
  \global
  d16\rest g fis e fis8 fis |
}

centerlow = \relative e {
  \global
  s16 b' a g 
  \override Beam.positions = #'(-3.5 . -3)
  \tweak NoteColumn.force-hshift #1.1
  a16 b
  \tweak NoteColumn.force-hshift #1.1
  a[ b] |
  \revert Beam.positions
}

\new Staff {
  \clef "treble_8"
  << \upper \\ \lower \\ \centerup \\ \centerlow >>
}


I've tried overriding the beamed lengths of the 16th notes, but it does not seem to work  with e.g. \override Stem.details.beamed-lengths = #'(0.5) . This override does work in a single voice.

Try : \override Beam.positions (see above).
 
I searched and found a possible solution, on a pdf I found on the web, which looks good, but I have no idea how to achieve it in lilypond,

Try :

\version "2.18.2"

global = {
  \key e \minor
  \time 2/4
}

upper = \relative e' {
  \global
  s2 |
  \bar "|."
}

lower = \relative e {
  \global
  e4
  dis8 dis |
}

centerup = \relative e' {
  \global
  d16\rest g fis e fis8 fis |
}

centerlow = \relative e {
  \global
  s16 b' a g 
  \stemUp
  \override Beam.positions = #'(2 . 2.5)
  \shiftOnn
  a16 b a[ b] |
  \revert Beam.positions
}

\new Staff {
  \clef "treble_8"
  << \upper \\ \lower \\ \centerup \\ \centerlow >>
}


Cheers,
Pierre


reply via email to

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