Added the framework for playing sound.