%% Detect Presence of Speech
% This model uses the Voice Activity Detector block to visualize the
% probability of speech presence in an audio signal.
%
% To explore this model, tune the *Probability of transition from a silence
% frame to a speech frame* and *Probability of transition from a speech
% frame to a silence frame* parameters of the Voice Activity Detector (VAD)
% and observe the effect on the speech presence probability.
%
open_system('VAD_example_1')

%%
% The Time Scope blocks plots the audio signal and associated voice
% activity probability.
%
sim('VAD_example_1',10)

%%
%
close_system('VAD_example_1')

%% 
% Copyright 2012 The MathWorks, Inc.