Machine Learning, Formula 1, Neural Networks, Signal Processing, AI.
AudioSegment.from_file(file_name, "wav") chunk_length_ms = 1000 chunks = make_chunks(myaudio, chunk_length_ms) for i, chunk in enumerate(chunks): padding = 3 - len(str(i)) number = padding*"0" + str(i) chunk_name = "{}_{}".format(re.split(".wav", file)[0], number)