Skip to main content
1 of 2
user1068636
  • 175
  • 2
  • 2
  • 8

How do I interpret an image of a spectrogram of an audio wind signal?

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 = "C:\\Users\\mathu\\Desktop\\books\\DATA690\\proj1\\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:

enter image description here

My question: How do I interpret this image? What exactly am I looking at and what are the frequencies in this audio file?

user1068636
  • 175
  • 2
  • 2
  • 8