Merge pull request #39 from ltcptgeneral/DarellsAnnex
Reorganized Into Folders
This commit is contained in:
commit
615e94b612
BIN
App/app.mlapp
BIN
App/app.mlapp
Binary file not shown.
BIN
src/.DS_Store
vendored
BIN
src/.DS_Store
vendored
Binary file not shown.
BIN
src/Helper/.DS_Store
vendored
Normal file
BIN
src/Helper/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
src/NotWorking/.DS_Store
vendored
Normal file
BIN
src/NotWorking/.DS_Store
vendored
Normal file
Binary file not shown.
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
|
||||
|
@ -6,13 +6,14 @@
|
||||
% DOCUMENTATION:
|
||||
%Pass-through function used by app
|
||||
|
||||
function output = FilterSelect(input,Fs,LOW,MED,HIGH,number)
|
||||
function output = OffsetSelect(input,value,number)
|
||||
if(number == "Option 1")
|
||||
output = DarellbandpassFilter(input,Fs,LOW,MED,HIGH);
|
||||
output = Meghaj_Echo(input, value);
|
||||
elseif(number == "Option 2")
|
||||
output = amplifyFreqRange(input, Fs, LOW, MED, HIGH);
|
||||
output = Petha_Hsu_PitchOffset(input, value);
|
||||
else
|
||||
output = input;
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -16,7 +16,9 @@ function output = SoundGeneratorSelect(amplitude, frequency, phase, fs, duration
|
||||
elseif(number == "Option 4")
|
||||
output = generate_sawtooth(amplitude, frequency, phase, fs, duration, duty);
|
||||
elseif(number == "Option 5")
|
||||
output = generate_white(amplitude, frequency, phase, fs, duration, duty);
|
||||
output = generate_white(amplitude, fs, duration);
|
||||
elseif(number == "Option 6")
|
||||
output = generate_halfCircles(amplitude, frequency, phase, fs, duration, duty);
|
||||
else
|
||||
output = 0;
|
||||
end
|
Reference in New Issue
Block a user