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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!