I am running the following code in python to get the spectrogram of a audio signal of wind:
import librosa
import numpy as np
# Load the audio as a waveform `y`
# Store the sampling rate as `sr`
file_path = "wind.wav"
y, sr = librosa.load(file_path, sr = None, mono=True, offset = 0.0, duration=None)
D = librosa.stft(y)
librosa.display.specshow(librosa.amplitude_to_db(D,ref=np.max),y_axis='log', x_axis='time')
plt.title('Power spectrogram')
plt.colorbar(format='%+2.0f dB')
plt.tight_layout()
I get the following image:
My question: How do I interpret this image? What exactly am I looking at and what are the frequencies in this audio file?