implemented distortion_filter

This commit is contained in:
Arthur Lu 2021-12-12 22:44:55 -08:00
parent cce9735b48
commit bc1e396680
3 changed files with 5 additions and 0 deletions

BIN
app.mlapp

Binary file not shown.

View File

@ -23,6 +23,11 @@ function output = FilterSelect(input,Fs,LOW,MED,HIGH,number)
output = AnuragEnhanceTarget(input, Fs, LOW, MED, HIGH); output = AnuragEnhanceTarget(input, Fs, LOW, MED, HIGH);
elseif(number == "DampenTarget") elseif(number == "DampenTarget")
output = AnuragDampenTarget(input, Fs, LOW, MED, HIGH); output = AnuragDampenTarget(input, Fs, LOW, MED, HIGH);
elseif(number == "Distortion")
if(LOW == 0)
LOW = 1;
end
output = distortion_filter(input, Fs, LOW, MED, HIGH);
else else
output = input; output = input;
end end