Still working on saving these wave files. Getting weird format errors but at least I ran an experiment successfully