Various file system re-organisation

This commit is contained in:
Fergal Moran
2013-11-23 21:20:56 +00:00
parent 5a228b56af
commit c719836f94
485 changed files with 203252 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
from django.core.management.base import NoArgsCommand
import timeside
class Command(NoArgsCommand):
def handle_noargs(self, **options):
try:
audio_file = '/home/fergalm/Dropbox/Private/deepsouthsounds.com/working/sample.mp3'
decoder = timeside.decoder.FileDecoder(audio_file)
grapher = timeside.grapher.Spectrogram(width=1920, height=1080)
(decoder | grapher).run()
grapher.render('d:\spectrogram.png')
except Exception, ex:
print "Debug exception: %s" % ex.message