Convert the wave writer backend to the new API