ref: be65de4e86928213202e9311451f9205163921b4
parent: 6639eb1c46a01cc3b58845cd8f951424b1e79ff3
author: Paul Brossier <piem@piem.org>
date: Mon Jul 30 08:10:58 EDT 2012
interfaces/python/demo_spectrogram.py: hide noise
--- a/interfaces/python/demo_spectrogram.py
+++ b/interfaces/python/demo_spectrogram.py
@@ -22,7 +22,7 @@
if read < a.hop_size: break
# plotting
- imshow(log10(specgram.T), origin = 'bottom', aspect = 'auto', cmap=cm.gray_r)
+ imshow(log10(specgram.T + .001), origin = 'bottom', aspect = 'auto', cmap=cm.gray_r)
axis([0, len(specgram), 0, len(specgram[0])])
ylabel('Frequency (Hz)')
xlabel('Time (s)')