lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple ternary da capo structure


From: Knute Snortum
Subject: Re: Simple ternary da capo structure
Date: Tue, 17 Sep 2024 08:02:26 -0700


On Tue, Sep 17, 2024 at 6:41 AM David Sumbler <david@aeolia.co.uk> wrote:
I am trying to set a simple piece in ternary form.  I want a light double bar (thin-thin) at the end of the 'A' section with a "Fine" marking, and at the end of the 'B' section I want a full (thin-thick) double bar with "D.C." marked (or perhaps "D.C. al Fine", which is what the original has).

Here's what I came up with:

%%%
\version "2.24.4"

music = \fixed c' {
  \repeat segno 2 {
    f1 |
    g1 |
    f1 |
    \bar "||"
    \volta 2 \fine
    \volta 1 {
      b1 |
      a1 |
      b1 |
      \bar "|."
    }
  }
}

\score { \music }
\score { \unfoldRepeats \music }
%%%

I lifted the notation from this section of the documentation:


... and added a few notes, changed the "volta" to "segno", and added the bar numbers.

In the future, post what you've tried at least so we know what you're looking for.


--
Knute Snortum



reply via email to

[Prev in Thread] Current Thread [Next in Thread]