integrated:
lfo_freq_saw, lfo_freq_sine, lfo_freq_square
This commit is contained in:
parent
65c70216bd
commit
c94d676fbc
BIN
App/app.mlapp
BIN
App/app.mlapp
Binary file not shown.
@ -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
|
||||||
|
Reference in New Issue
Block a user