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

2021-07-03 Thread Dinh Hoang Tu
Hello Aaron, It works wonderfully, using combination of functions ^^ This really helps! Many many thanks!! Thank you and good day to all. Best, Tu' On Fri, 2 Jul 2021 at 12:55, Aaron Hill wrote: > On 2021-07-01 10:44 pm, Aaron Hill wrote: > > [...] > > Also, here's a minor refactor of \localF

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

2021-07-01 Thread Aaron Hill
On 2021-07-01 10:44 pm, Aaron Hill wrote: [...] Also, here's a minor refactor of \localFontSize better separating some concerns: \version "2.22.0" localFontSize = #(define-music-function (font-size music) (number? ly:music?) (map (lambda (m) (ly:music-set-property! m 'twe

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

2021-07-01 Thread Aaron Hill
On 2021-07-01 10:11 pm, Dinh Hoang Tu wrote: Yes, I did try \partCombineChords, but it doesn't seem what I expect. Expectation is 2 notes on same stem, one upper, one lower, not on separate stems. Below is the test and attached result (2 notes have separate stems) \version "2.22.1" localFontS

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

2021-07-01 Thread Dinh Hoang Tu
Yes, I did try \partCombineChords, but it doesn't seem what I expect. Expectation is 2 notes on same stem, one upper, one lower, not on separate stems. Below is the test and attached result (2 notes have separate stems) \version "2.22.1" localFontSize = #(define-music-function (font-size music) (

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

2021-07-01 Thread Leo Correia de Verdier
If you use the \partCombineChords command in one of the voices (as in the snippet I sent with last mail) it should override the default behavior of partCombine and work without tricks or problems. Did you try it? > 1 juli 2021 kl. 17:44 skrev Dinh Hoang Tu : > > Hello Leo, > > Thanks for your

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

2021-07-01 Thread Dinh Hoang Tu
Hello Leo, Thanks for your explanation. Got your point, totally agree it should not combine when 2 voices are identical, otherwise it's confusing: cannot distinguish 2 voices. But when I use different font-sizes to distinguish 2 voices, I can only combine them when 2 voices are on same side of one

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

2021-07-01 Thread Leo Correia de Verdier
As a more general tip: if you want all stems to be pointing up you can specify that on document or score level in a layout block, like \layout { \context { \Voice \override Stem.direction = #UP }} Or on a staff level in \with statements, like \new Staff

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

2021-07-01 Thread Leo Correia de Verdier
This is the intended behavior of partCombine. In the usual use case, with the same notehead size you still want to be able to follow each voice, so partCombine doesn’t merge them into chords when they’re crossed. (This is obscured in your first example because you are using \stemUp there, otherw

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

2021-06-30 Thread Dinh Hoang Tu
Sorry for short description in my last email. I mean when 2nd voice has notes going upper and lower than 1st voice, \partCombine won't combine 2 notes. There is a gap between 2 stems, as in attached image. Many thanks, Tu' On Thu, 1 Jul 2021 at 09:35, Dinh Hoang Tu wrote: > Hello Jean and all,

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

2021-06-30 Thread David Wright
On Wed 30 Jun 2021 at 23:00:47 (+0200), Jean Abou Samra wrote: > > > > > > > > > Le 30/06/2021 16:47, Dinh Hoang Tu a écrit : > > > > > > > > > > Hello Jean, Xavier, > > > > > > I

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

2021-06-30 Thread Dinh Hoang Tu
Hello Jean and all, I would love to contribute if I can :) Using this in one music sheet, if 2nd voice has notes going upper and lower than 1st voice, \partCombine will not work. \version "2.22.1" localFontSize = #(define-music-function (font-size music) (number? ly:music?) (for-some-music

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

2021-06-30 Thread Jean Abou Samra
Le 30/06/2021 16:47, Dinh Hoang Tu a écrit : 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-

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

2021-06-30 Thread Dinh Hoang Tu
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 go

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

2021-06-30 Thread Jean Abou Samra
> Le 30/06/2021 08:07, Xavier Scheuer a écrit : > > > On Tue, 29 Jun 2021 at 18:26, Jean Abou Samra 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 co

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

2021-06-29 Thread Jean Abou Samra
> Le 30/06/2021 04:17, Dinh Hoang Tu a écrit : > > > Hi Jean, > > It works wonderfully! > Many thanks for your help! > > We can close the support here. Thanks Jean, Knute! > > Just my notice maybe out of scope: when I select 1 note on Frescobaldi, whole > tweaked part is selected > I can w

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

2021-06-29 Thread Xavier Scheuer
On Tue, 29 Jun 2021 at 18:26, Jean Abou Samra 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.

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

2021-06-29 Thread Dinh Hoang Tu
Hi Jean, It works wonderfully! Many thanks for your help! We can close the support here. Thanks Jean, Knute! Just my notice maybe out of scope: when I select 1 note on Frescobaldi, whole tweaked part is selected I can work around on it. Best, Tu' DINH On Tue, 29 Jun 2021 at 23:26, Jean Abou Sa

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

2021-06-29 Thread Jean Abou Samra
> Le 29/06/2021 16:18, Knute Snortum a écrit : > > > On Mon, Jun 28, 2021 at 6:07 PM Dinh Hoang Tu wrote: > > > > Hello Knute Snortum, > > Thanks for your reply. > > I just tried \magnifyMusic but it makes both voices after \partCombine > > smaller, not only the selected voice. > > Did I mak

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

2021-06-29 Thread Knute Snortum
On Mon, Jun 28, 2021 at 6:07 PM Dinh Hoang Tu wrote: > > Hello Knute Snortum, > > Thanks for your reply. > I just tried \magnifyMusic but it makes both voices after \partCombine > smaller, not only the selected voice. > Did I make a mistake here? > > \version "2.22.1" > smallNote = \tweak font-si

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

2021-06-28 Thread Dinh Hoang Tu
Hello Knute Snortum, Thanks for your reply. I just tried \magnifyMusic but it makes both voices after \partCombine smaller, not only the selected voice. Did I make a mistake here? \version "2.22.1" smallNote = \tweak font-size -3 \etc soprano = { f'4 g'4 a'4 b'4 c''2 } basso = { \smallNote d'4 \s

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

2021-06-28 Thread Knute Snortum
Have you tried \magnifyMusic? https://lilypond.org/doc/v2.22/Documentation/notation/inside-the-staff#selecting-notation-font-size -- Knute Snortum -- Knute Snortum On Mon, Jun 28, 2021 at 7:22 AM Dinh Hoang Tu wrote: > > Hello Lilypond team and users, > > I tried to combine 2 voices having

Change size of all notes in one voice with partCombine

2021-06-28 Thread Dinh Hoang Tu
Hello Lilypond team and users, I tried to combine 2 voices having identical rythm: notes of 2 voices share same stem and same side, one note upper, other lower. I found \partCombine is suitable for this. Then I tried to make all notes of 2nd voice smaller, and found \tweak can be used (I did tried