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.
ece45-project/src/AmpEnvelopeSelect.m
Darell Chua Yun Da e7fdfda8e3 Semifunctional App
Added helper functions for scalability. App functions is 80 percent complete. Requires Pitch Envelope and LFO to fully complete testing.
2021-12-05 15:14:12 +08:00

9 lines
243 B
Mathematica

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