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 Mar 31, 2024
1 parent 9ce6be5 commit 0aec67e
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions faberge/builds/a4-parts/cello/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def main():
),
spacing=(1, 16),
overrides=(
baca.space((157, 265), (1, 20)),
baca.space([193, 196, 211, 216, 223, 227], (1, 4)),
baca.region((157, 265), (1, 20)),
baca.region([193, 196, 211, 216, 223, 227], (1, 4)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
14 changes: 7 additions & 7 deletions faberge/builds/a4-parts/clarinet/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ def main():
),
spacing=(1, 16),
overrides=(
baca.space(95, (1, 40)),
baca.space(152, (1, 40)),
baca.space(166, (1, 40)),
baca.space(239, (1, 8)),
baca.space(257, (1, 4)),
baca.space(262, (1, 4)),
baca.space(266, (1, 4)),
baca.region(95, (1, 40)),
baca.region(152, (1, 40)),
baca.region(166, (1, 40)),
baca.region(239, (1, 8)),
baca.region(257, (1, 4)),
baca.region(262, (1, 4)),
baca.region(266, (1, 4)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
16 changes: 8 additions & 8 deletions faberge/builds/a4-parts/english-horn/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,14 @@ def main():
),
spacing=(1, 16),
overrides=(
baca.space((25, 30), (1, 8)),
baca.space((18, 19), (1, 40)),
baca.space((31, 34), (1, 40)),
baca.space((45, 46), (1, 40)),
baca.space(48, (1, 40)),
baca.space(49, (1, 40)),
baca.space([61, 63], (1, 40)),
baca.space(222, (1, 8)),
baca.region((25, 30), (1, 8)),
baca.region((18, 19), (1, 40)),
baca.region((31, 34), (1, 40)),
baca.region((45, 46), (1, 40)),
baca.region(48, (1, 40)),
baca.region(49, (1, 40)),
baca.region([61, 63], (1, 40)),
baca.region(222, (1, 8)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
6 changes: 3 additions & 3 deletions faberge/builds/a4-parts/flute/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def main():
),
spacing=(1, 16),
overrides=(
baca.space(95, (1, 40)),
baca.space(152, (1, 40)),
baca.space(166, (1, 40)),
baca.region(95, (1, 40)),
baca.region(152, (1, 40)),
baca.region(166, (1, 40)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
2 changes: 1 addition & 1 deletion faberge/builds/a4-parts/percussion/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def main():
baca.system(measure=285, y_offset=y_offset_3, distances=distances),
),
spacing=(1, 16),
overrides=(baca.space((221, 223), (1, 4)),),
overrides=(baca.region((221, 223), (1, 4)),),
)
baca.section.make_layout_ly(spacing)

Expand Down
12 changes: 6 additions & 6 deletions faberge/builds/a4-parts/viola/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ def main():
),
spacing=(1, 16),
overrides=(
baca.space((70, 72), (1, 4)),
baca.space([198, 200], (1, 2)),
baca.space([201, 203], (1, 2)),
baca.space(202, (1, 40)),
baca.space([205, 209], (1, 4)),
baca.space((274, 286), (1, 4)),
baca.region((70, 72), (1, 4)),
baca.region([198, 200], (1, 2)),
baca.region([201, 203], (1, 2)),
baca.region(202, (1, 40)),
baca.region([205, 209], (1, 4)),
baca.region((274, 286), (1, 4)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
12 changes: 6 additions & 6 deletions faberge/builds/a4-parts/violin/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ def main():
),
spacing=(1, 16),
overrides=(
baca.space((70, 72), (1, 4)),
baca.space([198, 200], (1, 2)),
baca.space([201, 203], (1, 2)),
baca.space(202, (1, 40)),
baca.space([205, 209], (1, 4)),
baca.space((274, 286), (1, 4)),
baca.region((70, 72), (1, 4)),
baca.region([198, 200], (1, 2)),
baca.region([201, 203], (1, 2)),
baca.region(202, (1, 40)),
baca.region([205, 209], (1, 4)),
baca.region((274, 286), (1, 4)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
18 changes: 9 additions & 9 deletions faberge/builds/arch-a-score/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@ def main():
),
spacing=(1, 32),
overrides=(
baca.space((1, 84), (1, 32)),
baca.space([2, 4], (1, 4)),
baca.space((85, 156), (1, 48)),
baca.space((157, 286), (1, 32)),
baca.space(166, (1, 48)),
baca.space(195, (1, 16)),
baca.space(202, (1, 48)),
baca.space((203, 206), (1, 24)),
baca.space([193, 196, 211, 216, 227, 278], (1, 4)),
baca.region((1, 84), (1, 32)),
baca.region([2, 4], (1, 4)),
baca.region((85, 156), (1, 48)),
baca.region((157, 286), (1, 32)),
baca.region(166, (1, 48)),
baca.region(195, (1, 16)),
baca.region(202, (1, 48)),
baca.region((203, 206), (1, 24)),
baca.region([193, 196, 211, 216, 227, 278], (1, 4)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
2 changes: 1 addition & 1 deletion faberge/sections/02/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def make_layout():
spacing = baca.make_layout(
*pages,
spacing=(1, 48),
overrides=(baca.space(1, (1, 56)),),
overrides=(baca.region(1, (1, 56)),),
)
baca.section.make_layout_ly(spacing)

Expand Down
2 changes: 1 addition & 1 deletion faberge/sections/04/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def make_layout():
baca.system(measure=1, y_offset=40, distances=distances),
),
spacing=(1, 24),
overrides=(baca.space((5, 8), (1, 32)),),
overrides=(baca.region((5, 8), (1, 32)),),
)
baca.section.make_layout_ly(spacing)

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 @@ -744,8 +744,8 @@ def make_layout():
),
spacing=(1, 20),
overrides=(
baca.space(1, (1, 40)),
baca.space((2, 4), (1, 24)),
baca.region(1, (1, 40)),
baca.region((2, 4), (1, 24)),
),
)
baca.section.make_layout_ly(spacing)
Expand Down
2 changes: 1 addition & 1 deletion faberge/sections/09/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def make_layout():
baca.system(measure=1, y_offset=40, distances=distances),
),
spacing=(1, 16),
overrides=(baca.space((1, 4), (1, 12)),),
overrides=(baca.region((1, 4), (1, 12)),),
)
baca.section.make_layout_ly(spacing)

Expand Down
2 changes: 1 addition & 1 deletion faberge/sections/11/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def make_layout():
baca.system(measure=1, y_offset=40, distances=distances),
),
spacing=(1, 20),
overrides=(baca.space((1, 4), (1, 32)),),
overrides=(baca.region((1, 4), (1, 32)),),
)
baca.section.make_layout_ly(spacing)

Expand Down

0 comments on commit 0aec67e

Please sign in to comment.