clean up formatting of audio creation code