In Python, It\'s possible to read an audio file as an array of samples and receive its sample rate with:
import librosa array_of_samples, samplerate = librosa.loa