_lilypond_file=None, _score=score_template, current_directory=this_current_directory, build_path=arctic.build_path, segment_name='segment_C', rehearsal_mark=3, tempo=((1, 4), 50), time_signatures=[(4, 4)] * 44, ) #-----------------/________________________ # Pitch Material / Constants for section / #_______________/------------------------/ fd7b9_42 = arctic.tetrads['bf_v'] fd7b9_6 = arctic.invert_up(fd7b9_42, 1) fd7b9_64 = arctic.invert_up(fd7b9_42, 2) fd7b9 = arctic.invert_up(fd7b9_42, 3) f7b9_42 = arctic.FuzzyHarmony('bf_v', fd7b9_42) # emin7 f7b9_6 = arctic.FuzzyHarmony('bf_v', fd7b9_6) f7b9_64 = arctic.FuzzyHarmony('bf_v', fd7b9_64) f7b9 = arctic.FuzzyHarmony('bf_v', fd7b9) fsj9 = arctic.tetrads['g_i'] fsj9_2 = arctic.invert_up(fsj9, 1) fsj9_6 = arctic.invert_up(fsj9, 2) fsj9_64 = arctic.invert_up(fsj9, 3) fs9 = arctic.FuzzyHarmony('g_i', fsj9) fs9_2 = arctic.FuzzyHarmony('g_i', fsj9_2)
segment_name='segment_A', rehearsal_mark=1, tempo=((1, 4), 50), time_signatures=[(4, 4)] * 44, ) segment_maker.metronome_marks = [ (0, arctic.metronome_marks['50'], 5), ] #-----------------/________________________ # Pitch Material / Constants for section / #_______________/------------------------/ cmin7_6 = arctic.tetrads['bf_ii'] cmin7_64 = arctic.invert_up(cmin7_6, 1) cmin7_42 = arctic.invert_up(cmin7_6, 2) cmin7 = arctic.invert_up(cmin7_6, 3) cm7_6 = arctic.FuzzyHarmony('bf_ii', cmin7_6) # cmin7/e cm7_64 = arctic.FuzzyHarmony('bf_ii', cmin7_64) cm7_42 = arctic.FuzzyHarmony('bf_ii', cmin7_42) cm7 = arctic.FuzzyHarmony('bf_ii', cmin7) # D7(b9, 13) d7_9 = arctic.tetrads['g_v'] d7_6 = arctic.invert_up(d7_9, 1) d7_64 = arctic.invert_up(d7_9, 2) d7 = arctic.invert_up(d7_9, 3) d7_9 = arctic.FuzzyHarmony('g_v', d7_9)
import abjad import arctic # PitchSegments for section cmin7_6 = arctic.tetrads['bf_ii'] cmin7_64 = arctic.invert_up(cmin7_6, 1) cmin7_42 = arctic.invert_up(cmin7_6, 2) cmin7 = arctic.invert_up(cmin7_6, 3) print(type(cmin7_6), cmin7_64, cmin7_42, cmin7) # As Harmony Objects cm7_6 = arctic.FuzzyHarmony('bf_ii', cmin7_6) cm7_64 = arctic.FuzzyHarmony('bf_ii', cmin7_64) cm7_42 = arctic.FuzzyHarmony('bf_ii', cmin7_42) cm7 = arctic.FuzzyHarmony('bf_ii', cmin7) cm_harmonies = [cm7_6, cm7_64, cm7_42, cm7] def generate_pitches(harmonies): for harmony in harmonies: print(harmony) for pitch in harmony.pitches: print(pitch) generate_pitches(cm_harmonies) print("item access: ", cm7_6.pitches[1])
_lilypond_file=None, _score=score_template, current_directory=this_current_directory, build_path=arctic.build_path, segment_name='segment_B', rehearsal_mark=2, tempo=((1, 4), 50), time_signatures=[(4, 4)] * 44, ) #-----------------/________________________ # Pitch Material / Constants for section / #_______________/------------------------/ emin7 = arctic.tetrads['e_i'] emin7_6 = arctic.invert_up(emin7, 1) emin7_64 = arctic.invert_up(emin7, 2) emin7_42 = arctic.invert_up(emin7, 3) em7 = arctic.FuzzyHarmony('e_i', emin7) # emin7 em7_6 = arctic.FuzzyHarmony('e_i', emin7_6) em7_64 = arctic.FuzzyHarmony('e_i', emin7_64) em7_42 = arctic.FuzzyHarmony('e_i', emin7_42) # D7(b9, 13) fsj_65 = arctic.tetrads['cs_ii'] fsj_43 = arctic.invert_up(fsj_65, 1) fsj_42 = arctic.invert_up(fsj_65, 2) efmin7 = arctic.invert_up(fsj_65, 3) fs_65 = arctic.FuzzyHarmony('cs_ii', fsj_65)
segment_maker = arctic.SegmentMaker( _lilypond_file=None, _score=score_template, current_directory=this_current_directory, build_path=test_build_path, segment_name='segment_F', tempo=((1, 4), 50), time_signatures=([(4, 4)] * 20), ) #-----------------/________________________ # Pitch Material / Constants for section / #_______________/------------------------/ b_dom7_x = arctic.tetrads['e_v'] b_dom7_6 = arctic.invert_up(b_dom7_x, 1) b_dom7_64 = arctic.invert_up(b_dom7_x, 2) b_dom7_42 = arctic.invert_up(b_dom7_x, 3) b7_x = arctic.FuzzyHarmony('e_v', b_dom7_x) # emin7 b7_6 = arctic.FuzzyHarmony('e_v', b_dom7_6) b7_64 = arctic.FuzzyHarmony('e_v', b_dom7_64) b7_42 = arctic.FuzzyHarmony('e_v', b_dom7_42) csj7 = arctic.tetrads['cs_i'] csj7_6 = arctic.invert_up(csj7, 1) csj7_64 = arctic.invert_up(csj7, 2) csj7_42 = arctic.invert_up(csj7, 3) cs7 = arctic.FuzzyHarmony('cs_i', csj7) cs7_6 = arctic.FuzzyHarmony('cs_i', csj7_6)
_lilypond_file=None, _score=score_template, current_directory=this_current_directory, build_path=arctic.build_path, segment_name='segment_D', rehearsal_mark=4, tempo=((1, 4), 50), time_signatures=[(4, 4)] * 44, ) #-----------------/________________________ # Pitch Material / Constants for section / #_______________/------------------------/ fsmin7_42 = arctic.tetrads['e_ii'] fsmin7 = arctic.invert_up(fsmin7_42, 1) fsmin7_6 = arctic.invert_up(fsmin7_42, 2) fsmin7_64 = arctic.invert_up(fsmin7_42, 3) fsm7_42 = arctic.FuzzyHarmony('e_ii', fsmin7_42) # emin7 fsm7 = arctic.FuzzyHarmony('e_ii', fsmin7_6) fsm7_6 = arctic.FuzzyHarmony('e_ii', fsmin7_6) fsm7_64 = arctic.FuzzyHarmony('e_ii', fsmin7_64) gsd7_64 = arctic.tetrads['cs_v'] gsd7_42 = arctic.invert_up(gsd7_64, 1) gsd7_mi2 = arctic.invert_up(gsd7_64, 2) gsd7_aug4 = arctic.invert_up(gsd7_64, 3) gs7_64 = arctic.FuzzyHarmony('cs_v', gsd7_64) gs7_42 = arctic.FuzzyHarmony('cs_v', gsd7_42)
segment_maker = arctic.SegmentMaker( _lilypond_file=None, _score=score_template, current_directory=this_current_directory, build_path=test_build_path, segment_name='segment_E', tempo=((1, 4), 50), time_signatures=([(4, 4)] * 20), ) #-----------------/________________________ # Pitch Material / Constants for section / #_______________/------------------------/ bfM9_42 = arctic.tetrads['bf_i'] bfM9_64 = arctic.invert_up(bfM9_42, 1) bfM9_7 = arctic.invert_up(bfM9_42, 2) bfM9_6 = arctic.invert_up(bfM9_42, 3) bf9_42 = arctic.FuzzyHarmony('bf_v', bfM9_42) # emin7 bf9_64 = arctic.FuzzyHarmony('bf_v', bfM9_64) bf9_7 = arctic.FuzzyHarmony('bf_v', bfM9_7) bf9_6 = arctic.FuzzyHarmony('bf_v', bfM9_6) amin7_6 = arctic.tetrads['g_ii'] amin7_64 = arctic.invert_up(amin7_6, 1) amin7_42 = arctic.invert_up(amin7_6, 2) amin7 = arctic.invert_up(amin7_6, 3) am7_6 = arctic.FuzzyHarmony('g_ii', amin7_6) am7_64 = arctic.FuzzyHarmony('g_ii', amin7_64)