Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(312)

Side by Side Diff: Documentation/notation/rhythms.itely

Issue 6452072: Doc: Clarify automatic beam setting (2701) (Closed) Base URL: http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Patch Set: Created 12 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @c -*- coding: utf-8; mode: texinfo; -*- 1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore 2 @ignore
3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH 3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4 4
5 When revising a translation, copy the HEAD committish of the 5 When revising a translation, copy the HEAD committish of the
6 version that you are working on. For details, see the Contributors' 6 version that you are working on. For details, see the Contributors'
7 Guide, node Updating translation committishes.. 7 Guide, node Updating translation committishes..
8 @end ignore 8 @end ignore
9 9
10 @c \version "2.15.39" 10 @c \version "2.15.39"
(...skipping 1966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1977 @funindex autoBeaming 1977 @funindex autoBeaming
1978 @funindex baseMoment 1978 @funindex baseMoment
1979 @funindex beamExceptions 1979 @funindex beamExceptions
1980 @funindex beatStructure 1980 @funindex beatStructure
1981 @funindex measureLength 1981 @funindex measureLength
1982 @funindex \time 1982 @funindex \time
1983 @funindex time 1983 @funindex time
1984 @funindex \set 1984 @funindex \set
1985 @funindex set 1985 @funindex set
1986 1986
1987 When automatic beaming is enabled, the placement of automatic beams
1988 is determined by three context properties:
1989 @code{baseMoment}, @code{beatStructure}, and @code{beamExceptions}.
1990 If a @code{beamExceptions} rule is defined for the time signature in
1991 force, that rule is used to determine the beam placement. If no
1992 @code{beamExceptions} rule is defined for the time signature in force,
1993 the beam placement is determined by the settings of @code{baseMoment}
1994 and @code{beatStructure}.
1995
1996 By default, @code{beamExceptions} rules are defined for most common
1997 time signatures, so the @code{beamException} rules must be disabled
1998 if automatic beaming is to be based on @code{baseMoment} and
1999 @code{beatStructure}. The @code{beamExceptions} rules are disabled
2000 by
2001
2002 @example
2003 \set Timing.beamExceptions = #'()
2004 @end example
2005
2006
2007 @i{@strong{Beaming based on @code{baseMoment} and @code{beatStructure}}}
Trevor Daniels 2012/07/31 22:30:12 I don't like this either, but it was already used
2008
1987 In most instances, automatic beams will end at the end of a beat. 2009 In most instances, automatic beams will end at the end of a beat.
1988 The ending points for beats are determined by the context properties 2010 The ending points for beats are determined by the context properties
1989 @code{baseMoment} and @code{beatStructure}. @code{beatStructure} 2011 @code{baseMoment} and @code{beatStructure}. @code{beatStructure}
1990 is a scheme list that defines the length of each beat in the measure 2012 is a scheme list that defines the length of each beat in the measure
1991 in units of @code{baseMoment}. By default, @code{baseMoment} is 2013 in units of @code{baseMoment}. By default, @code{baseMoment} is
1992 one over the denominator of the time signature. By default, 2014 one over the denominator of the time signature. By default,
1993 each unit of length @code{baseMoment} is a single beat. 2015 each unit of length @code{baseMoment} is a single beat.
1994 2016
1995 @lilypond[quote,relative=2,verbatim] 2017 @lilypond[quote,relative=2,verbatim]
1996 \time 5/16 2018 \time 5/16
1997 c16^"default" c c c c | 2019 c16^"default" c c c c |
1998 \set Timing.beatStructure = #'(2 3) 2020 \set Timing.beatStructure = #'(2 3)
1999 c16^"(2+3)" c c c c | 2021 c16^"(2+3)" c c c c |
2000 \set Timing.beatStructure = #'(3 2) 2022 \set Timing.beatStructure = #'(3 2)
2001 c16^"(3+2)" c c c c | 2023 c16^"(3+2)" c c c c |
2002 @end lilypond 2024 @end lilypond
2003 2025
2026 If a common time signature is being used, @code{beamExceptions}
2027 @emph{must} be disabled to enable @code{beatStructure} to work.
2028 The @code{\set Timing.beamExceptions = #'()} command can always
2029 be included if beaming is being determined by @code{beatStructure}.
2030
2031 @lilypond[quote,relative=2,verbatim]
2032 \time 4/4
2033 a8^"default" a a a a a a a
2034
2035 \set Timing.baseMoment = #(ly:make-moment 1 4)
2036 \set Timing.beatStructure = #'(1 1 1 1)
2037 a8^"no change" a a a a a a a
2038
2039 \set Timing.beamExceptions = #'()
2040 \set Timing.baseMoment = #(ly:make-moment 1 4)
2041 \set Timing.beatStructure = #'(1 1 1 1)
2042 a8^"changed" a a a a a a a
2043 @end lilypond
2044
2004 Beam setting changes can be limited to specific contexts. If no 2045 Beam setting changes can be limited to specific contexts. If no
2005 setting is included in a lower-level context, the setting of the 2046 setting is included in a lower-level context, the setting of the
2006 enclosing context will apply. 2047 enclosing context will apply.
2007 2048
2008 @lilypond[quote, verbatim,relative=1] 2049 @lilypond[quote, verbatim,relative=1]
2009 \new Staff { 2050 \new Staff {
2010 \time 7/8 2051 \time 7/8
2011 \set Staff.beatStructure = #'(2 3 2) 2052 \set Staff.beatStructure = #'(2 3 2)
2012 << 2053 <<
2013 \new Voice = one { 2054 \new Voice = one {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 2099
2059 @code{baseMoment} is a @i{moment}; a unit of musical duration. A 2100 @code{baseMoment} is a @i{moment}; a unit of musical duration. A
2060 quantity of type @i{moment} is created by the scheme function 2101 quantity of type @i{moment} is created by the scheme function
2061 @code{ly:make-moment}. For more information about this function, 2102 @code{ly:make-moment}. For more information about this function,
2062 see @ref{Time administration}. 2103 see @ref{Time administration}.
2063 2104
2064 By default @code{baseMoment} is set to one over the denominator of 2105 By default @code{baseMoment} is set to one over the denominator of
2065 the time signature. Any exceptions to this default can be found in 2106 the time signature. Any exceptions to this default can be found in
2066 @file{scm/time-signature-settings.scm}. 2107 @file{scm/time-signature-settings.scm}.
2067 2108
2109 @i{@strong{Beaming based on @code{beamExceptions}}}
2110
2068 Special autobeaming rules (other than ending a beam on a beat) 2111 Special autobeaming rules (other than ending a beam on a beat)
2069 are defined in the @code{beamExceptions} property. 2112 are defined in the @code{beamExceptions} property.
2070 2113
2071 @lilypond[quote,relative=2,verbatim] 2114 @lilypond[quote,relative=2,verbatim]
2072 \time 3/16 2115 \time 3/16
2073 \set Timing.beatStructure = #'(2 1) 2116 \set Timing.beatStructure = #'(2 1)
2074 \set Timing.beamExceptions = 2117 \set Timing.beamExceptions =
2075 #'( ;start of alist 2118 #'( ;start of alist
2076 (end . ;entry for end of beams 2119 (end . ;entry for end of beams
2077 ( ;start of alist of end points 2120 ( ;start of alist of end points
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after
3457 Notation Reference: 3500 Notation Reference:
3458 @ref{Bar numbers}, 3501 @ref{Bar numbers},
3459 @ref{Unmetered music}. 3502 @ref{Unmetered music}.
3460 3503
3461 Snippets: 3504 Snippets:
3462 @rlsr{Rhythms}. 3505 @rlsr{Rhythms}.
3463 3506
3464 Internals Reference: 3507 Internals Reference:
3465 @rinternals{Timing_translator}, 3508 @rinternals{Timing_translator},
3466 @rinternals{Score}. 3509 @rinternals{Score}.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b