Problem with partcombine and shape notes

2016-12-29 Thread Bumby Hymnal
I've run into a problem with using \partcombine while using \aikenHeads.  The
problem is that under certain circumstances the aiken shape note heads are
not used in the output of \partcombine.  The strange thing is that it
sometimes works.  The following snippet shows 4 different voices.  The
first voice is a basic scale.  The 2nd voice is exactly the same.  The
third voice is a third below the first voice, and the fourth voice
alternates between being unison and being a 3rd apart from the first voice.
Each voice is rendered independently and shows the shape notes properly.  Then
the first voice is combined with the 2nd (identical), then the 3rd (down a
3rd), and the 4th (alternating unison then a third).  The first two cases
render the shape notes properly.  The last case of with alternating unison
/ 3rds produces proper shape notes when unison, but normal (non shape)
notes when rendered as a chord.



SNIPPET:



\version "2.19.49"



firstVoice  = \relative c' { \aikenHeads c4 d e f g a b c }

sameVoice   = \relative c' { \aikenHeads c4 d e f g a b c }

thirdVoice  = \relative c' { \aikenHeads a4 b c d e f g a } fourthVoice =
\relative c' { \aikenHeads c4 b e d g f b a }



<<

  \new Staff \with { instrumentName = "firstVoice"  } \firstVoice

  \new Staff \with { instrumentName = "sameVoice"   } \sameVoice

  \new Staff \with { instrumentName = "thirdVoice"  } \thirdVoice

  \new Staff \with { instrumentName = "fourthVoice" } \fourthVoice

  \new Staff \with { instrumentName = "unison"  } \partcombine #'(2 .
12) \firstVoice \sameVoice

  \new Staff \with { instrumentName = "thirds"  } \partcombine #'(2 .
12) \firstVoice \thirdVoice

  \new Staff \with { instrumentName = "mix" } \partcombine #'(2 .
12) \firstVoice \fourthVoice

>>
\version "2.19.49"

firstVoice  = \relative c' { \aikenHeads c4 d e f g a b c }
sameVoice   = \relative c' { \aikenHeads c4 d e f g a b c }
thirdVoice  = \relative c' { \aikenHeads a4 b c d e f g a }
fourthVoice = \relative c' { \aikenHeads c4 b e d g f b a }

<<
  \new Staff \with { instrumentName = "firstVoice"  } \firstVoice
  \new Staff \with { instrumentName = "sameVoice"   } \sameVoice
  \new Staff \with { instrumentName = "thirdVoice"  } \thirdVoice
  \new Staff \with { instrumentName = "fourthVoice" } \fourthVoice
  \new Staff \with { instrumentName = "unison"  } \partcombine #'(2 . 12) \firstVoice \sameVoice
  \new Staff \with { instrumentName = "thirds"  } \partcombine #'(2 . 12) \firstVoice \thirdVoice
  \new Staff \with { instrumentName = "mix" } \partcombine #'(2 . 12) \firstVoice \fourthVoice
>>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with partcombine and shape notes

2016-12-31 Thread Bumby Hymnal
On Sat, Dec 31, 2016 at 4:57 AM, Malte Meyn  wrote:

>
> \aikenHeads is a shorthand for \set shapeNoteStyles = ##(do re miMirror fa
> sol la ti) which affects only the current Voice context. \partcombine uses
> sometimes one and sometimes two voices so it’s not always the same Voice
> context. This means that only the notes that have the same voice assignment
> as the first notes are in the same Voice context(s).
>
> This is not an \aikenHeads problem but all Voice-only \overrides and \sets
> show the same behaviour, so here’s some other examples and a solution:
>
>
Thank you for your thorough response.  That worked great - and I now have a
better understanding of how things work.

--
Jim Duke
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to control how extra horizontal space is distributed when ragged_right is false

2017-01-03 Thread Bumby Hymnal
Hello,

I've been working on typesetting hymns, and part of our style is that we
want the systems to be full width (ragged_right is false), but we also
explicitly break systems on hymn phrase boundaries.  That means that we
often have more than a typical amount of extra white space available, which
lilypond then distributes between the various objects in the system.  My
problem is that I don't like the choices that lilypond is making and can't
figure out how to control it.

I've attached to clips from Abide With Me to illustrate the problem.  These
are clips of the top half of one system; one with ragged_right false; and
one with ragged_right true.

It all looks good when ragged right is true - all the notes and lyrics have
nice even separation and are easy to read.  When stretched to the full page
width, extra space is added, it seems, based upon the length of the notes -
so the half notes get more space than the quarter notes, and the whole note
gets more than all the rest.  What I'd most prefer is that the extra white
space is distributed between all the notes more evenly.  Some slight
preference based upon the length of the note is ok; but not nearly as much
as is occurring in this example.

Here are the layout overrides I'm currently using:

\layout {
  #(layout-set-staff-size 18)
  \context {
\Lyrics
\override LyricSpace.minimum-distance = #3
\override LyricText.font-size = #0
\override LyricText.self-alignment-X = #CENTER
\override LyricHyphen.thickness = #1
\override LyricHyphen.length = #1.0
\override VerticalAxisGroup.nonstaff-nonstaff-spacing =
#'((basic-distance . 0)
   (minimum-distance . 0)
   (padding . 0.85)
   (stretchability . 0))

  }
  \context {
\Staff
\override StaffSymbol.thickness = #1
\override NoteHead.font-size = #1
#(if MajorKey #{ \aikenHeads #} #{ \aikenHeadsMinor #})
  }
  \context {
\Score
\remove "Bar_number_engraver"
  }
}

Thanks in advance for any guidance you can give me.

Jim
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to control how extra horizontal space is distributed when ragged_right is false

2017-01-03 Thread Bumby Hymnal
Thank you very much.  I've spent alot of time in the first link you sent
with little luck.  But for some reason I've skipped over the overview.
That section is very well written, I must say.  It has helped
tremendously.  There are still problems I'd like to fix; but the ones based
upon note duration I think are largely past.  I'm now trying to figure out
how to reduce the extra spacing that seems to be based upon proximity to
bar lines.

On Tue, Jan 3, 2017 at 3:30 PM, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> >
> > See  ng-horizontal-spacing>.
> >
> > Hope this helps!
> > Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user