Skip to content

Commit

Permalink
Create apf.dsp
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaSpanedda committed Apr 16, 2024
1 parent 35524fa commit ad119f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions files/apf.dsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");

// (t, g) = give: delay in samples, feedback gain 0-1
apf(del, g, x) = x : (+ : _ <: @(del-1), *(g)) ~ *(-g) : mem, _ : + : _;
process = _ * .1 <: apf(100, .5);

0 comments on commit ad119f4

Please sign in to comment.