shoc FAQ Reader

Hows Can I Convert a CRFS XDAT to a WAV File?

  • Use 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 2024-02-06 by Rolf Haenggi.

Back to the FAQ overview