How to deal with audio with different length in Audio Classification
If the signals were of the same duration but obtained using different sampling rates, so that they have different sample lengths, you can resample the shorter sequence with a higher sampling rate to match that of the longer sequence.