Mercurial > hg > emotion-detection-top-level
diff Code/Descriptors/Matlab/Common/detect_VoicedUnvoiced.m @ 4:92ca03a8fa99 tip
Update to ICASSP 2013 benchmark
author | Dawn Black |
---|---|
date | Wed, 13 Feb 2013 11:02:39 +0000 |
parents | a3d62264030c |
children |
line wrap: on
line diff
--- a/Code/Descriptors/Matlab/Common/detect_VoicedUnvoiced.m Mon Sep 10 09:20:12 2012 +0100 +++ b/Code/Descriptors/Matlab/Common/detect_VoicedUnvoiced.m Wed Feb 13 11:02:39 2013 +0000 @@ -10,11 +10,11 @@ % only wish to consider pitch values from voiced frames. % silent and unvoiced frames will produce pitch values that % are random and therefore will bias our results - segmentFrames = detect_Silence( sampleFileName, 0 ); + segmentFrames = detect_Silence( [sampleFileName '.wav'], 0 ); % remove the silent frames [x, fs, frameLength, noOfFrames] = openFile( [ sampleFileName '.wav' ] ); - [ silentFrames ] = removeSilentData( segmentFrames, noOfFrames ); + [ silentFrames ] = getSilentDataArray( segmentFrames, noOfFrames ); % [vuv] = voicingByClustering( nonSilentAudio, fs, noOfFrames, frameLength ); [vuv] = calculate_VoicedUnvoicedDecision( sampleFileName, x, fs, frameLength, noOfFrames, silentFrames );