How to convert CRFS files (XDAT) to wav files

  • Using SOX and wavetxt
  • The values for the sampling rate and the center_frequency can be taken from the corresponding xhdr files
conv_xdat2wav.bat content:
rem usage: filename, samplingrate center_frequency
@echo off
del %1.txt
del %1.wav
sox -t raw -r %2 -b 16 -e signed-integer -c 2 %1 -t wav %1.wav
wavetxt -cx %1.wav f=%3

Last update on 2021-06-12 by R. Haenggi.

Go back