Skip to content

Instantly share code, notes, and snippets.

@Vostbur
Created April 6, 2013 16:03
Show Gist options
  • Save Vostbur/5326594 to your computer and use it in GitHub Desktop.
Save Vostbur/5326594 to your computer and use it in GitHub Desktop.
Encode wav to mp3 with LAME
#!/usr/bin/env python
# coding: utf-8
import sys, subprocess
# Get LAME bundler for Windows from
# http://www.rarewares.org/mp3-lame-bundle.php
cmd = 'lame --preset insane %s' % sys.argv[1]
subprocess.call(cmd, shell=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment