From 180c9f10035c8846fd1a9b49e3b5bf8f7cf522b8 Mon Sep 17 00:00:00 2001 From: dxinteractive Date: Mon, 29 Jan 2024 17:02:17 +1100 Subject: [PATCH] wizard 1 --- dev/src/dsp-definitions/36-wizard-delay.ts | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/dev/src/dsp-definitions/36-wizard-delay.ts b/dev/src/dsp-definitions/36-wizard-delay.ts index b22b20c..455691a 100644 --- a/dev/src/dsp-definitions/36-wizard-delay.ts +++ b/dev/src/dsp-definitions/36-wizard-delay.ts @@ -5,22 +5,22 @@ import("stdfaust.lib"); delay_max = ma.SR * 5; -wet_param = 0.5; -dry_param = 1.0; -fb_param = 0.5; -time_param = 0.5; +wet_param = 0.4; +dry_param = 0.0; +fb_param = 0.3; +time_param = 1.0; mod_speed_param = 3.0; -mod_depth_param = 0.0001; +mod_depth_param = 0.0003; mod = 1.0 - ((os.osc(mod_speed_param) * 0.5 + 0.5) * mod_depth_param); -// modx = mod * (os.lf_sawpos(time_param * 2) + 0.01); +modx = mod * (os.lf_sawpos(time_param * (1 / 3)) + 0.001); -delay(time, fb, x) = x + fb : de.fdelay(delay_max, time * mod) : fi.highpass(2, 200.0) : fi.lowpass(2, 4000.0); +delay(time, fb, x) = x + fb : de.fdelay(delay_max, time * modx) : fi.highpass(2, 200.0) : fi.lowpass(2, 20000.0); fb = *(fb_param); echo(time) = delay(time) ~ fb; -wet_l = echo(time_param * ma.SR * 0.8); +wet_l = echo(time_param * ma.SR); // * 0.8 wet_r = echo(time_param * ma.SR); wet = _ <: wet_l,wet_r : *(wet_param),*(wet_param); dry = *(dry_param); @@ -40,3 +40,13 @@ const dspDefinition: DspDefinition = { }; export default dspDefinition; + +// ideas +// time, offset, l vs r time, feedback, width, eq, overlay, sample rate +// layers? + +// A: time +// B: feedback +// C: EQ +// D: overlay +// E: