I am new to audio prosessing in machine learning.
I processed a bunch of audio files and take one as example, I use pydub to make an audio file exactly to 6s as I expected using AudioSegment slicing or adding silence to modify the original audio file.
However, when I was converting the audio file to mfcc using librosa.feature.mfcc, I realized that my 6s file in pydub was not displayed as 6s using librosa.load. Can someone tell me why is that? My sample rate didn't change though, before and after the audio slicing it is always 44100.
Here a picture of my code of checking the length and the output.