Merge pull request #21 from ltcptgeneral/DarellsAnnex
App is functional except EQ.
This commit is contained in:
commit
d0ab85c760
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
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);
|
||||
else
|
||||
output = input;
|
||||
end
|
||||
|
@ -5,7 +5,10 @@ function output = SoundGeneratorSelect(amplitude, frequency, phase, fs, duration
|
||||
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, frequency, phase, fs, duration, duty);
|
||||
else
|
||||
output = 0;
|
||||
end
|
||||
|
Reference in New Issue
Block a user