Refactor raw audio module to 100 line limit