%% Attenuate Low-Level Noise
% Use the <docid:audio_ref#bu_14_a-1 Expander> block to attenuate low-level
% noise and visualize the applied dynamic range control gain.
%
open_system('ExpandAudioSignal')

%% 
% 1. Open the <docid:dsp_ref#f5-1117037 Time Scope> and Expander blocks.
%
% 2. Run the model. To switch between listening to the expanded signal and
% the original signal, double-click the <docid:simulink_ref#f7-891134
% Manual Switch> block.
%
% 3. Observe how the applied gain depends on expansion parameters and input
% signal dynamics by tuning the Expander block parameters and viewing the
% results on the Time Scope.
%
open_system('ExpandAudioSignal/Time Scope')
sim('ExpandAudioSignal',15)

%%
%
close_system('ExpandAudioSignal')


%% 
% Copyright 2012 The MathWorks, Inc.