Here's an amazing little bit of code which hacker (and alumnus of MIT's Hyperinstruments Group ) Tristan Jehan put together at the recent Music Hack Day in San Francisco. The premise of the Python program is simple: take any song and make it swing. The code accomplishes this task by taking each measure and time-stretching the first half of each beat while time-shrinking the second half. Then blammo -- it swings. Honestly, it's best you just listen to the results yourself... you'll never hear "Enter Sandman" the same way again. Check out a few examples after the break.