Added post-processing and sound gain functions