Refactored sound generation code
Merge branch 'master' of github.com:IEOR140-T5/FinalProject