Refactored audiofeedback plugin.