Changeset - 5a83935377f9
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 17 years ago 2008-06-12 06:47:17
drewp@bigasterisk.com
wavecurve to support .ogg/.wav pairs
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/wavecurve
Show inline comments
 
@@ -6,7 +6,7 @@ from light9.wavepoints import simp
 

	
 
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:
0 comments (0 inline, 0 general)