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