Menu

MFCC binary conversion to matrix form

Help
Diwakar.G
2017-01-11
2017-01-11
  • Diwakar.G

    Diwakar.G - 2017-01-11

    I want to use mfcc feature vectors for applying knowledge based approach. But, the .mfc files are in binary format. Is there any way to convert to matrix from
    Row corresponds to frame number where as column corresponds to feature vectors. How can
    I do this conversation in matlab. Please help me. Thanks in advance.

     
    • Nickolay V. Shmyrev

      It is perfectly possible to read binary floats from file with matlab:

      http://de.mathworks.com/help/matlab/ref/fread.html

      Something like

      fid = fopen('test_file.mfc','rb'); 
      size = fread(fid, 1, '*int');  
      out = fread(fid, size, '*float');
      fclose(fid);
      
       
  • Diwakar.G

    Diwakar.G - 2017-01-11

    Thank you

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.