Skip to content

Instantly share code, notes, and snippets.

@jpcima
Last active August 10, 2019 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpcima/6c0d10e426eca9622df6476d0cbdec98 to your computer and use it in GitHub Desktop.
Save jpcima/6c0d10e426eca9622df6476d0cbdec98 to your computer and use it in GitHub Desktop.
// chirp synthesizer with all-pass filter chain
import("stdfaust.lib");
allpass1(f) = fi.iir((a,1.),(a)) with {
a = -1.+2.*ma.PI*f/ma.SR;
};
process = os.lf_imptrain(oscf) : seq(i,64,allpass1(apf)) with {
oscf = 1.0/30e-3;
apf = 701.87330;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment