Mercurial > code > home > repos > light9
diff bin/musicPad @ 717:d8202a0a7fd5
fix up musicpad and wavecurve. ascoltami2 can now use relative paths in the config
Ignore-this: eb95f50f54f14275f1f031ccb7fbb97f
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Wed, 13 Jun 2012 04:27:48 +0000 |
parents | 46d319974176 |
children | 7772cc48e016 |
line wrap: on
line diff
--- a/bin/musicPad Tue Jun 12 09:46:04 2012 +0000 +++ b/bin/musicPad Wed Jun 13 04:27:48 2012 +0000 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!bin/python """ rewrite all the songs with silence at the start and end """ @@ -14,9 +14,6 @@ postPad = 9 # 5 + autostop + 4 playlist = Playlist.fromShow(showconfig.getGraph(), showconfig.showUri()) -# instead of taking a show uri like it should, i just convert every -# path i find in the graph (hoping that you only loaded statements for -# the current show) for p in playlist.allSongPaths(): log.info("read %s", p) inputWave = wave.open(p, 'r')