Add gain and filter support to rawtoaudio2