when the recording starts at 23:59 and lasts more than 5 seconds the following splits get an accurate time 00:04, 00:09 and so on, but the date isn’t updated. I modified that in order to take into account both date and time so that timedelta, when adding 5secs also changes the date
ajout try/except au début de la fonction rate pour palier aux cas où les boitiers créent des fichiers wav erronés illisibles qui bloquent le traitement