sound: modify the buffer when denoising