For more info about this tutorial: http://houzone.net/tutorials/simple-tutorial-for-pitch-change/
This tutorial explains the basics of how to write a simple python script in the Blender Game Engine. It assumes that you know the basics of BGE (check e.g. my tutorial: Your first 3D Game with Blender3D) but, even if you do not, you can follow this tutorial.
Made with: Blender3D v2.62, June 2012
If that was helpful to you, be sure to leave a comment