voice1.scaledNote(5, 11) voice2.rest(20.5) voice2.scaledChord([-2, -5], 3) #Intro main(oboe) guitar.catchUp(oboe.whereAreWe()) main(oboe) mainHarmony(guitar) # Rest & change tempo. oboe.rest(2) comp.setTempo(180) # First run of background 1. background1(violin) oboe.catchUp(violin.whereAreWe()) for x in range(0, 2): background1(violin) theme1(oboe) # Main theme again. lowStringSec.catchUp(violin.whereAreWe()) horn.catchUp(violin.whereAreWe() - 1) background0(violin, lowStringSec) main(horn) horn.catchUp(violin.whereAreWe() - 1)
# Transition to Mixolydian. comp.catchUpAll() transitionToMixolydian(organMid, organLow) comp.setScale(Voice.MIXOLYDIAN) transitionToMixolydian(organMid, organLow) comp.catchUpAll() main(organHigh) main_harm(organMid) # Begin fugue. comp.setTempo(120) organHigh.rest(3.75) comp.catchUpAll() modScale = [0,1,4,5,7,8,10]; # 1 3 1 2 1 2 # Phrygian with sharped third. fugue01(organMid) for x in [Voice.MIXOLYDIAN, modScale]: comp.setScale(x) comp.catchUpAll() fugue01(organMid) fugue01_bk(organLow)
#for x in [0, 1, 3, 1, 0, 1]: # voice.scaledNote(x, 4) for x in [0, 1, 3]: voice.scaledNote(x, 8) for x in [-1, -4]: voice.scaledNote(x, 8) for x in [1, 2, 1, 0]: voice.scaledNote(x, 8) voice.scaledNote(-4, 16) # Script #comp.stop()#dmz1 comp.setTempo(100) # Intro introMel1(violinSol) introHarm1(stringEns) stringEns.rest(2) comp.catchUpAll() introMel2(violinSol) introHarm2(stringEns) stringEns.rest(2) # Second slow melody (I mixed up the order) comp.catchUpAll()