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: Xavier Scheuer
Subject: Re: Change size of all notes in one voice with partCombine
Date: Wed, 30 Jun 2021 08:07:21 +0200

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.

Cheers,
Xavier

--
Xavier Scheuer <x.scheuer@gmail.com>


reply via email to

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