no slider repeats
@@ -84,6 +84,7 @@ durationTime = []
endTime = []
for bp in range(len(beatmap_info)):
if "slider" in beatmap_info[bp]["type"]:
+ sliderTime.append(beatmap_info[bp]["time"])
repeatedTime.append(beatmap_info[bp]["repeated"])
durationTime.append(beatmap_info[bp]["duration"])
endTime.append(beatmap_info[bp]["end time"])
@@ -102,20 +103,20 @@ for x in range(len(my_info)):
start_index2 = int(abc/1000 * rate)
z[start_index2:start_index2 + len(s)] += s * 0.5'''
-
if type(my_info[x].more).__name__ == "Circle":
spinSpeedup = 6
-
- if x < len(sliderTime) and my_info[x].more.sliderhead == True:
+ if x < len(beatmap_info) and my_info[x].more.sliderhead == True:
arrow_time_list = []
- for a in range(0,repeatedTime[0]):
- arrow_time_list.append(repeatedTime[a] + durationTime[a] * a+1)
+ for a in range(repeatedTime[0]):
+ arrow_time_list.append(sliderTime[a] + durationTime[a] * a+1)
del repeatedTime[0]
del durationTime[0]
del endTime[0]
+ del sliderTime[0]
if my_info[x].time < endTime[0]:
for abc in arrow_time_list:
+ print(abc)
start_index2 = int(abc/1000 * rate)
z[start_index2:start_index2 + len(s)] += s * 0.5
endTime.pop(0)
