From: Paul Brossier Date: Fri, 27 Jul 2012 16:36:58 +0000 (-0600) Subject: demo_tss.py: add plotting X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c83de6589bf89e89e636878510449730e649f70;p=aubio.git demo_tss.py: add plotting --- diff --git a/interfaces/python/demo_tss.py b/interfaces/python/demo_tss.py index de29d26d..5268ab10 100755 --- a/interfaces/python/demo_tss.py +++ b/interfaces/python/demo_tss.py @@ -33,3 +33,15 @@ if __name__ == '__main__': steadstate = pw.rdo(stead_spec) # overlap-add synthesis of steady states g(transients, read) # write transients to output h(steadstate, read) # write steady states to output + + del f, g, h # finish writing the files now + + from demo_spectrogram import get_spectrogram + from pylab import subplot, show + subplot(311) + get_spectrogram(sys.argv[1]) + subplot(312) + get_spectrogram(sys.argv[2]) + subplot(313) + get_spectrogram(sys.argv[3]) + show()