YS 4 months ago
commit 68c1616374

@ -1,3 +1,5 @@
import os
os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
import librosa
import librosa.display
import matplotlib.pyplot as plt
@ -20,6 +22,7 @@ plt.figure(figsize=(10, 6))
librosa.display.specshow(spectrogram, sr=sr, x_axis='time', y_axis='log')
plt.colorbar(format='%+2.0f dB')
plt.title('origin spectrogram')
plt.savefig('origin_spectrogram.png')

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Loading…
Cancel
Save