master #3

Merged
sortion merged 3 commits from babakounine/TadaridaTools:master into master 2024-12-21 09:40:14 +01:00
Showing only changes of commit 3c474ea1b0 - Show all commits

View File

@ -119,7 +119,7 @@ def chunk(outfolder, length):
samplerate*length+samplerate*length]
time_file = datetime.strptime(time, "%Y%m%d_%H%M%S") + timedelta(seconds = 5 * i)
time_file = str(time_file.time().__format__("%Y%m%d_%H%M%S"))
time_file = str(time_file.__format__("%Y%m%d_%H%M%S"))
filename = infile.replace(f'{time}.wav', f'{time_file}_000.wav')
try:
sf.write(filename, temp, samplerate)