How to convert .dat file into a sound file

Discussion in 'General Electronics Chat' started by Anusuya Nallathambi, May 30, 2014.

  1. Anusuya Nallathambi

    Thread Starter New Member

    May 30, 2014

    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
  2. kubeek

    AAC Fanatic!

    Sep 20, 2005
    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.
  3. bertus


    Apr 5, 2008
  4. Austin Clark

    Active Member

    Dec 28, 2011
    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.