%% Design Audio Plugin Grid Layout

% Copyright 2019 The MathWorks, Inc.

%%
% The example plugin, |noisify|, adds noise to your audio signal
% channel-wise at a specified gain (per channel) and dropout rate.
%
% <include>noisifyOriginal.m</include>
%

%%
% To see the corresponding UI for the plugin, call |parameterTuner| with
% the plugin. When you generate an audio plugin and deploy it to a DAW, the
% DAW uses a default UI that is similar to the default UI of
% |parameterTuner|.
%

parameterTuner(noisifyOriginal)
%%
%
% <<../noisify_original.png>>
%

%%
% You can create a more intuitive and visually pleasing UI using
% |audioPluginInterface|, |audioPluginGridLayout|, and
% |audioPluginParameter|. For example, to create a more intuitive UI for
% |noisyOriginal|, you could update the |audioPluginInterface| as follows:
%
% <include>noisify.m</include>
%

%%
% You can quickly iterate on your UI design by using |parameterTuner| to
% visualize incremental changes. Call |parameterTuner| on |noisify|. When
% you generate an audio plugin and deploy it to a DAW, the DAW uses the
% enhanced UI.
parameterTuner(noisify)
%%
%
% <<../noisify.png>>
%