\magnifyMusic omits unison notes in \partcombine?

2017-04-28 Thread Karlin High
A songwriter looked at my LilyPond job and asked, "Can you make the note 
heads bigger in proportion to everything else?" Yes, thanks to 
\magnifyMusic, I thought. It's a SATB hymn, I'm using \partcombine, and 
apparently \magnifyMusic doesn't pick up the unison notes the way I'm 
writing it. Minimal example below, PNG result attached. Magnify is at 
1.2 for effect; I'm using 1.1 in practice.

% BEGIN LILYPOND CODE
\version "2.19.59"
one = { a'2 f' }
two = { f'2 f' }
\partcombine #'(2 . 9) \magnifyMusic 1.2 { \one } \magnifyMusic 1.2 { \two }
% END LILYPOND CODE

I've found I need to put \magnifyMusic inside \partcombine, because it 
seems to have no effect the other way around. Any ideas for how I could 
get \magnifyMusic to catch the unison notes?
--
Karlin High
Missouri, USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\magnifyMusic omits unison notes in \partcombine?

2017-04-29 Thread Karlin High
A songwriter looked at my LilyPond job and asked, "Can you make the note 
heads bigger in proportion to everything else?" Yes, thanks to 
\magnifyMusic, I thought. It's a SATB hymn, I'm using \partcombine, and 
apparently \magnifyMusic doesn't pick up the unison notes the way I'm 
writing it. Minimal example below. Magnify is at 1.2 here for effect; 
I'm using 1.1 in practice.

% BEGIN LILYPOND CODE
\version "2.19.59"
one = { a'2 f' }
two = { f'2 f' }
\partcombine #'(2 . 9) \magnifyMusic 1.2 { \one } \magnifyMusic 1.2 { \two }
% END LILYPOND CODE

I've found I need to put \magnifyMusic inside \partcombine, because it 
seems to have no effect the other way around. Any ideas for how I could 
get \magnifyMusic to catch the unison notes?
--
Karlin High
Missouri, USA

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


Re: \magnifyMusic omits unison notes in \partcombine?

2017-04-29 Thread Manuela Gößnitzer
What is the pair for? When I omit it, everything works fine, check it out

\version "2.19.56"

one = { a'2 f' }
two = { f'2 f' }

\partcombine \magnifyMusic 1.2 \one \magnifyMusic 1.2 \two

Greetings,
Manuela

2017-04-28 0:02 GMT+02:00 Karlin High :

> A songwriter looked at my LilyPond job and asked, "Can you make the note
> heads bigger in proportion to everything else?" Yes, thanks to
> \magnifyMusic, I thought. It's a SATB hymn, I'm using \partcombine, and
> apparently \magnifyMusic doesn't pick up the unison notes the way I'm
> writing it. Minimal example below, PNG result attached. Magnify is at
> 1.2 for effect; I'm using 1.1 in practice.
>
> % BEGIN LILYPOND CODE
> \version "2.19.59"
> one = { a'2 f' }
> two = { f'2 f' }
> \partcombine #'(2 . 9) \magnifyMusic 1.2 { \one } \magnifyMusic 1.2 { \two
> }
> % END LILYPOND CODE
>
> I've found I need to put \magnifyMusic inside \partcombine, because it
> seems to have no effect the other way around. Any ideas for how I could
> get \magnifyMusic to catch the unison notes?
> --
> Karlin High
> Missouri, USA
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \magnifyMusic omits unison notes in \partcombine?

2017-04-29 Thread Klaus Blum
Manuela wrote
> What is the pair for? When I omit it, everything works fine, check it out

Optional chord-range sets the distance in steps between notes that may be
combined into a chord or unison.
(From the LilyPond NR, this is new in 2.19)

\partcombine #'(2 . 9) ... indicates that the smallest interval to be
combined is a third (2 steps). Seconds (1 step) and unison (0 steps) are
excluded. 
\partcombine #'(0 . 9) ... would work as well. 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/magnifyMusic-omits-unison-notes-in-partcombine-tp202773p202783.html
Sent from the User mailing list archive at Nabble.com.

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


Re: \magnifyMusic omits unison notes in \partcombine?

2017-04-29 Thread Thomas Morley
2017-04-28 0:02 GMT+02:00 Karlin High :
> A songwriter looked at my LilyPond job and asked, "Can you make the note
> heads bigger in proportion to everything else?" Yes, thanks to
> \magnifyMusic, I thought. It's a SATB hymn, I'm using \partcombine, and
> apparently \magnifyMusic doesn't pick up the unison notes the way I'm
> writing it. Minimal example below, PNG result attached. Magnify is at
> 1.2 for effect; I'm using 1.1 in practice.
>
> % BEGIN LILYPOND CODE
> \version "2.19.59"
> one = { a'2 f' }
> two = { f'2 f' }
> \partcombine #'(2 . 9) \magnifyMusic 1.2 { \one } \magnifyMusic 1.2 { \two }
> % END LILYPOND CODE
>
> I've found I need to put \magnifyMusic inside \partcombine, because it
> seems to have no effect the other way around. Any ideas for how I could
> get \magnifyMusic to catch the unison notes?
> --
> Karlin High
> Missouri, USA
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Under the hood \partcombine distributes the music to up to four
different Voices. They are called "one", "two", "shared" and "solo".
(And a NullVoice called "null".)
\magnifyMusic is applied to a Bottom-context.
Meaning, if the context is changed, for example from a Voice called
"shared" to a Voice called "one" magnifyMusic is not longer applied.
That's usual behaviour for all
overrides/context-settings/music-functions etc
A general feature not a bug.

You could create those Voices yourself, keep them alive and apply
magnifyMusic there.
Though why not set an appropriate fontSizeValue for all Voices in layout?

Below both codings:

\version "2.19.59"

one = { a'2  f' }
two = { f'2  f' }

\new Staff <<
  \context Voice = "one" { \voiceOne \magnifyMusic 2 #(skip-of-length one) }
  \context Voice = "two" { \voiceTwo \magnifyMusic 2 #(skip-of-length two) }
  \context Voice = "shared" { \magnifyMusic 2 #(skip-of-length one) }
  \context Voice = "solo" { \magnifyMusic 2 #(skip-of-length one) }

  \partcombine #'(2 . 9)
  \one
  \two
>>

\score {
  \new Staff
\partcombine #'(2 . 9)
\one
\two
  \layout {
\context {
  \Voice
  fontSize = #(magnification->font-size 2)
}
  }
}



HTH,
  Harm

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


Re: \magnifyMusic omits unison notes in \partcombine?

2017-04-29 Thread Karlin High
Thomas Morley-2 wrote
> Under the hood \partcombine distributes the music to up to four different
> Voices. They are called "one", "two", "shared" and "solo".

Thank you very much for the primer on how \partcombine works. I noticed the
notes moving to different tracks in the MIDI output each time I'd use
\partcombineApart or similar. But I was never certain what was going on with
those. This explains it well.
--
Karlin High
Missouri, USA



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/magnifyMusic-omits-unison-notes-in-partcombine-tp202773p202792.html
Sent from the User mailing list archive at Nabble.com.

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