update sound and sound logic
Merge pull request #41 from JoeDou/joeDev

update sound and sound logic