asigalov61 commited on
Commit
6e8d13c
1 Parent(s): dc9ab8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def mix_chord(chord, tones_chord, mel_patch, mel_pitch, next_note_dtime):
106
  c = copy.deepcopy(cc)
107
 
108
  if cc[2] > next_note_dtime:
109
- c[2] == next_note_dtime
110
 
111
  c[4] = ((c[4] // 12) * 12) + tchord[i]
112
  c[5] += c[4] % 12
 
106
  c = copy.deepcopy(cc)
107
 
108
  if cc[2] > next_note_dtime:
109
+ c[2] = next_note_dtime
110
 
111
  c[4] = ((c[4] // 12) * 12) + tchord[i]
112
  c[5] += c[4] % 12