Mercurial > code > home > repos > light9
diff bin/wavecurve @ 436:5a83935377f9
wavecurve to support .ogg/.wav pairs
author | drewp@bigasterisk.com |
---|---|
date | Thu, 12 Jun 2008 06:47:17 +0000 |
parents | 7771f37252da |
children | 94039df5cdd9 |
line wrap: on
line diff
--- a/bin/wavecurve Thu Jun 12 06:47:00 2008 +0000 +++ b/bin/wavecurve Thu Jun 12 06:47:17 2008 +0000 @@ -6,7 +6,7 @@ def createCurve(inpath, outpath, t): print "reading %s, writing %s" % (inpath, outpath) - points = simp(inpath, seconds_per_average=t) + points = simp(inpath.replace('.ogg', '.wav'), seconds_per_average=t) f = file(outpath, 'w') for time_val in points: