How to convert .dat file into a sound file

Thread Starter

Anusuya Nallathambi

Joined May 30, 2014
2
Hi,

I am currently working on a analog active noise control circuit that uses a 2 second long music piece as an input. The circuit works fine. The output when viewed in Cosmoscope is satisfactory. But I need to convert it into a sound file (any format) in order to check its reproducibility and integrity. Is there any software to do this ? I tried some software to change the output data formatted as a csv file into a wav file. But they have not worked so far. I am still searching for a possible way to solve this . Please help. Thank you
 

kubeek

Joined Sep 20, 2005
5,795
can you post the file? Some programs like cooledit 2000 were able to open a raw data file and interpret it according to your setting, like 8bit and 16khz.
 

Austin Clark

Joined Dec 28, 2011
412
You could convert it into a .wav file fairly easily if you have any programming experience. Essentially you just have to create the appropriate header data, because I assume the .dat is PCM like a .wav file.
 
Top