integrated:

lfo_freq_saw,
lfo_freq_sine,
lfo_freq_square
This commit is contained in:
Arthur Lu 2021-12-10 18:06:49 -08:00
parent 65c70216bd
commit c94d676fbc
5 changed files with 8 additions and 2 deletions

Binary file not shown.

View File

@ -9,10 +9,16 @@
function output = LFOSelect(amplitude, frequency, phase, fs, duration, input,number) function output = LFOSelect(amplitude, frequency, phase, fs, duration, input,number)
%UNTITLED Summary of this function goes here %UNTITLED Summary of this function goes here
% Detailed explanation goes here % Detailed explanation goes here
if(number == "Sawtooth") if(number == "AmplitudeSawtooth")
output = lfo_sawtooth(amplitude, frequency, phase, fs, duration, input); output = lfo_sawtooth(amplitude, frequency, phase, fs, duration, input);
elseif(number == "Sine") elseif(number == "AmplitudeSine")
output = lfo_sine(amplitude, frequency, phase, fs, duration, input); output = lfo_sine(amplitude, frequency, phase, fs, duration, input);
elseif(number == "FrequencySine")
output = lfo_freq_sine(amplitude, frequency, phase, fs, duration, input);
elseif(number == "FrequencySquare")
output = lfo_freq_square(amplitude, frequency, phase, fs, duration, input);
elseif(number == "FrequencySawtooth")
output = lfo_freq_saw(amplitude, frequency, phase, fs, duration, input);
else else
output = input; output = input;
end end