Convert WAV buffer to FLAKE