Got rid of that massive if block
Reduce some redundancy
s/P/PERIOD/
Merge pull request #1 from Fuuzetsu/massive-refactoring

Even prettier code!
Replaced the shebang

#!/usr/bin/env python

That's how the shebang should be written. See:
http://stackoverflow.com/questions/2429511/why-do-people-write-usr-bin-env-python-on-the-first-line-of-a-python-script
Just shortened the code creating sounds dict
Cleared some of my comments. See the previous commit if you want to read those.
Merge pull request #2 from segfaultsourcery/borderline-esoteric

Pretty!
Fixed the indentation. I use two spaces, and everyone else seems to be using four. My bad.
Merge pull request #1 from segfaultsourcery/massive-refactoring

Massive if-block replaced with good code (courtesy of SegfaultSourcery)