Reorganized Into Folders
This commit is contained in:
16
src/Select/AmpEnvelopeSelect.m
Normal file
16
src/Select/AmpEnvelopeSelect.m
Normal file
@@ -0,0 +1,16 @@
|
||||
%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
|
||||
|
26
src/Select/FilterSelect.m
Normal file
26
src/Select/FilterSelect.m
Normal file
@@ -0,0 +1,26 @@
|
||||
%Written by Darell
|
||||
|
||||
% CONTRIBUTORS:
|
||||
% Person1: Darell
|
||||
|
||||
% DOCUMENTATION:
|
||||
%Pass-through function used by app
|
||||
|
||||
function output = FilterSelect(input,Fs,LOW,MED,HIGH,number)
|
||||
if(number == "Option 1")
|
||||
output = DarellbandpassFilter(input,Fs,LOW,MED,HIGH);
|
||||
elseif(number == "Option 2")
|
||||
output = amplifyFreqRange(input, Fs, LOW, MED, HIGH);
|
||||
elseif(number == "Option 3")
|
||||
output = epic_effect_schluep(input, Fs, LOW, MED, HIGH);
|
||||
elseif(number == "Option 4")
|
||||
output = muffled_effect_schluep(input, Fs, LOW, MED, HIGH);
|
||||
elseif(number == "Option 5")
|
||||
output = seperate_prevalent_schluep(input, Fs, LOW, MED, HIGH);
|
||||
elseif(number == "Option 6")
|
||||
output = bandreject_filter(input, Fs, LOW, HIGH);
|
||||
else
|
||||
output = input;
|
||||
end
|
||||
end
|
||||
|
20
src/Select/LFOSelect.m
Normal file
20
src/Select/LFOSelect.m
Normal file
@@ -0,0 +1,20 @@
|
||||
%Written by Darell
|
||||
|
||||
% CONTRIBUTORS:
|
||||
% Person1: Darell
|
||||
|
||||
% DOCUMENTATION:
|
||||
%Pass-through function used by app
|
||||
|
||||
function output = LFOSelect(amplitude, frequency, phase, fs, duration, input,number)
|
||||
%UNTITLED Summary of this function goes here
|
||||
% Detailed explanation goes here
|
||||
if(number == "Option 1")
|
||||
output = lfo_sawtooth(amplitude, frequency, phase, fs, duration, input);
|
||||
elseif(number == "Option 2")
|
||||
output = lfo_sine(amplitude, frequency, phase, fs, duration, input);
|
||||
else
|
||||
output = input;
|
||||
end
|
||||
end
|
||||
|
19
src/Select/OffsetSelect.m
Normal file
19
src/Select/OffsetSelect.m
Normal file
@@ -0,0 +1,19 @@
|
||||
%Written by Darell
|
||||
|
||||
% CONTRIBUTORS:
|
||||
% Person1: Darell
|
||||
|
||||
% DOCUMENTATION:
|
||||
%Pass-through function used by app
|
||||
|
||||
function output = OffsetSelect(input,value,number)
|
||||
if(number == "Option 1")
|
||||
output = Meghaj_Echo(input, value);
|
||||
elseif(number == "Option 2")
|
||||
output = Petha_Hsu_PitchOffset(input, value);
|
||||
else
|
||||
output = input;
|
||||
end
|
||||
end
|
||||
|
||||
|
18
src/Select/PitchEnvelopeSelect.m
Normal file
18
src/Select/PitchEnvelopeSelect.m
Normal file
@@ -0,0 +1,18 @@
|
||||
%Written by Darell
|
||||
|
||||
% CONTRIBUTORS:
|
||||
% Person1: Darell
|
||||
|
||||
% DOCUMENTATION:
|
||||
%Pass-through function used by app
|
||||
|
||||
function output = PitchEnvelopeSelect(input, Fs, attack,decay,sustain,release,number)
|
||||
if(number == "Option 1")
|
||||
output = DarellAnnePitchEnvelope(input, Fs, attack,decay,sustain,release);
|
||||
elseif(number == "Option 2")
|
||||
output = DarellAnneLinearPitchEnvelope(input, Fs, attack,decay,sustain,release);
|
||||
else
|
||||
output = input;
|
||||
end
|
||||
end
|
||||
|
26
src/Select/SoundGeneratorSelect.m
Normal file
26
src/Select/SoundGeneratorSelect.m
Normal file
@@ -0,0 +1,26 @@
|
||||
%Written by Darell
|
||||
|
||||
% CONTRIBUTORS:
|
||||
% Person1: Darell
|
||||
|
||||
% DOCUMENTATION:
|
||||
%Pass-through function used by app
|
||||
|
||||
function output = SoundGeneratorSelect(amplitude, frequency, phase, fs, duration, duty,number)
|
||||
if(number == "Option 1")
|
||||
output = generate_sine(amplitude, frequency, phase, fs, duration, duty);
|
||||
elseif(number == "Option 2")
|
||||
output = generate_square(amplitude, frequency, phase, fs, duration, duty);
|
||||
elseif(number == "Option 3")
|
||||
output = generate_triangle(amplitude, frequency, phase, fs, duration, duty);
|
||||
elseif(number == "Option 4")
|
||||
output = generate_sawtooth(amplitude, frequency, phase, fs, duration, duty);
|
||||
elseif(number == "Option 5")
|
||||
output = generate_white(amplitude, fs, duration);
|
||||
elseif(number == "Option 6")
|
||||
output = generate_halfCircles(amplitude, frequency, phase, fs, duration, duty);
|
||||
else
|
||||
output = 0;
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user