@@ -44,11 +44,10 @@ "csound_parameters": { "instrument": 1, }, "grammars": { # Notes for this instrument to use in this piece "u": ["I V I I/2 IV/2 u u", "I2 IV u u", "I IV IV VI V u u" , "e"], -# "u": ["I IV I V u u u", "e"], "e": [""], }, "score": "u u u", }, "rhythm": { @@ -74,15 +73,12 @@ # Generate timestamps for the notes t = instr_start_time for note in range(len(score)): score[note].time = t -# print "Original duration:", score[note].duration score[note].duration *= tempo -# print "New duration:", score[note].duration t += score[note].duration -# print "t:", t max_t = t if t > max_t else max_t composition[comp_name][instr_name]["score"] = score # Must be done after all note times keyed in, else you can't coordinate melodies with the rhythm chords for comp_name in progression.split():