circle bugs * 2 sir
@@ -83,7 +83,17 @@ for x in range(len(my_info)):
start_index = int(my_info[x].time/1000 * rate)
- if x < len(beatmap_info) and "slider" in beatmap_info[x]["type"] and beatmap_info[x]["repeated"] > 1:
+
+ if x < len(beatmap_info) and "circle" in beatmap_info[x]["type"]:
+ if my_info[x].hitresult == None:
+ continue
+ elif my_info[x].hitresult == 0:
+ z[start_index:start_index + len(m)] += m * 0.5
+
+ elif my_info[x].hitresult > 0:
+ start_index2 = int(beatmap_info[x]["time"]/1000 * rate)
+ z[start_index2:start_index2 + len(y)] += y * 0.5
+ elif x < len(beatmap_info) and "slider" in beatmap_info[x]["type"]:
spinSpeedup = 6
arrow_time_list = []
for a in range(beatmap_info[x]["repeated"]):
@@ -91,22 +101,9 @@ for x in range(len(my_info)):
if my_info[x].time < beatmap_info[x]["time"] + beatmap_info[x]["duration"] * beatmap_info[x]["repeated"]:
for abc in arrow_time_list:
- print(beatmap_info[x]["time"])
start_index2 = int(abc/1000 * rate)
z[start_index2:start_index2 + len(y)] += y * 0.5
- elif type(my_info[x].more).__name__ != "Spinner":
- spinSpeedup = 6
- if my_info[x].hitresult == None:
- continue
-
- elif my_info[x].hitresult > 0:
- z[start_index:start_index + len(y)] += y * 0.5
- elif my_info[x].hitresult == 0:
- z[start_index:start_index + len(m)] += m * 0.5
-
-
-
elif type(my_info[x].more).__name__ == "Spinner":
if int(my_info[x].more.rotate) >= 180:
if my_info[x].time/1000 < spinRotationTime:
@@ -126,7 +123,7 @@ for x in range(len(my_info)):
-write('out.mp3', rate, z)
+write('z.mp3', rate, z[int(0.3*rate):int((len(z)/rate))*rate])
end=time.time()
print(end-start)
