예제 #1
0
def add_bell_music_to_score(score):
    r'''Adds bell music to score.
    '''

    bell_voice = score['Bell Voice']

    def make_bell_phrase():
        phrase = []
        for _ in range(3):
            measure = abjad.Measure((6, 4), r"r2. a'2.")
            abjad.attach(abjad.LaissezVibrer(), measure[-1])
            phrase.append(measure)
            phrase.append(abjad.Measure((6, 4), 'R1.'))
        for _ in range(2):
            phrase.append(abjad.Measure((6, 4), 'R1.'))
        return phrase

    for _ in range(11):
        bell_voice.extend(make_bell_phrase())

    for _ in range(19):
        bell_voice.append(abjad.Measure((6, 4), 'R1.'))

    measure = abjad.Measure((6,4), r"a'1.")
    abjad.attach(abjad.LaissezVibrer(), measure[-1])
    bell_voice.append(measure)
예제 #2
0
 def make_bell_phrase():
     phrase = []
     for _ in range(3):
         measure = abjad.Measure((6, 4), r"r2. a'2.")
         abjad.attach(abjad.LaissezVibrer(), measure[-1])
         phrase.append(measure)
         phrase.append(abjad.Measure((6, 4), 'R1.'))
     for _ in range(2):
         phrase.append(abjad.Measure((6, 4), 'R1.'))
     return phrase
예제 #3
0
파일: part.py 프로젝트: aarongrisez/abjad
 def make_bell_phrase():
     phrase = []
     for _ in range(3):
         measure = abjad.Container("r2. a'2.")
         abjad.attach(abjad.TimeSignature((6, 4)), measure[0])
         abjad.attach(abjad.LaissezVibrer(), measure[-1])
         phrase.append(measure)
         phrase.append(abjad.Container('R1.'))
     for _ in range(2):
         phrase.append(abjad.Container('R1.'))
     return phrase
예제 #4
0
파일: part.py 프로젝트: aarongrisez/abjad
def add_bell_music_to_score(score):
    """
    Adds bell music to score.
    """
    def make_bell_phrase():
        phrase = []
        for _ in range(3):
            measure = abjad.Container("r2. a'2.")
            abjad.attach(abjad.TimeSignature((6, 4)), measure[0])
            abjad.attach(abjad.LaissezVibrer(), measure[-1])
            phrase.append(measure)
            phrase.append(abjad.Container('R1.'))
        for _ in range(2):
            phrase.append(abjad.Container('R1.'))
        return phrase

    bell_voice = score['Bell Voice']
    for _ in range(11):
        bell_voice.extend(make_bell_phrase())
    for _ in range(19):
        bell_voice.append(abjad.Container('R1.'))
    measure = abjad.Container(r"a'1.")
    abjad.attach(abjad.LaissezVibrer(), measure[-1])
    bell_voice.append(measure)
예제 #5
0
# TIME SIGNATURES
time_signatures = [(4, 4)]

# ORGAN NOTATION
rest_organ = abjad.Rest("r1")
abjad.attach(abjad.Fermata("verylongfermata"), rest_organ)
rest_organ_voice_four = abjad.Rest("r1")

# CHORD ZERO ELECTRONICS
chord_zero_electronics = abjad.Chord(
    "<cqs' f' gs' c'' e'' ftqs'' gqs'' gs''" +
    " b'' cs''' ctqs''' f''' fs''' ftqs''' gs'''>1")

# laisses vibrer
laissez_vibrer = abjad.LaissezVibrer()
abjad.attach(laissez_vibrer, chord_zero_electronics)

# tempo mark
mark = abjad.MetronomeMark(None, None, "Statico")
abjad.attach(mark, chord_zero_electronics)

# fermata
abjad.attach(abjad.Fermata("verylongfermata"), chord_zero_electronics)

# remove includes to collect segments
includes = ['../../stylesheets/stylesheet.ily']

segment_maker = SegmentMaker(
    time_signatures=time_signatures,
    chords_voice_one_elec=chord_zero_electronics,