App is working
Try out app. App is working except equalizer
This commit is contained in:
parent
8b76754943
commit
01631e89e2
Binary file not shown.
@ -1,6 +1,8 @@
|
|||||||
function output = FilterSelect(input,Fs,LOW,MED,HIGH,number)
|
function output = FilterSelect(input,Fs,LOW,MED,HIGH,number)
|
||||||
if(number == "Option 1")
|
if(number == "Option 1")
|
||||||
output = DarellbandpassFilter(input,Fs,LOW,MED,HIGH);
|
output = DarellbandpassFilter(input,Fs,LOW,MED,HIGH);
|
||||||
|
elseif(number == "Option 2")
|
||||||
|
output = amplifyFreqRange(input, Fs, LOW, MED, HIGH);
|
||||||
else
|
else
|
||||||
output = input;
|
output = input;
|
||||||
end
|
end
|
||||||
|
@ -5,7 +5,10 @@ function output = SoundGeneratorSelect(amplitude, frequency, phase, fs, duration
|
|||||||
output = generate_square(amplitude, frequency, phase, fs, duration, duty);
|
output = generate_square(amplitude, frequency, phase, fs, duration, duty);
|
||||||
elseif(number == "Option 3")
|
elseif(number == "Option 3")
|
||||||
output = generate_triangle(amplitude, frequency, phase, fs, duration, duty);
|
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
|
else
|
||||||
output = 0;
|
output = 0;
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user