Files
AV-Live/sound_algo/fx/insert/vcf_hpf.scd
T
L'électron rare de035a8596 Add 'sound_algo/' from commit '38b17c42a0b5d2c7f52a2ad600316282cc52a02d'
git-subtree-dir: sound_algo
git-subtree-mainline: b7940d650f
git-subtree-split: 38b17c42a0
2026-05-07 11:51:51 +02:00

13 lines
488 B
Plaintext

// =====================================================================
// fx/insert/vcf_hpf.scd -- SynthDef \vcfHpf
// Extracted from live.scd during v2 reorganization.
// =====================================================================
(
SynthDef(\vcfHpf, {
arg busIn = 0, freq = 200, q = 0.5, mix = 1.0;
var sig = In.ar(busIn, 2);
var wet = RHPF.ar(sig, freq.clip(20, 18000), q.clip(0.05, 2));
ReplaceOut.ar(busIn, (sig * (1 - mix)) + (wet * mix));
}).add;
)