Open1

Librosa

YutoYuto

By default, librosa loads files with a sampling rate of 22050, if you want to load the file with the original sampling rate then specify in the load: sr = None

y, sr = librosa.load(audio_filename,sr=None,mono=False,duration =90)

You will get the sampling of the file in the variable sr.

From here