Updated with recording code.
Second activity lets user record files with threshold in wav format.