diff options
author | Graham Northup <grissess@nexusg.org> | 2017-02-15 19:52:01 -0500 |
---|---|---|
committer | Graham Northup <grissess@nexusg.org> | 2017-02-21 23:43:58 -0500 |
commit | 19d054741ba632d4cc664b89e694d07fe0b568f1 (patch) | |
tree | 8618589106500c4ff1f6784482ac62ec9717edb6 /mkiv.py | |
parent | 75bc43e7da70bad381bec280d7b4f10d0baaeeef (diff) |
Tools to make GRUB_INIT_TUNEs!
Diffstat (limited to 'mkiv.py')
-rw-r--r-- | mkiv.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -705,6 +705,9 @@ for fname in args: ivev.set('time', str(mev.abstime)) ivev.set('data', repr(fw.encode_midi_event(mev.ev))) + ivargs = ET.SubElement(ivmeta, 'args') + ivargs.text = ' '.join('%r' % (i,) for i in sys.argv[1:]) + print 'Done.' txt = ET.tostring(iv, 'UTF-8') open(os.path.splitext(os.path.basename(fname))[0]+'.iv', 'wb').write(txt) |