Changeset 67e16c2


Ignore:
Timestamp:
May 10, 2016, 7:35:29 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
494df02
Parents:
d0faeca
Message:

python/demos/demo_spectrogram.py: fix indent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_spectrogram.py

    rd0faeca r67e16c2  
    6767    if len(sys.argv) < 2:
    6868        print "Usage: %s <filename>" % sys.argv[0]
    69   else:
    70       for soundfile in sys.argv[1:]:
    71           fig = get_spectrogram(soundfile)
    72           # display graph
    73           fig.show()
    74           #outimage = os.path.basename(soundfile) + '.png'
    75           #print ("writing: " + outimage)
    76           #plt.savefig(outimage)
    77           plt.close()
     69    else:
     70        for soundfile in sys.argv[1:]:
     71            fig = get_spectrogram(soundfile)
     72            # display graph
     73            fig.show()
     74            #outimage = os.path.basename(soundfile) + '.png'
     75            #print ("writing: " + outimage)
     76            #plt.savefig(outimage)
     77            plt.close()
Note: See TracChangeset for help on using the changeset viewer.