Changeset - 064d2c9f2014
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 17 years ago 2008-06-12 06:47:00
drewp@bigasterisk.com
curvecalc usage message
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -394,22 +394,23 @@ def read_all_subs(graph):
 
root=tk.Tk()
 
root.tk_setPalette("gray50")
 
toplevelat("curvecalc",root)
 
root.tk_focusFollowsMouse()
 

	
 
parser = optparse.OptionParser()
 
parser.set_usage("%prog [opts] songURI")
 
parser.add_option("--sliders", action='store_true',
 
                  help='use hardware sliders')
 
parser.add_option("--skip-music", action='store_true',
 
                  help="ignore music and smooth_music curve files")
 
opts, args = parser.parse_args()
 

	
 
try:
 
    song = URIRef(args[0])
 
except IndexError:
 
    raise SystemExit("song name is required, e.g. '05-mix'")
 
    raise SystemExit("song URI is required, e.g. 'http://light9.bigasterisk.com/show/dance2008/song3'")
 

	
 
log.debug("music")
 
music=Music()
 

	
 
zc = Zoomcontrol(root)
 
zc.pack(side='top',fill='x')
0 comments (0 inline, 0 general)