Question: Modify the code below to use a for loop to add all the lines from the file on separate tracks. from earsketch import* init() setTempo(100)
Modify the code below to use a for loop to add all the lines from the file on separate tracks. from earsketch import* init() setTempo(100) file Data = importFile("http://earsketch.gatech.edu/itec2120/data/clipAndMeasures.txt") lines = fileData.split(" ") # replace the code below with a for loop that adds all the lines on separate tracks track = 1 first_line = lines[0] values = first_line.split("; ") clip = values[0] start = int (values[1]) end = int (values [2]) fitMedia(clip, track, start, end) finish()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
