# HG changeset patch # User drewp@bigasterisk.com # Date 1213253237 0 # Node ID 5a83935377f9d5ccc6ef7fa1a0833bf77afefe6a # Parent 064d2c9f20142e3065e7bf74543d970121c1a82c wavecurve to support .ogg/.wav pairs diff -r 064d2c9f2014 -r 5a83935377f9 bin/wavecurve --- 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: