finish outputwav