LEFT | RIGHT |
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. See TRANSLATION for details. | 6 version that you are working on. See TRANSLATION for details. |
7 @end ignore | 7 @end ignore |
8 | 8 |
9 @c \version "2.12.0" | 9 @c \version "2.12.0" |
10 | 10 |
(...skipping 1641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1652 indicates the beam type and the grouping to be applied to that | 1652 indicates the beam type and the grouping to be applied to that |
1653 beam type. | 1653 beam type. |
1654 | 1654 |
1655 @example | 1655 @example |
1656 #'((beam-type1 . grouping-1) | 1656 #'((beam-type1 . grouping-1) |
1657 (beam-type2 . grouping-2) | 1657 (beam-type2 . grouping-2) |
1658 (beam-type3 . grouping-3)) | 1658 (beam-type3 . grouping-3)) |
1659 @end example | 1659 @end example |
1660 | 1660 |
1661 Beam type is either a scheme pair indicating the duration | 1661 Beam type is either a scheme pair indicating the duration |
1662 of the beam, e.g. @code{#'(1 . 16)}, or @code{#'*} to indicate a | 1662 of the beam, e.g. @code{(1 . 16)}, or @code{*} to indicate a |
1663 default rule, which applies to all beams if no explicit rule is | 1663 default rule, which applies to all beams if no explicit rule is |
1664 defined. | 1664 defined. |
1665 | 1665 |
1666 Grouping is a scheme list indicating the grouping to be applied to | 1666 Grouping is a scheme list indicating the grouping to be applied to |
1667 the beam. For default rules (where beam type is | 1667 the beam. For default rules (where beam type is |
1668 @code{#'*}, the grouping is in units of @code{beatLength}. | 1668 @code{*}, the grouping is in units of @code{beatLength}. |
1669 For explicit rules, the grouping is in units of the beam type. | 1669 For explicit rules, the grouping is in units of the beam type. |
1670 | 1670 |
1671 Beam settings are changed with | 1671 Beam settings are changed with |
1672 @code{\overrideBeamSettings} and @code{\revertBeamSettings}. | 1672 @code{\overrideBeamSettings} and @code{\revertBeamSettings}. |
1673 | 1673 |
1674 @lilypond[quote,relative=2,verbatim] | 1674 @lilypond[quote,relative=2,verbatim] |
1675 \time 5/16 | 1675 \time 5/16 |
1676 c8^"beats" c16 c8 | | 1676 c8^"beats" c16 c8 | |
1677 \overrideBeamSettings #'Score #'(5 . 16) #'end #'((* . (2 3))) | 1677 \overrideBeamSettings #'Score #'(5 . 16) #'end #'((* . (2 3))) |
1678 c8^"(2+3)" c16 c8 | 1678 c8^"(2+3)" c16 c8 |
(...skipping 24 matching lines...) Expand all Loading... |
1703 >> | 1703 >> |
1704 @end lilypond | 1704 @end lilypond |
1705 | 1705 |
1706 When multiple voices are used the @code{Staff} context must be | 1706 When multiple voices are used the @code{Staff} context must be |
1707 specified if the beaming is to be applied to all voices in the | 1707 specified if the beaming is to be applied to all voices in the |
1708 staff: | 1708 staff: |
1709 | 1709 |
1710 @lilypond[quote,verbatim,relative=2] | 1710 @lilypond[quote,verbatim,relative=2] |
1711 \time 7/8 | 1711 \time 7/8 |
1712 % rhythm 3-1-1-2 | 1712 % rhythm 3-1-1-2 |
1713 % Context not specified - does not work correctly | 1713 % Context Voice specified -- does not work correctly |
1714 % Because of autogenerated voices, all beating will | 1714 % Because of autogenerated voices, all beating will |
1715 % be at beatLength (1 . 8) | 1715 % be at beatLength (1 . 8) |
1716 \overrideBeamSettings #'Voice #'(7 . 8) #'end #'((* . (3 1 1 2))) | 1716 \overrideBeamSettings #'Voice #'(7 . 8) #'end #'((* . (3 1 1 2))) |
1717 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >> | 1717 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >> |
1718 | 1718 |
1719 % Works correctly with context specified | 1719 % Works correctly with context Staff specified |
1720 \overrideBeamSettings #'Staff #'(7 . 8) #'end #'((* . (3 1 1 2))) | 1720 \overrideBeamSettings #'Staff #'(7 . 8) #'end #'((* . (3 1 1 2))) |
1721 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >> | 1721 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >> |
1722 @end lilypond | 1722 @end lilypond |
1723 | 1723 |
| 1724 @funindex revertBeamSettings |
| 1725 |
| 1726 Beam settings can be reverted to get back to default behavior. This |
| 1727 is accomplished by using @code{\revertBeamSettings}. The arguments |
| 1728 are the same as for @code{\overrideBeamSettings}, except no value |
| 1729 for @var{grouping} is given: |
| 1730 |
| 1731 @example |
| 1732 \revertBeamSettings context time-signature rule-type |
| 1733 @end example |
| 1734 |
| 1735 |
| 1736 @lilypond[quote,verbatim,relative=2] |
| 1737 \time 4/4 |
| 1738 \repeat unfold 16 {a16} |
| 1739 % set default rule for (1 1 1 1) grouping |
| 1740 \overrideBeamSettings #'Score #'(4 . 4) #'end #'((* . (1 1 1 1))) |
| 1741 \repeat unfold 16 {a16} |
| 1742 % revert the new rule |
| 1743 \revertBeamSettings #'Score #'(4 . 4) #'end |
| 1744 \repeat unfold 16 {a16} |
| 1745 @end lilypond |
| 1746 |
1724 @snippets | 1747 @snippets |
1725 | |
1726 | 1748 |
1727 @cindex beams, subdividing | 1749 @cindex beams, subdividing |
1728 | 1750 |
1729 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle] | 1751 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle] |
1730 {sub-dividing-beams.ly} | 1752 {sub-dividing-beams.ly} |
1731 | 1753 |
1732 @cindex measure groupings | 1754 @cindex measure groupings |
1733 @cindex beats, grouping | 1755 @cindex beats, grouping |
1734 @cindex grouping beats | 1756 @cindex grouping beats |
1735 @cindex measure sub-grouping | 1757 @cindex measure sub-grouping |
1736 | 1758 |
1737 @funindex autoBeamSettings | |
1738 | |
1739 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle] | 1759 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle] |
1740 {conducting-signs,-measure-grouping-signs.ly} | 1760 {conducting-signs,-measure-grouping-signs.ly} |
1741 | 1761 |
1742 @funindex revert-beam-setting | |
1743 | |
1744 Beam settings can be reverted to get back to default behavior. This | |
1745 is accomplished by using @code{\revertBeamSettings}. The arguments | |
1746 are the same as for @code{\overrideBeamSettings}, except no value | |
1747 for @var{grouping} is given: | |
1748 | |
1749 @example | |
1750 \revertBeamSettings context time-signature rule-type | |
1751 @end example | |
1752 | |
1753 | |
1754 @lilypond[quote,verbatim,relative=2] | |
1755 \time 4/4 | |
1756 \repeat unfold 16 {a16} | |
1757 % set default rule for (2 2) grouping | |
1758 \overrideBeamSettings #'Score #'(4 . 4) #'end #'((* . (2 2))) | |
1759 \repeat unfold 16 {a16} | |
1760 % revert the new rule | |
1761 \revertBeamSettings #'Score #'(4 . 4) #'end | |
1762 \repeat unfold 16 {a16} | |
1763 @end lilypond | |
1764 | |
1765 @snippets | |
1766 | |
1767 | |
1768 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle] | 1762 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle] |
1769 {beam-endings-in-score-context.ly} | 1763 {beam-endings-in-score-context.ly} |
1770 | |
1771 @funindex \autoBeamOff | |
1772 @funindex autoBeamOff | |
1773 @funindex \autoBeamOn | |
1774 @funindex autoBeamOn | |
1775 | |
1776 @predefined | |
1777 @code{\autoBeamOff}, | |
1778 @code{\autoBeamOn}. | |
1779 @endpredefined | |
1780 | |
1781 | 1764 |
1782 @cindex beam, last in score | 1765 @cindex beam, last in score |
1783 @cindex beam, last in polyphonic voice | 1766 @cindex beam, last in polyphonic voice |
1784 | 1767 |
1785 @knownissues | 1768 @knownissues |
1786 | 1769 |
1787 If a score ends while an automatic beam has not been ended and is | 1770 If a score ends while an automatic beam has not been ended and is |
1788 still accepting notes, this last beam will not be typeset at all. | 1771 still accepting notes, this last beam will not be typeset at all. |
1789 The same holds for polyphonic voices, entered with @code{<< | 1772 The same holds for polyphonic voices, entered with @code{<< |
1790 @dots{} \\ @dots{} >>}. If a polyphonic voice ends while an | 1773 @dots{} \\ @dots{} >>}. If a polyphonic voice ends while an |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2729 | 2712 |
2730 @seealso | 2713 @seealso |
2731 This manual: @ref{Bar numbers}, @ref{Unmetered music} | 2714 This manual: @ref{Bar numbers}, @ref{Unmetered music} |
2732 | 2715 |
2733 Snippets: | 2716 Snippets: |
2734 @rlsr{Rhythms}. | 2717 @rlsr{Rhythms}. |
2735 | 2718 |
2736 Internals Reference: @rinternals{Timing_translator}, | 2719 Internals Reference: @rinternals{Timing_translator}, |
2737 @rinternals{Score} | 2720 @rinternals{Score} |
2738 | 2721 |
LEFT | RIGHT |