Skip to content

Commit

Permalink
final algorithms up
Browse files Browse the repository at this point in the history
  • Loading branch information
dariosanfilippo committed May 9, 2020
1 parent 0cc590a commit c6b277b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 72 deletions.
31 changes: 0 additions & 31 deletions als.dsp

This file was deleted.

4 changes: 0 additions & 4 deletions detection.lib
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ fi = library("filters.lib");
// constant, that is, the system decays by 1/e^2.2 in "frame" seconds.
avg_t19(frame, x) = si.smooth(ba.tau2pole(frame / 2.2), x);

// Bandpass filter bank with 6th-order elliptic filters on the 0-20kHz
// range. N is the number of bands including DC and Nyquist.
bpbank(N) = an.mth_octave_analyzer6e(1, 20000, N);

// NAN-safe division
div(x1, x2) = ba.if(x2 == 0, 0, x1 / x2);

Expand Down
3 changes: 2 additions & 1 deletion suppression.lib
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ phase_invert(cf, x) = allpass(cf, x) : allpass(cf);

// 2p2z state-variable filter with zero-delay feedback topology
// inputs are cutoff, Q, shelving boost (linear amp.), input signal
// outputs are LP, HP, BP, BP_normalised, LS, HS, BS, notch, peak, AP
// outputs are LP, HP, BP, BP_normalised, LS, HS, BS, notch, peak, AP.
// Ref.: Zavalishin; Pirkle.
svf2blti(cf, q, k, in) = tick
~ ( _,
_) : ( !,
Expand Down
18 changes: 0 additions & 18 deletions test_rms_suppression_mic.dsp

This file was deleted.

18 changes: 0 additions & 18 deletions test_sc_suppression_mic_2nd-order_notch.dsp

This file was deleted.

0 comments on commit c6b277b

Please sign in to comment.