function HelperFreeverbCodeGeneration
%HELPERFREEVERBCODEGENERATION Code generation for freeverb reverberation
%example
%
% Run this function to generate a MEX file for the
% HelperFreeverbReverberation function. This function
% HelperFreeverbCodeGeneration is only in support of
% ReverberationUsingFreeverbExample. It may change in a future release.

% Copyright 2014-2019 The MathWorks, Inc.

frameSize = 1024;
audioIn = zeros(frameSize, 2);

% Parameters to be tuned
% Room size
% Stereo width
% Wet/dry mix
% Balance
% Volume
ParamStruct.TuningValues = [0.6032 1 0.5 0.5 1];
ParamStruct.ValuesChanged = false;
ParamStruct.Reset = false;
ParamStruct.Pause = false;
ParamStruct.Stop  = false;

codegen -report HelperFreeverbReverberation -args {audioIn,ParamStruct} 

