EarSketch Content Knowledge Test: Summer Camp 2012(Answer Key and Coding References)
Need to remove references to learning objectives, depth of knowledge, and difficulty for student copy.
1. Which EarSketch API Function loops a musical clip between a starting and ending time? (LO3a) (DLK1) (Moderate)
A. init()B. insertMediaSection()C. fitMedia() D. makeBeat()E. I don’t know
2. DKL1, LO4a (Easy)On what measure does track 2 begin?
a) 8b) 9c) 14 (distractor)d) 16e) I don’t know
3. Given the following function: (LO9b) (DKL2) (Moderate)
def awesomeBeat(music1, music2, start):makeBeat(music1, 1, start, “0-0-0-0-0+++0-0-”)makeBeat(music2, 2, start, “0-00-00-0-00-000”)
The programmer calls:
awesomeBeat(HIP_HOP_DRUMS3_2M, HIP_HOP_DRUMS4_2M, 4)
Which picture of the Reaper interface represents the results?
A.
B.
C.
4. A programmer runs the following code and gets an error message: (LO11b) (DKL2) (Easy)
1 from earsketch import *2 init()34 drum1 = HIP_HOP_DRUMS4_2M56 fitMedia(drum1, 1, 1)78 finish()
Error message:
Which line needs to be fixed and why?
A. Line 1: earsketch is misspelledB. Line 4: HIP_HOP_DRUMS4_2M is not definedC. Line 6: fitMedia() is misspelledD. Line 6: fitMedia() needs one additional argumentE. I don’t know
5. Which code example puts the beat “0+++0+++0+0+0+++” on measures 5, 6, 7, 8? (LO6a) (DKL2) (Moderate)
A. music = HIP_HOP_DRUMS4_2M for measure in range(5, 9): makeBeat(music, 1, measure, “0+++0+++0+0+0+++”)
B. music = HIP_HOP_DRUMS4_2M for measure in range(1, 5):
measure = measure * 2makeBeat(music, 1, measure, “0+++0+++0+0+0+++”)
C. music = HIP_HOP_DRUMS4_2M for measure in range(5, 8):
makeBeat(music, 1, measure, “0+++0+++0+0+0+++”)
D. music = HIP_HOP_DRUMS4_2M for measure in range(4):
makeBeat(music, 1, measure, “0+++0+++0+0+0+++”)
E. I don’t know
6. Given the following code: (LO6a) (DKL2) (Hard)
drum1 = HIP_HOP_PROGDRUMS11_2Mdrum2 = SOUL_TAMBOURINE_4Mbass = TECHNO_DEEPTOUCHBASS_2Mmusic1 = TECHNO_BLISSEQSYNTH_2Mmusic2 = HIP_HOP_PROGSYNTH1_8M
introList = [drum1, drum2, bass, music1, music2]
for track in range(1, 5): mediaIndex = track fitMedia(introList[mediaIndex], track, 1, 9)
What audio sample will be on Track 3?
A. TECHNO_BLISSEQSYNTH_2M
B. SOUL_TAMBOURINE_4M
C. TECHNO_DEEPTOUCHBASS_2M
D. HIP_HOP_PROGDRUMS11_2M
E. HIP_HOP_PROGSYNTH1_8M
F. I don’t know
7. Given the following code: (LO7a) (DKL2) (Hard)
music = SOUL_PIANO2_2Mstart = 1beat = “0-0-0-0-0+++0000”
makeBeat(music, 1, 1, beat)makeBeat(music, 1, 2, beat)makeBeat(music, 1, 3, beat)makeBeat(music, 1, 4, beat)
Which function will perform the same action as the code above?
A. def groovy(music, beat, start): for count in range(4): measure = count + start makeBeat(music, 1, measure, beat)
groovy(SOUL_PIANO2_2M, “0-0-0-0-0+++0000”, 1)
B.def groovy(music, beat): for measure in range(4): beat = measure + 1
makeBeat(music, 1, 1, beat)
groovy(SOUL_PIANO2_2M, “0-0-0-0-0+++0000”)
C. def groovy(music, start):
fitMedia(music, 1, start, end, beat)
groovy(SOUL_PIANO2_2M, 1)
D.def groovy(start, end):
for measure in range(start, end): makeBeat(music, 1, start, beat)
groovy(1, 5)
E. I Don’t Know8. The Reaper track image and code below represents a good example of: (LO2c) (DKL2)
(Moderate)
from earsketch import *
drum1 = HIP_HOP_PROGDRUMS11_2Mdrum2 = SOUL_TAMBOURINE_4Mbass = TECHNO_DEEPTOUCHBASS_2Mmusic = TECHNO_BLISSEQSYNTH_2M
mediaList = [drum1, drum2, bass, music]
init()
for track in range(1, 5): mediaIndex = track - 1 measure = (track * 2) - 1 fitMedia(mediaList[mediaIndex], track, measure, 9)
finish()
A. a bridge before the return of the chorus using modulation to drive listener interest.
B. an introduction using additive technique of layering musical tracks to build up to a full sound.
C. a fill with a musical sample sliced into smaller 16th of a beat sections.
D. an instrumental solo line with thin texture acting as a transition.
E. I don’t know
9. The effect in the graphic and code below can best be described as: (LO1b) (DKL2)
(Moderate)
from earsketch import *
init()setTempo(144)
keyboard = LATIN_FLUTE3_2Mdrums = LATIN_HEAVYBOSSADRUMS_2M
fitMedia(keyboard, 1, 1, 9)fitMedia(drums, 2, 1, 9)
start = 1end = 5
setEffect(1, VOL_PAN, VOL_PAN_PAN, -100, start, -100, end)setEffect(2, VOL_PAN, VOL_PAN_PAN, -100, start, -100, end)
start = 5end = 9
setEffect(1, VOL_PAN, VOL_PAN_PAN, 100, start, 100, end)setEffect(2, VOL_PAN, VOL_PAN_PAN, 100, start, 100, end)
finish()
A. panning between left and right channels at measure 5.
B. using distortion to emphasize beats 1 and 3 of the musical sample
C. a crescendo using an increase in paning and pitch change from -100 to 100 from measures 1 to 5.