%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/using-autochange-with-more-than-one-voice.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Snippet Repository
%% (http://lsr.di.unimi.it).
%%
%% Make any changes in the LSR itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.23.13"

\header {
%% Translation of GIT committish: 0cc270b871321ae5aa8622cea8d8262aafd16641
  texidocja = "
@code{autoChange} は 2 つ以上のボイスで使用することができます。
"
  doctitleja = "autoChange を 2 つ以上のボイスで使用する"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
L'instruction @code{\\autoChange} est opérationnelle y compris en
présence de voix multiples.
"

  doctitlefr = "Utilisation d'@code{autoChange} avec plus d'une voix"

%% Translation of GIT committish: 72067b395d947f1349ab8010f0592d45e52b8141
  texidoces = "
Utilización de @code{autoChange} con más de una voz.

"
  doctitlees = "Usar cambio automático de pentagrama con más de una voz"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
Utilització de @code{autochange} amb més d'una veu.

"
  doctitleca = "Usar canvi automàtic de pentagrama amb més d'una veu"

  lsrtags = "keyboards, pitches, staff-notation"

  texidoc = "
Using @code{autochange} with more than one voice.
"

  doctitle = "Using autochange with more than one voice"
} % begin verbatim


\score
{
  \new PianoStaff
  <<
    \new Staff = "up" {
      <<
        \set Timing.beamExceptions = #'()
        \set Timing.beatStructure = #'(4)
        \new Voice {
          \voiceOne
          \autoChange
          \relative c' {
            g8 a b c d e f g
            g,8 a b c d e f g
          }
        }

        \new Voice {
          \voiceTwo
          \autoChange
          \relative c' {
            g8 a b c d e f g
            g,,8 a b c d e f g
          }
        }
      >>
    }

    \new Staff = "down" {
      \clef bass
    }
  >>
}



% ****************************************************************
% end ly snippet
% ****************************************************************
