function [ceps] = calculate_MFCC( x, fs, frameLength, noOfFrames )

% sampleFileName = sampleWavFileName( 1 : length( sampleWavFileName ) - 4 );
% fileName = [ sampleFileName '_MFCC.txt'];
% fileID = fopen( fileName, 'w');
% 
% raw = x(:,1);

[ceps,freqresp,fb,fbrecon,freqrecon] = mfcc( x, fs, fs/frameLength );


% noOfValidFrames = length(ceps);

% for i = 1 : noOfValidFrames
%     fprintf(fileID,'%d ',i);
%     for j = 1: 13 % get's the first 13 MFCC's
%          fprintf(fileID, '%f ', ceps(j,i));
%     end
%     fprintf(fileID, '\n');
% end
% 
% fclose( fileID );