-
Notifications
You must be signed in to change notification settings - Fork 49
/
stoi_d2percCorr.m
39 lines (34 loc) · 1.19 KB
/
stoi_d2percCorr.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
function [stoi_PercCorr] = stoi_d2percCorr(stoi_d)
% Converts the stoi measure, d, to percent words correct unit
%
% Syntax: [stoi_PercCorr] = stoi_d2percCorr(stoi_d)
%
% Inputs:
% stoi_d - The STOI measure in the raw units
%
% Outputs:
% stoi_PercCorr - The corressponding STOI value in Percent of Words
% Correct as defined for the IEEE English Library
%
%
% References:
% C. H. Taal, R. C. Hendriks, R. Heusdens, and J. Jensen. A Short-Time
% Objective Intelligibility Measure for Time-Frequency Weighted Noisy
% Speech. In Acoustics Speech and Signal Processing (ICASSP), pages
% 4214-4217. IEEE, 2010.
%
% C. H. Taal, R. C. Hendriks, R. Heusdens, and J. Jensen. An Algorithm
% for Intelligibility Prediction of Time-Frequency Weighted Noisy Speech.
% IEEE Transactions on Audio, Speech and Language Processing,
% 19(7):2125-2136, 2011.
% Author: Jacob Donley
% University of Wollongong
% Email: [email protected]
% Date: 05 August 2015
% Revision: 0.1
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f_IEEE_a = -17.4906;
f_IEEE_b = 9.6921;
stoi_PercCorr = 100 / (1 + exp(f_IEEE_a * stoi_d + f_IEEE_b ) );
end