%% 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/changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from `Documentation/snippets/new/`.
%%
%% Make any changes in `Documentation/snippets/new/`,
%% then run `scripts/auxiliar/makelsr.pl --new`.
%%
%% This file is in the public domain.
%%
%% Note: this file works from version 2.23.8.

\version "2.23.13"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
@code{measureLength}, @code{measurePosition} プロパティは、小節線が@c
どのタイミングで必要になるかを決定しています。しかし、@c
@code{\\scaleDurations} を使用する際、拍子記号と整合性が取れなくなることが@c
あります。この場合には、@code{measureLength} を @code{ly:make-moment}
コールバックを用いて手動でセットします。2 つ目の引数は @code{\\scaleDurations}
の 2 つ目の引数と一致している必要があります。
"
  doctitleja = "\\scaleDurations を使用した多拍子の部分で拍子記号を変更する"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
La propriété @code{measureLength}, conjointement avec
@code{measurePosition}, détermine l'endroit où une barre de mesure est
requise.  L'utilisation d'un @code{\\scaleDurations} a l'inconvénient
que l'échelonnement des durées rend compliqués les changements de
métrique.  Il est nécessaire en pareil cas de définir manuellement
@code{measureLength}, avec un appel à @code{ly:make-moment}.  Le second
argument devra être identique au deuxième argument de
@code{\\scaleDurations}.
"

  doctitlefr = "Modification de la métrique au sein d'un fragment polymétrique à l'aide de @code{\\scaleDurations}"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidoces = "
La propiedad @code{measureLength}, junto con
@code{measurePosition}, determina cuándo es necesario dibujar una
línea divisoria.  Sin embargo, al utilizar
@code{\\scaleDurations}, el escalado proporcional de las
duraciones hace difícil introducir cambios de compás.  En este
caso se debe establecer manualmente el valor de
@code{measureLength} utilizando la función @code{ly:make-moment}.
El segundo argumento debe ser el mismo que el segundo argumento de
@code{\\scaleDurations}.

"
  doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
La propietat @code{measureLength}, junt amb
@code{measurePosition}, determina quan cal dibuixar una línia
divisòria.  No obstant, en utilitzar @code{\\scaleDurations},
l'escalat proporcional de les duracions fa difícil introduir
canvis de compàs.  En aquest cas s'ha d'establir manualment el
valor de @code{measureLength} utilitzant la funció
@code{ly:make-moment}.  El segon argument ha de ser el mateix que
el segon artgument de @code{\\scaleDurations}.

"
  doctitleca = "Modificar el compàs d'una secció polimètrica utilitzant @code{\\scaleDurations}"

  lsrtags = "contemporary-notation, contexts-and-engravers, rhythms, workaround"

  texidoc = "
The @code{measureLength} property, together with
@code{measurePosition}, determines when a bar line is needed.  However,
when using @code{\\scaleDurations}, the scaling of durations makes it
difficult to change time signatures.  In this case,
@code{measureLength} should be set manually, using the
@code{ly:make-moment} callback.  The second argument must be the same
as the second argument of @code{\\scaleDurations}.
"

  doctitle = "Changing time signatures inside a polymetric section using \\scaleDurations"
} % begin verbatim


\layout {
  \context {
    \Score
    \remove "Timing_translator"
  }
  \context {
    \Staff
    \consists "Timing_translator"
  }
}

<<
  \new Staff {
    \scaleDurations 8/5 {
      \time 6/8
      \set Timing.measureLength = #(ly:make-moment 6/5)
      b8 b b b b b
      \time 2/4
      \set Timing.measureLength = #(ly:make-moment 4/5)
      b4 b
    }
  }
  \new Staff {
    \clef bass
    \time 2/4
    c2 d e f
  }
>>



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