This is a python script which will record sound using arecord and then use google's speech recognition API to transcribe it.