Open mathieudpnt opened 1 month ago
Just realized an issue in audio_reshaper, if a resampling and a segmentation are asked, during the segmentation, if a slice of audio is remaining, it is concatenated to the next audio file. However when it is concatenated, resampled data from first file is concatenated with next audio file withouth resampling !!!
when generatin spectrograms, if several files are shorter than chosen duration, the code stops, it should be possible. We should pad the short files with zeros so the duration is the same than desired one