projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7910cbe
)
abc2midi options inserted *after* the input filename and refnum in abcplay.py.
author
W. Trevor King
<wking@drexel.edu>
Fri, 30 Dec 2011 20:20:48 +0000
(15:20 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 30 Dec 2011 20:20:48 +0000
(15:20 -0500)
posts/abcplay/abcplay.py
patch
|
blob
|
history
diff --git
a/posts/abcplay/abcplay.py
b/posts/abcplay/abcplay.py
index b069e8b5a19bd6bc1989db2e7e8f70a50ac4b149..77fb3a23deb9c4af814970362c87e7b41f606736 100755
(executable)
--- a/
posts/abcplay/abcplay.py
+++ b/
posts/abcplay/abcplay.py
@@
-134,7
+134,8
@@
class ABCPlayer (MIDIPlayer):
def _convert_to_midi(self, filename, refnum):
self._p = Popen(
- self._to_midi + [filename, str(refnum), '-o', self._tempfile])
+ self._to_midi[:1] + [filename, str(refnum)] +
+ self._to_midi[1:] + ['-o', self._tempfile])
self._p.wait()
self._p = None