Merge pull request #39 from ltcptgeneral/DarellsAnnex

Reorganized Into Folders
This commit is contained in:
darrll27 2021-12-09 18:01:48 -08:00 committed by GitHub
commit 615e94b612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 53 additions and 4 deletions

BIN
.DS_Store vendored

Binary file not shown.

Binary file not shown.

BIN
src/.DS_Store vendored

Binary file not shown.

BIN
src/Helper/.DS_Store vendored Normal file

Binary file not shown.

BIN
src/NotWorking/.DS_Store vendored Normal file

Binary file not shown.

26
src/Select/FilterSelect.m Normal file
View 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
View 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

View File

@ -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

View File

@ -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