CRFS: How to convert XDAT files to wav files

shoc FAQ

CRFS: How to convert XDAT files 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 2022-01-31 by Rolf Haenggi.

Go back