def assign_brass_sforzando_parts(maker, omit_tuba=False): maker("Horn.Voice.1", parts("Horn", 1), baca.not_parts(baca.voice_one())) maker("Horn.Voice.3", parts("Horn", 3), baca.not_parts(baca.voice_two())) maker("Horn.Voice.2", parts("Horn", 2), baca.not_parts(baca.voice_one())) maker("Horn.Voice.4", parts("Horn", 4), baca.not_parts(baca.voice_two())) maker( "Trumpet.Voice.1", parts("Trumpet", 1), baca.not_parts(baca.voice_one()), ) maker( "Trumpet.Voice.3", parts("Trumpet", 3), baca.not_parts(baca.voice_two()), ) maker( "Trumpet.Voice.2", parts("Trumpet", 2), baca.not_parts(baca.voice_one()), ) maker( "Trumpet.Voice.4", parts("Trumpet", 4), baca.not_parts(baca.voice_two()), ) maker( "Trombone.Voice.1", parts("Trombone", 1), baca.not_parts(baca.voice_one()), ) maker( "Trombone.Voice.3", parts("Trombone", 3), baca.not_parts(baca.voice_two()), ) maker( "Trombone.Voice.2", parts("Trombone", 2), baca.not_parts(baca.voice_one()), ) maker( "Trombone.Voice.4", parts("Trombone", 4), baca.not_parts(baca.voice_two()), ) if not omit_tuba: maker("Tuba.Voice.1", parts("Tuba"))
(unraised_trill, (1, 2)), baca.trill_spanner_staff_padding(4), ) commands( (strings, (3, 6)), baca.dynamic("p-sub"), baca.make_repeat_tied_notes(), baca.only_parts(baca.markup(r"\animales-still-non-vibrato-markup"), ), baca.pitch(0), ) commands( ("1vn1", (1, 2)), library.parts("First.Violin", (1, 10)), baca.not_parts(baca.voice_two()), ) commands( ("1vn1", (3, 6)), library.parts("First.Violin", (2, 10)), baca.not_parts( baca.markup( r"\animales-all-other-strings-still-markup", direction=abjad.Down, ), ), baca.not_parts(baca.voice_two()), ) commands( "1vn3",
def lower_voice(): return baca.suite(baca.not_parts(baca.voice_two()), baca.staff_position(-1))
def lower_voice(n=5): return baca.suite( baca.not_parts(baca.voice_two()), baca.not_parts(baca.text_spanner_staff_padding(n)), )