|
From: | Dinh Hoang Tu |
Subject: | Re: Change size of all notes in one voice with partCombine |
Date: | Wed, 30 Jun 2021 21:47:16 +0700 |
> Le 30/06/2021 08:07, Xavier Scheuer <x.scheuer@gmail.com> a écrit :
>
>
> On Tue, 29 Jun 2021 at 18:26, Jean Abou Samra <jean@abou-samra.fr> wrote:
> >
> >
> > \magnifyMusic works on Voice level. When \partCombine puts the notes together in chords, they are in the same Voice. Same problem with \override and similar. You could \tweak every note automatically with something like
> >
> > \version "2.22.0"
> >
> > localFontSize =
> > #(define-music-function (font-size music) (number? ly:music?)
> > (music-map
> > (lambda (m)
> > (if (music-is-of-type? m 'rhythmic-event)
> > (tweak 'font-size font-size m)
> > m))
> > music))
> >
> > soprano = { d' e' f' g' f' g' a' b' }
> >
> > tenor = \localFontSize -3 { d' e' f' g' d' e' f' g' }
> >
> > \new Score { \new Staff << \partCombineUp \soprano \tenor >> }
>
>
> Hi Jean,
>
> Do you mind adding this to the LSR? https://lsr.di.unimi.it/LSR/
> Actually other tricks you gave recently would be useful there too!
>
> Thank you and have a nice day.
Hello Xavier,
I just submitted it to the LSR. Note that I actually have
some ideas currently simmering that would allow someone
knowledgeable about \partCombine to overhaul it in a way
that would make this kind of tweaks more simple. Though,
if wishes were horses …
Best,
Jean
[Prev in Thread] | Current Thread | [Next in Thread] |