This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de to import your old projects to the new GitLab platform 📥

Commit 517ee6a1 by Henrik von Coler

Added "sawtoowth_filter.dsp"!

parent b559efbb
// sawtooth-filter.dsp
//
// First steps with a VCO-VCA-VCF setup.
// The three modules are connected in series.
//
// No anti-aliasing!
//
// - steady sound
// - control over f0, cutoff, resonance, gain
//
// Henrik von Coler
// 2020-05-17
import("stdfaust.lib");
//////////////////////////////////////////////////////////////////////////
// Control Parameters
//////////////////////////////////////////////////////////////////////////
cutoff = hslider("Cutoff", 100, 5, 6000, 0.001):si.smoo;
f0 = hslider("Pitch", 100, 5, 16000, 0.001):si.smoo;
q = hslider("Q", 1, 0.1, 5, 0.01):si.smoo;
gain = hslider("Gain", 1, 0, 1, 0.01):si.smoo;
//////////////////////////////////////////////////////////////////////////
// Define three 'module' functions
//////////////////////////////////////////////////////////////////////////
vco = os.sawtooth(f0);
vcf = fi.resonlp(cutoff,q,1) ;
vca(x) = gain * x;
//////////////////////////////////////////////////////////////////////////
// Define three 'modules'
//////////////////////////////////////////////////////////////////////////
voice = vco : vcf : vca;
process = voice <: _,_ ;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment