Calculation of the Speech Transmission Index (STI) Syntax: [STI_val, ALcons, STI_val_approx, ALcons_approx] = STI(ImpulseResponse, fs, OctaveFilters) This function calculates the Speech Transmission Index from a given impulse response. Octave band filters (125Hz-8kHz) can be passed to the function as an array for faster computation. Inputs: ImpulseResponse - Impulse response of the channel to test fs - Sampling frequency of the impulse response OctaveFilters - Array of MATLAB octave band filters Outputs: STI_val - The Speech Transmission Index result ALcons - Articulation loss of consonants result STI_val_approx - STI approximation from computable bands if fs too low ALcons_approx - ALcons approximation from computable bands if fs too low Example: y=sinc(-7999:8000); fs=44100; [STIval,ALcons,STIval_,ALcons_]=STI(y,fs) fs=16000; [STIval,ALcons,STIval_,ALcons_]=STI(y,fs) fs=8000; [STIval,ALcons,STIval_,ALcons_]=STI(y,fs) See also: STI_BandFilters.m, extractIR.m, synthSweep.m