a cleaner version - todo, document error codes and remove printfs
added reference material and test audio files