I am using SpectrumLab for logging meteors with an SDR. SpectrumLab records waterfall screenshots and a wav file of an event. I am trying to reproduce the waterfall screenshot of SpectrumLab from the wave file but the pattern looks different:
import librosa
import matplotlib.pyplot as plt
import librosa.display
audio_data = 'event20230131_101027_26.wav'
x , sr = librosa.load(audio_data)
plt.figure(figsize=(14, 5))
librosa.display.waveshow(x, sr=sr)
X = librosa.stft(x)
Xdb = librosa.amplitude_to_db(abs(X))
plt.figure(figsize=(14, 5))
librosa.display.specshow(Xdb, sr=sr, x_axis='time', y_axis='log')
plt.colorbar()
plt.show()
Screenshot generated with librosa:
Wave file which was recorded together with the screenshot in SpectrumLab: