-
... alloc and set the values s.listSendMsg( b.allocMsg( b.setnMsg(0, t) ).postln ); SynthDef ( \help_index , { arg out = 0, i_bufnum = 0; Out .ar(0, SinOsc .ar( IndexL .kr( i_bufnum, LFSaw .kr(2).range(0, 7) ), 0, 0.5 ) ) }).play(s, [ \i_bufnum ...
-
... ); SinOsc.ar( envgen * 440 + 550 ) * envgen * 0.1 }.play ); // an envelope in a SynthDef can be used to limit the synth's lifetime (doneAction: Done.freeSelf) ( SynthDef(\env_help, { |out, gate = 0, freq = 440| var z; z = EnvGen.kr(Env.perc ...
-
//from http://sccode.org/1-5aW ( SynthDef("ikedaBass", { arg out = 0, freq = 0, att = 0, dec = 0.1, sus = 0.8, rel = 0.01, curve = -5, gate = 1, pan = 0, amp = 1; var env, snd; env = Env.adsr( attackTime: att, decayTime: dec, sustainLevel: ...
-
some kick drums i wrote back in january. my favorite is #2 ( SynthDef(\kick1, { var snd; snd = DC.ar(0); snd = snd + (SinOsc.ar(XLine.ar(800, 400, 0.01)) * Env.perc(0.0005, 0.01).ar); snd = snd + (BPF.ar(Hasher.ar(Sweep ...
-
... n ip of // "127.0.0.1" // start the server s.boot; // define a synthesis engine SynthDef("sine", { Out.ar(0, SinOsc.ar(440, 0, 0.2)) }).send(s); // schedule (run) synthesis s.sendMsg("s_new", "sine", n = s.nextNodeID, 0, 1); // stop the syn ...
-
... e-digit numbers, you will get 495 in no more than 6 steps. */ s.boot; ( //Synthdefs: sinewaves for numbers, with pan SynthDef( \numbers, {|freq=30, panpos| Out.ar(0, Pan2.ar(SinOsc.ar(freq, mul: 0.5*EnvGen.kr(Env.linen(0.01, 0 ...
-
... and pan is ignored. Must be a nonzero, positive integer. This is fixed when the SynthDef is compiled so cannot be assigned to a SynthDef argument. trigger a kr or ar trigger to start a new grain. If ar, grains after the start of the synth a ...
-
... .ac.uk/Users/nc81/index.html under GNU GPL 3 as per SuperCollider license Minor SynthDef modifications by Bruno Ruviaro, June 2015. */ SynthDef("moogBass", { arg out = 0, pan = 0, freq = 440, amp = 0.1, gate = 1, cutoff = 1000, gain = 2.0, ...
-
... dified same FM to produce different bass sounds */ ///////////////// /// SYNTHDEFS /// ///////////////// ( //plugin: MdaPiano SynthDef("chords", { |out=0, freq=440, gate=1, amp=0.5, att=0.1, rel=0.01| var son = MdaPiano.ar ...
-
... adeDef for defPerc -- per def // percussion process templates // first, generic synthdefs var saveSubType = AbstractChuckArray.defaultSubType; // abstract process based on buffers // the process generates a new Pbind per cycle // amp patter ...