2020-03-15 16:21:56 +01:00
|
|
|
(
|
|
|
|
SynthDef(\stndTrigRing, {
|
2020-03-27 14:57:12 +01:00
|
|
|
arg out=0, freq=1000, min=1, max=10, decay=0.1, ffreq=1000, amp=1, gate=1, fadeTime=1;
|
|
|
|
var snd, in, env;
|
2020-03-15 16:21:56 +01:00
|
|
|
|
|
|
|
in = StandardTrig.ar(min,max);
|
|
|
|
snd = Ringz.ar(in, freq, decay);
|
|
|
|
snd = LPF.ar(snd, ffreq);
|
2020-03-27 14:57:12 +01:00
|
|
|
env = EnvGen.kr(
|
|
|
|
Env([0, 1, 0], [fadeTime, fadeTime], \sin, 1),
|
|
|
|
gate, doneAction: Done.freeSelf);
|
2020-03-15 16:21:56 +01:00
|
|
|
|
2020-03-27 14:57:12 +01:00
|
|
|
snd = snd * env * amp;
|
2020-03-15 16:21:56 +01:00
|
|
|
Out.ar(out,snd)
|
|
|
|
}).add;
|
|
|
|
);
|
|
|
|
|
|
|
|
(
|
|
|
|
SynthDef(\henoTrigRing, {
|
2020-03-27 14:57:12 +01:00
|
|
|
arg out=0, freq=1000, min=1, max=10, decay=0.1, ffreq=1000, amp=1, gate=1, fadeTime=1;
|
|
|
|
var snd, in, env;
|
2020-03-15 16:21:56 +01:00
|
|
|
|
|
|
|
in = HenonTrig.ar(min,max);
|
|
|
|
snd = Ringz.ar(in, freq, decay);
|
|
|
|
snd = LPF.ar(snd, ffreq);
|
2020-03-27 14:57:12 +01:00
|
|
|
env = EnvGen.kr(
|
|
|
|
Env([0, 1, 0], [fadeTime, fadeTime], \sin, 1),
|
|
|
|
gate, doneAction: Done.freeSelf);
|
2020-03-15 16:21:56 +01:00
|
|
|
|
2020-03-27 14:57:12 +01:00
|
|
|
snd = snd * env * amp;
|
2020-03-15 16:21:56 +01:00
|
|
|
Out.ar(out,snd)
|
|
|
|
}).add;
|
|
|
|
);
|
|
|
|
|
|
|
|
(
|
|
|
|
SynthDef(\gbmanTrigRing, {
|
2020-03-27 14:57:12 +01:00
|
|
|
arg out=0, freq=1000, min=1, max=10, decay=0.1, ffreq=1000, amp=1, gate=1, fadeTime=1;
|
|
|
|
var snd, in, env;
|
2020-03-15 16:21:56 +01:00
|
|
|
|
|
|
|
in = GbmanTrig.ar(min,max);
|
|
|
|
snd = Ringz.ar(in, freq, decay);
|
|
|
|
snd = LPF.ar(snd, ffreq);
|
2020-03-27 14:57:12 +01:00
|
|
|
env = EnvGen.kr(
|
|
|
|
Env([0, 1, 0], [fadeTime, fadeTime], \sin, 1),
|
|
|
|
gate, doneAction: Done.freeSelf);
|
2020-03-15 16:21:56 +01:00
|
|
|
|
2020-03-27 14:57:12 +01:00
|
|
|
snd = snd * env * amp;
|
2020-03-15 16:21:56 +01:00
|
|
|
Out.ar(out,snd)
|
|
|
|
}).add;
|
|
|
|
);
|
|
|
|
|
|
|
|
(
|
|
|
|
SynthDef(\latooTrigRing, {
|
2020-03-27 14:57:12 +01:00
|
|
|
arg out=0, freq=1000, min=1, max=10, decay=0.1, ffreq=1000, amp=1, gate=1, fadeTime=1;
|
|
|
|
var snd, in, env;
|
2020-03-15 16:21:56 +01:00
|
|
|
|
|
|
|
in = LatoocarfianTrig.ar(min,max);
|
|
|
|
snd = Ringz.ar(in, freq, decay);
|
|
|
|
snd = LPF.ar(snd, ffreq);
|
2020-03-27 14:57:12 +01:00
|
|
|
env = EnvGen.kr(
|
|
|
|
Env([0, 1, 0], [fadeTime, fadeTime], \sin, 1),
|
|
|
|
gate, doneAction: Done.freeSelf);
|
2020-03-15 16:21:56 +01:00
|
|
|
|
2020-03-27 14:57:12 +01:00
|
|
|
snd = snd * env * amp;
|
2020-03-15 16:21:56 +01:00
|
|
|
Out.ar(out,snd)
|
|
|
|
}).add;
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
SynthDef(\lorenzTrigRing, {
|
2020-03-27 14:57:12 +01:00
|
|
|
arg out=0, freq=1000, min=1, max=10, decay=0.1, ffreq=1000, amp=1, gate=1, fadeTime=1;
|
|
|
|
var snd, in, env;
|
2020-03-15 16:21:56 +01:00
|
|
|
|
|
|
|
in = LorenzTrig.ar(min,max);
|
|
|
|
snd = Ringz.ar(in, freq, decay);
|
|
|
|
snd = LPF.ar(snd, ffreq);
|
2020-03-27 14:57:12 +01:00
|
|
|
env = EnvGen.kr(
|
|
|
|
Env([0, 1, 0], [fadeTime, fadeTime], \sin, 1),
|
|
|
|
gate, doneAction: Done.freeSelf);
|
2020-03-15 16:21:56 +01:00
|
|
|
|
2020-03-27 14:57:12 +01:00
|
|
|
snd = snd * env * amp;
|
2020-03-15 16:21:56 +01:00
|
|
|
Out.ar(out,snd)
|
|
|
|
}).add;
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
SynthDef(\fhnTrigRing, {
|
2020-03-27 14:57:12 +01:00
|
|
|
arg out=0, freq=1000, min=1, max=10, decay=0.1, ffreq=1000, amp=1, gate=1, fadeTime=1;
|
|
|
|
var snd, in, env;
|
2020-03-15 16:21:56 +01:00
|
|
|
|
|
|
|
in = FhnTrig.ar(min,max);
|
|
|
|
snd = Ringz.ar(in, freq, decay);
|
|
|
|
snd = LPF.ar(snd, ffreq);
|
2020-03-27 14:57:12 +01:00
|
|
|
env = EnvGen.kr(
|
|
|
|
Env([0, 1, 0], [fadeTime, fadeTime], \sin, 1),
|
|
|
|
gate, doneAction: Done.freeSelf);
|
2020-03-15 16:21:56 +01:00
|
|
|
|
2020-03-27 14:57:12 +01:00
|
|
|
snd = snd * env * amp;
|
2020-03-15 16:21:56 +01:00
|
|
|
Out.ar(out,snd)
|
|
|
|
}).add;
|
|
|
|
);
|
|
|
|
|
|
|
|
|