lilypond-user
[Top][All Lists]
Advanced

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

Re: Mostly unisono multi-voice staff also merging whole notes together


From: Carl Sorensen
Subject: Re: Mostly unisono multi-voice staff also merging whole notes together
Date: Sun, 12 Sep 2021 00:17:05 +0000
User-agent: Microsoft-MacOutlook/10.10.1b.201012


On 9/11/21, 1:03 PM, "lilypond-user on behalf of Hans Aikema" 
<lilypond-user-bounces+carl.d.sorensen=gmail.com@gnu.org on behalf of 
hans.aikema@aikebah.net> wrote:

    Hi all,
    
    In a score I have two parts (Alto I and II) that’s for most of the score 
unisono.
    
    In order to be able to also generate rehearsal midis by voice (with the 
concerned voice highlighted by diminishing the volume of other voices) I would 
like to retain the full individual voices.

When I want to do this, I use partcombine:

\version "2.22"
  AltoIa = {  \partCombineUnisono f'1 |  \partCombineAutomatic f'1~ | f'1 | 
f'2( g'4 a'4) }
  
  AltoII = { f'1 | f'1~ | f'4( e' d' c') | f'4( e' g' a') }
  
  \score{\new Staff {
  \partCombine \AltoIa  \AltoII
  \break
  }
  \layout{}
  \midi{}
  }
  
\book {
  \bookOutputSuffix "AltoI"
  \score{
    \new Staff <<
      \new Voice = "AltoI" {\AltoIa}
    >>
   \midi{ }
  }
} 

\book {
  \bookOutputSuffix "AltoII"
  \score{
    \new Staff <<
      \new Voice = "AltoII" {\AltoII}
    >>
   \midi{}
  }
}

I can share with you some bigger examples using the score wizard from 
Frescobaldi, if you'd like.

Carl

    


reply via email to

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