-
A little fork. I left all the old code for historical reasons ( SynthDef(\plop, { arg out=0, amp=0.1, gate=1, pan=0, freq=200, t_trig=1, arg1=100, arg2=200, decay=0.01, flag=0.1, pluckdecay=3.1; var sig; sig = Formant.ar( LFNo ...
-
( // init ~t = 158/4/60; TempoClock.default.tempo = ~t; SynthDef(\star, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2; var sig, sig1, sig2, sig3; var env1; var fspread; env1 = EnvGen.kr(Env([1,2,1],[1. ...
-
( Ndef(\sandlizard).fadeTime = 0.2; Ndef(\sandlizard).quant = 1; Ndef(\sandlizard).put(0, { arg amp=0.1; var sig; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; var freq = 170; var size; var time; var env1, env2, env3; ...
-
Maybe I should not post code which come directly from the SC documentation, but It's been years that I read this doc, I never listened to the code example of the SelectXFocus man page, and now I nearly fell off my chair, these gems are hidd ...
-
( ~t = 185/4/60; TempoClock.default.tempo = ~t; SynthDef(\blik, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; sig = LFSaw.ar(freq * XLine.kr(1,4,8) * ( 1 + ( SinOsc.kr(1/21 * (1..8)) * SinOsc.kr(2*~t).range(0,0.1) ))); si ...
-
A pattern which do morphing between two event pattern (cross-fading synth arguments) ( // example synthdef SynthDef(\lead2, { arg out=0, freq = 100, pan=0, amp=0.1, mdetune=1.004, gate=1, rq=0.1, fratio = 1, fbase=400, wet=1, fbfreq=100, ...
-
Same algo, but instead of picking the next note in the scale, it take the next event in an event pattern, much more possibilities, I have fun for hours with that =) ( ~molecular_box = { arg lenpat, quant=16, keep=3, pattern; Prout({ ar ...
-
fairies and ghosts ( ~name = \ghosts; SynthDef(~name, { arg freq=440, detune=3.0, atk=6, sus=4, rel=6, curve1=1, curve2=(-1), minCf=30, maxCf=6000, minRq=0.005, maxRq=0.04, minBpfHz=0.02, maxBpfHz=0.25, lowShelf=220, ...
-
Synthdefs inspired by FM8 ( SynthDef(\fmbell, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; freq = freq * EnvGen.kr(Env([1,1.002,0.998,1],[0.1,0.8]), 1); sig1 = SinOsc.a ...
-
this generate very diverse compositions, tweaking is easy and change a lot the sounds generated, adding better synthdef can improve further the sound. A lot to explore here ( SynthDef(\blo, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; ...