Question: Modify the code below to add track2 from the second line of the textfile. from ear sketch import* init() setTempo (100) file Data = import
Modify the code below to add track2 from the second line of the textfile. from ear sketch import* init() setTempo (100) file Data = import File("http://ear sketch. gatech.edu/itec2120/data/clipAndMeasures. lines = fileData split(" ") 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) # add track 2 from second line of the text file. finish Edit()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
