Skip to content

Instantly share code, notes, and snippets.

View lordlycastle's full-sized avatar
🤙
Let it Fly!

lordlycastle

🤙
Let it Fly!
View GitHub Profile
@nicolamontecchio
nicolamontecchio / mp3towav
Created January 19, 2011 18:28
convert an mp3 to wav using lame -- useful for converting whole directories
#!/usr/bin/env python
import os
import optparse
def processfile(fi, fo) :
print 'lame --decode --quiet %s %s' % (fi,fo)
if __name__ == '__main__':
# parse options
parser = optparse.OptionParser()