Skip to content

Commit

Permalink
Cleaned up music.py files.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorbaca committed Feb 24, 2024
1 parent 7eddff6 commit e2be34e
Show file tree
Hide file tree
Showing 30 changed files with 80 additions and 80 deletions.
2 changes: 1 addition & 1 deletion faberge/sections/01/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ number.1.EnglishHorn.Music = {
\baca-f-parenthesized
- \tweak parent-alignment-X 0
- \tweak staff-padding 6
^ \baca-ratchet-markup
^ \baca-boxed-ratchet-markup
%! DURATION_MULTIPLIER
%@% ^ \baca-duration-multiplier-markup #"187" #"32"
[
Expand Down
2 changes: 1 addition & 1 deletion faberge/sections/01/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def eh(m):
baca.staff_position(o, 0)
baca.markup(
o.pleaf(0),
r"\baca-ratchet-markup",
r"\baca-boxed-ratchet-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 6"),
)
Expand Down
8 changes: 4 additions & 4 deletions faberge/sections/02/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -8195,7 +8195,7 @@ number.2.Percussion.Music = {
\laissezVibrer
- \tweak extra-offset #'(-6 . 0)
- \tweak staff-padding 6
^ \baca-crotales-bowed-markup
^ \baca-boxed-crotales-bowed-markup
%! EXPLICIT_DYNAMIC
%! SPANNER_START
- \tweak circled-tip ##t
Expand Down Expand Up @@ -9945,7 +9945,7 @@ number.2.Percussion.Music = {
%! EXPLICIT_DYNAMIC
\ff
- \tweak staff-padding 8
^ \baca-castanets-markup
^ \baca-boxed-castanets-markup
%! SPANNER_START
- \tweak bound-details.right.padding 2
%! SPANNER_START
Expand All @@ -9970,7 +9970,7 @@ number.2.Percussion.Music = {
\laissezVibrer
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-bd-struck-markup
^ \baca-boxed-bd-struck-markup
%! SPANNER_STOP
\stopTrillSpan

Expand Down Expand Up @@ -10004,7 +10004,7 @@ number.2.Percussion.Music = {
fs'!8
\laissezVibrer
- \tweak staff-padding 6
^ \baca-crotales-bowed-markup
^ \baca-boxed-crotales-bowed-markup
%! EXPLICIT_DYNAMIC
%! SPANNER_START
- \tweak circled-tip ##t
Expand Down
8 changes: 4 additions & 4 deletions faberge/sections/02/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def perc(m):
baca.dynamic(o.phead(0), "ff")
baca.markup(
o.pleaf(0),
r"\baca-castanets-markup",
r"\baca-boxed-castanets-markup",
abjad.Tweak(r"- \tweak staff-padding 8"),
)
baca.staff_position(o, 1)
Expand All @@ -637,7 +637,7 @@ def perc(m):
baca.laissez_vibrer(o.ptails())
baca.markup(
o.plt(-1),
r"\baca-bd-struck-markup",
r"\baca-boxed-bd-struck-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand All @@ -650,7 +650,7 @@ def perc(m):
baca.pitch(o, "F#4")
baca.markup(
o.pleaf(0),
r"\baca-crotales-bowed-markup",
r"\baca-boxed-crotales-bowed-markup",
abjad.Tweak(r"- \tweak staff-padding 6"),
)
library.dal_niente_hairpins(o, "f")
Expand All @@ -659,7 +659,7 @@ def perc(m):
baca.laissez_vibrer(o.ptails())
baca.markup(
o.pleaf(0),
r"\baca-crotales-bowed-markup",
r"\baca-boxed-crotales-bowed-markup",
abjad.Tweak(r"- \tweak extra-offset #'(-6 . 0)"),
abjad.Tweak(r"- \tweak staff-padding 6"),
)
Expand Down
10 changes: 5 additions & 5 deletions faberge/sections/03/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -5646,7 +5646,7 @@ number.3.EnglishHorn.Music = {
\baca-f-parenthesized
- \tweak padding 1.5
- \tweak parent-alignment-X 0
^ \baca-ratchet-markup
^ \baca-boxed-ratchet-markup
%! DURATION_MULTIPLIER
%@% ^ \baca-duration-multiplier-markup #"381" #"64"
[
Expand Down Expand Up @@ -7053,7 +7053,7 @@ number.3.Piano.RH.Music = {
\baca-effort-mf
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-tuning-pegs-markup
^ \baca-boxed-tuning-pegs-markup
[
%! -PARTS
%! EXPLICIT_BAR_EXTENT
Expand Down Expand Up @@ -8443,7 +8443,7 @@ number.3.Percussion.Music = {
%! REST_VOICE
R1 * 4/4
- \tweak staff-padding 6
^ \baca-to-marimba-markup
^ \baca-boxed-to-marimba-markup
%! DURATION_MULTIPLIER
%! MULTIMEASURE_REST
%! REST_VOICE
Expand Down Expand Up @@ -8979,7 +8979,7 @@ number.3.Percussion.Music = {
\baca-effort-mf
- \tweak parent-alignment-X 0
- \tweak staff-padding 6
^ \baca-bd-sponge-markup
^ \baca-boxed-bd-sponge-markup
- \tweak stencil ##f
~
%! -PARTS
Expand Down Expand Up @@ -9052,7 +9052,7 @@ number.3.Percussion.Music = {
%! EXPLICIT_DYNAMIC
\f
- \tweak staff-padding 8
^ \baca-woodblock-markup
^ \baca-boxed-woodblock-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_START
- \baca-dashed-line-with-hook
Expand Down
10 changes: 5 additions & 5 deletions faberge/sections/03/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def eh(m):
)
baca.markup(
o.pleaf(0),
r"\baca-ratchet-markup",
r"\baca-boxed-ratchet-markup",
abjad.Tweak(r"- \tweak padding 1.5"),
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
)
Expand Down Expand Up @@ -620,7 +620,7 @@ def pf(cache):
)
baca.markup(
o.pleaf(0),
r"\baca-tuning-pegs-markup",
r"\baca-boxed-tuning-pegs-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand Down Expand Up @@ -663,7 +663,7 @@ def perc(cache):
with baca.scope(m[2]) as o:
baca.markup(
o.mmrest(0),
r"\baca-to-marimba-markup",
r"\baca-boxed-to-marimba-markup",
abjad.Tweak(r"- \tweak staff-padding 6"),
)
m = cache["perc"]
Expand Down Expand Up @@ -720,7 +720,7 @@ def perc(cache):
)
baca.markup(
o.pleaf(0),
r"\baca-bd-sponge-markup",
r"\baca-boxed-bd-sponge-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 6"),
)
Expand All @@ -731,7 +731,7 @@ def perc(cache):
baca.dynamic(o.pleaf(0), "f")
baca.markup(
o.pleaf(0),
r"\baca-woodblock-markup",
r"\baca-boxed-woodblock-markup",
abjad.Tweak(r"- \tweak staff-padding 8"),
)
baca.rspanners.material_annotation(
Expand Down
2 changes: 1 addition & 1 deletion faberge/sections/05/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ number.5.Percussion.Music = {
\p
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-bd-rolled-markup
^ \baca-boxed-bd-rolled-markup
\glissando

% [Percussion.Music measure 4]
Expand Down
2 changes: 1 addition & 1 deletion faberge/sections/05/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def perc(m):
baca.glissando(o, "B3")
baca.markup(
o.pleaf(0),
r"\baca-bd-rolled-markup",
r"\baca-boxed-bd-rolled-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand Down
8 changes: 4 additions & 4 deletions faberge/sections/06/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ number.6.Piano.RH.Music = {
\baca-effort-mf
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-tuning-pegs-markup
^ \baca-boxed-tuning-pegs-markup
%! SPANNER_START
[
%! EXPLICIT_CLEF_REDRAW_COLOR
Expand Down Expand Up @@ -2284,7 +2284,7 @@ number.6.Percussion.Music = {
\laissezVibrer
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-bd-struck-markup
^ \baca-boxed-bd-struck-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_START
- \baca-solid-line-with-hook
Expand Down Expand Up @@ -2368,7 +2368,7 @@ number.6.Percussion.Music = {
\f
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-castanets-markup
^ \baca-boxed-castanets-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_START
- \baca-solid-line-with-hook
Expand Down Expand Up @@ -2443,7 +2443,7 @@ number.6.Percussion.Music = {
\baca-f-ancora
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-woodblock-markup
^ \baca-boxed-woodblock-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_STOP
\bacaStopTextSpanMaterialAnnotation
Expand Down
8 changes: 4 additions & 4 deletions faberge/sections/06/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def pf(cache):
)
baca.markup(
o.pleaf(0),
r"\baca-tuning-pegs-markup",
r"\baca-boxed-tuning-pegs-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
),
Expand Down Expand Up @@ -371,7 +371,7 @@ def perc(m):
baca.laissez_vibrer(o.ptails())
baca.markup(
o.pleaf(0),
r"\baca-bd-struck-markup",
r"\baca-boxed-bd-struck-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand All @@ -398,7 +398,7 @@ def perc(m):
baca.dynamic(o.phead(0), "f")
baca.markup(
o.pleaf(0),
r"\baca-castanets-markup",
r"\baca-boxed-castanets-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand All @@ -407,7 +407,7 @@ def perc(m):
baca.dynamic(o.phead(0), "f-ancora")
baca.markup(
o.pleaf(0),
r"\baca-woodblock-markup",
r"\baca-boxed-woodblock-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand Down
4 changes: 2 additions & 2 deletions faberge/sections/07/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ number.7.Percussion.Music = {
\f
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-castanets-markup
^ \baca-boxed-castanets-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_START
- \baca-solid-line-with-hook
Expand Down Expand Up @@ -2089,7 +2089,7 @@ number.7.Percussion.Music = {
b2
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-bd-superball-markup
^ \baca-boxed-bd-superball-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_START
- \baca-solid-line-with-hook
Expand Down
4 changes: 2 additions & 2 deletions faberge/sections/07/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def perc(m):
baca.dynamic(o.phead(0), "f")
baca.markup(
o.pleaf(0),
r"\baca-castanets-markup",
r"\baca-boxed-castanets-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand All @@ -429,7 +429,7 @@ def perc(m):
with baca.scope(m[5]) as o:
baca.markup(
o.pleaf(0),
r"\baca-bd-superball-markup",
r"\baca-boxed-bd-superball-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand Down
6 changes: 3 additions & 3 deletions faberge/sections/08/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ number.8.Percussion.Music = {
\mf
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-castanets-markup
^ \baca-boxed-castanets-markup
%! REAPPLIED_INSTRUMENT_ALERT
^ \baca-reapplied-instrument-markup "(“Percussion”)"
%! MATERIAL_ANNOTATION_SPANNER
Expand Down Expand Up @@ -2028,7 +2028,7 @@ number.8.Percussion.Music = {
\laissezVibrer
- \tweak parent-alignment-X 0
- \tweak staff-padding 8
^ \baca-bd-struck-markup
^ \baca-boxed-bd-struck-markup

r\breve
%! MATERIAL_ANNOTATION_SPANNER
Expand All @@ -2041,7 +2041,7 @@ number.8.Percussion.Music = {
\override Stem.direction = #down
b2
- \tweak staff-padding 8
^ \baca-bd-sponge-markup
^ \baca-boxed-bd-sponge-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_START
- \baca-solid-line-with-hook
Expand Down
6 changes: 3 additions & 3 deletions faberge/sections/08/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def perc(m):
with baca.scope(m[1]) as o:
baca.markup(
o.pleaf(0),
r"\baca-castanets-markup",
r"\baca-boxed-castanets-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand All @@ -350,7 +350,7 @@ def perc(m):
baca.override.stem_down(o.pleaves())
baca.markup(
o.pleaf(0),
r"\baca-bd-struck-markup",
r"\baca-boxed-bd-struck-markup",
abjad.Tweak(r"- \tweak parent-alignment-X 0"),
abjad.Tweak(r"- \tweak staff-padding 8"),
)
Expand All @@ -368,7 +368,7 @@ def perc(m):
baca.override.stem_down(o.pleaves())
baca.markup(
o.pleaf(0),
r"\baca-bd-sponge-markup",
r"\baca-boxed-bd-sponge-markup",
abjad.Tweak(r"- \tweak staff-padding 8"),
)
baca.rspanners.material_annotation(
Expand Down
4 changes: 2 additions & 2 deletions faberge/sections/09/music.ily
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,7 @@ number.9.Percussion.Music = {
%! EXPLICIT_DYNAMIC
\f
- \tweak padding 1.5
^ \baca-castanets-markup
^ \baca-boxed-castanets-markup
%! REAPPLIED_INSTRUMENT_ALERT
^ \baca-reapplied-instrument-markup "(“Percussion”)"
%! MATERIAL_ANNOTATION_SPANNER
Expand Down Expand Up @@ -1817,7 +1817,7 @@ number.9.Percussion.Music = {
fs'!2
\laissezVibrer
- \tweak staff-padding 6
^ \baca-crotales-bowed-markup
^ \baca-boxed-crotales-bowed-markup
%! MATERIAL_ANNOTATION_SPANNER
%! SPANNER_START
- \baca-solid-line-with-hook
Expand Down
4 changes: 2 additions & 2 deletions faberge/sections/09/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def perc(m):
with baca.scope(m.get(1)) as o:
baca.markup(
o.pleaf(0),
r"\baca-castanets-markup",
r"\baca-boxed-castanets-markup",
abjad.Tweak(r"- \tweak padding 1.5"),
)
for n in [1, 2]:
Expand Down Expand Up @@ -339,7 +339,7 @@ def perc(m):
baca.laissez_vibrer(o.ptails())
baca.markup(
o.pleaf(0),
r"\baca-crotales-bowed-markup",
r"\baca-boxed-crotales-bowed-markup",
abjad.Tweak(r"- \tweak staff-padding 6"),
)
baca.rspanners.material_annotation(
Expand Down
Loading

0 comments on commit e2be34e

Please sign in to comment.