%% 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
% ****************************************************************



\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 is automatically
%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\version "2.21.2"

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

%% Translation of GIT committish: 207d558daf542af3b09157662deb8a68731d4f41
  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"

  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
% ****************************************************************
