lilypond-user
[Top][All Lists]
Advanced

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

Re: Change size of all notes in one voice with partCombine


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

Hello Jean, Xavier,

I think these music functions are useful enough to be integrated into Lilypond itself.
I put them in my local music-functions-init.ly for personal use.
But it will be helpful for Lilypond users, including myself, to have these handy features by default.

Thank you and have a good day.

Tu'



On Wed, 30 Jun 2021 at 15:22, Jean Abou Samra <jean@abou-samra.fr> wrote:

> 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

reply via email to

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