lilypond-user
[Top][All Lists]
Advanced

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

split chord in two staves, split multiple voices in two staves


From: Davide Bonetti
Subject: split chord in two staves, split multiple voices in two staves
Date: Thu, 7 Jan 2021 11:28:27 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

Hi,

I am working on accordion left-hand educational scores;

I need to split chords (entered with chordmode) in two staves, and I also need to split multiple voices (4 or more) in two staves.

I am trying to find a way to do this automatically, because I have much material to work with.

I have tried \autochange, but the result is not what I am searching.

Attached is a minimal example, just to have an idea.

\version "2.20.0"

% autochange example with a chord
\markup "autochange example with a chord"
\score {
  \new PianoStaff
  \with {instrumentName = #"1"}
  \autochange
  \chordmode {c:/g}
}

% autochange example with multiple voices
\markup "autochange example with multiple voices"
\score {
  \new PianoStaff
  \with {instrumentName = #"2"}
  \autochange
  <<
    \autochange {e'}
    \\
    \autochange {g}
    \\
    \autochange {c'}
  >>
}

% desidered result
\markup "desidered result"
\score{
  \new PianoStaff
  \with {instrumentName = #"3"}
  \autochange
  <<
    \autochange <c' e'>
    \\
    \autochange {g}
  >>
}

Thank you and best regards.

Davide Bonetti



--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus

Attachment: autochange minimal example.ly
Description: Text Data

Attachment: autochange minimal example.pdf
Description: Adobe PDF document


reply via email to

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