refactoring audio