This repository has been archived on 2023-12-21. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ece45-project/src/AmpEnvelopeSelect.m
Darell Chua Yun Da 8c8570ea75 Updating Descriptions
2021-12-10 05:33:09 +08:00

17 lines
352 B
Matlab

%Written by Darell
% CONTRIBUTORS:
% Person1: Darell
% DOCUMENTATION:
%Pass-through function used by app
function output = AmpEnvelopeSelect(input, Fs, attack,decay,sustain,release,number)
if(number == "Option 1")
output = DarellAmplitudeEnvelope(input, Fs, attack,decay,sustain,release);
else
output = input;
end
end