Binary data write wav file sd card

Have you added the wav header to what you save?
This header needs to contain the length and sample rate of the WAV file, so you either write those in advance of any data, or once the file is written to the SD card and you know the size of the data copy the data file into a new file with the header.

Search the net for information about the WAV format header.