comparison Code/Collation/get_Jitter.m @ 4:92ca03a8fa99 tip

Update to ICASSP 2013 benchmark
author Dawn Black
date Wed, 13 Feb 2013 11:02:39 +0000
parents
children
comparison
equal deleted inserted replaced
3:e1cfa7765647 4:92ca03a8fa99
1 function [] = get_Jitter( dirName, statsFileID )
2
3 % this function collates the results of all values calculated using the PRAAT software
4
5 % For jitter and shimmer PRAAT returns only a single value, not a
6 % frame-by-frame calculation. Therefore we cannot find the varience etc.
7
8
9 % identify the speaker in the stats file
10 fprintf( statsFileID, '%s ', dirName );
11
12 % -------------- get the jitter metrics -------------------
13 % JITTER: ddp \t local \t ppq5 \t rap \t
14
15 metricName = '_jitter_ddp';
16 metricFileName = [ dirName metricName '.txt'];
17 readValueFromFile( statsFileID, metricFileName, metricName );
18
19 metricName = '_jitter_local';
20 metricFileName = [ dirName metricName '.txt'];
21 readValueFromFile( statsFileID, metricFileName, metricName );
22
23 metricName = '_jitter_ppq5';
24 metricFileName = [ dirName metricName '.txt'];
25 readValueFromFile( statsFileID, metricFileName, metricName );
26
27 metricName = '_jitter_rap';
28 metricFileName = [ dirName metricName '.txt'];
29 readValueFromFile( statsFileID, metricFileName, metricName );
30
31
32 fprintf( statsFileID, '\n');
33
34