2020-06-14
By license on June 14, 2020 10:01 pm
({
var undertone = MouseX.kr(1, 25).floor.lag(0.02);
var strength = MouseY.kr(0.0001, 1.4, 1).pow(1.5);
var freq = SinOsc.ar(0.3, 0, 0.07, (1100 / undertone).cpsmidi).midicps;
var mod = SinOsc.ar(
freq: (freq * ((strength - 1.2).max(0.1) * 10).floor).min(550).lag(0.3) + 0.5,
mul: (strength - 1.2).max(0) * 3);
var osc = (mod +
SinOscFB.ar(
freq: freq,
feedback: strength,
mul: strength * 0.5).asin
).sin;
var filtered = DFM1.ar(
in: osc,
freq: (freq * 5).min(1100),
res: (strength - 0.4).pow(2),
noiselevel: strength / 8);
var combs = CombL.ar(
in: (filtered * strength).tanh,
maxdelaytime: 1,
delaytime: SinOsc.ar([0.9, 0.8], 0, 0.0001, add: 0.8),
decaytime: 3 + strength.pow(50).lag3(0.5),
mul: 2);
osc + (combs.tanh * 0.2);
}.play)
Audio works licensed by author under:
CC0 Creative Commons Zero (Public Domain)