Skip to content

Commit

Permalink
attach end note and final bar line
Browse files Browse the repository at this point in the history
  • Loading branch information
nivlekp committed Oct 12, 2024
1 parent 7f85de3 commit 6ed1598
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions minamidera/builds/score/music.ly
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
\include "_sections/a.ily"
\include "_sections/b.ily"
\include "_sections/c.ily"
\include "_sections/d.ily"
}
>>
\layout { }
Expand Down
2 changes: 2 additions & 0 deletions minamidera/segments/d/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,8 @@
<g''' d''''>8
\mf
r8
\bar "|."
\end-note
}
}
}
Expand Down
9 changes: 8 additions & 1 deletion minamidera/segments/d/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@ def main() -> None:
abjad.get.leaf(score[library.PIANO_MUSIC_VOICE_0_NAME], 0),
direction=abjad.UP,
)
abjad.attach(
abjad.BarLine("|."), abjad.get.leaf(score[library.PIANO_MUSIC_VOICE_0_NAME], -1)
)
abjad.attach(
abjad.LilyPondLiteral(r"\end-note", site="after"),
abjad.get.leaf(score[library.PIANO_MUSIC_VOICE_0_NAME], -1),
)
pang.build.persist(score, metadata)
library.symlink_music_ily_from_segment_directory_to_build_directory("c")
library.symlink_music_ily_from_segment_directory_to_build_directory("d")


def _sequence() -> pang.Sequence:
Expand Down
7 changes: 3 additions & 4 deletions minamidera/stylesheets/stylesheet.ily
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,9 @@ end-note = {
\mark \markup {
\fontsize #-2
\column {
\line {"On Gadigal Land,"}
\line {"Boonwurrung Country,"}
\line {"Osaka, and Naoshima"}
\line {"(November 2023 - May 2024)."}
\line {"Naarm"}
\hspace #0
\line {"(June - October 2024)."}
}
}
}

0 comments on commit 6ed1598

Please sign in to comment.