record-mono-sound, refactoring and cleanup