You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
489 B
25 lines
489 B
(
|
|
name: 'distorted_sin',
|
|
func: {
|
|
| freq, gate |
|
|
var sig = SinOsc.ar(freq, \phase.kr(2pi).mod(2pi));
|
|
//4.do { sig = HPF.ar(sig, 60); };
|
|
//4.do { sig = LPF.ar(sig, \lpf.kr(100)); };
|
|
4.do { sig = sig.tanh; };
|
|
[sig, DelayN.ar(sig, 0.2, 0.01)] * 0.5;
|
|
},
|
|
specs:(
|
|
phase: [-25.0, 25.0, \lin, 0.1, 6.28],
|
|
lpf: [60, 4000, \lin, 1, 100],
|
|
),
|
|
useSaturation: true,
|
|
saturationSteps: 6,
|
|
useEnv: true,
|
|
defaults:(
|
|
attack: 0.01,
|
|
release: 0.1,
|
|
curve: 1
|
|
),
|
|
usePan: true,
|
|
panning: \splay
|
|
) |