-
... Color.green(1, 0.1); s.waitForBoot({ 1.wait; //in case things are not ready... SynthDef(\monoPlayer, { arg buffer, loop=1, amp=1, outbus=0; var sig; sig = PlayBuf.ar(1, buffer, BufRateScale.kr(buffer), loop: loop); Out.ar(outbus, sig*amp); ...
-
Just a dirty FM bass shuffling ( fork{ SynthDef(\basicFM, {|out = 0, gate = 1, amp = 1, carFreq = 1000, modFreq = 100, modAmount = 2000, clipAmount = 0.1| var modEnv = EnvGen.ar(Env.adsr(0.5, 0.5, 0.7, 0.1, peakLevel: modAmount), gate ...
-
... ted instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-add", { |out = 0, soundBufnum| var inA, chainA, inB, chainB, chain ; inA = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); inB ...
-
... dsblog.wordpress.com/ // GitHub: https://github.com/RumushMycelialCords (// SynthDef and Ndef ~tp = 145/60; // 145 BPM SynthDef(\sin, {arg freq=50, lw=0, index=1000, lpF=20000, hpF=40, mix=0.75, dur, amp=0.125, pan=0, out=0; var env ...
-
... to return block, updated by reference } *initClass { StartUp.add({ 2.do({arg i; SynthDef.writeOnce(\cs1playbuf++((i+1).asSymbol),{arg bufnum=0,outbus=0,dur=0.1; var tmp; tmp= PlayBuf.ar(i+1,bufnum,1,1,0,1); Out.ar(outbus,tmp*EnvGen.kr(Env([ ...
-
( SynthDef(\bla, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; var tab; tab = \tab.kr(1 ! 15); sig = LFSaw.ar(freq * tab.abs); sig = sig.sum; sig = RLPF.ar(sig, Rand(10,freq*2) + 100 * SinOsc.ar(tab ...
-
/* Voices http://www.kimri.org/blog/?p=64 */ s.boot; SynthDef(\voice,{arg out=0,n=0,p=0,d=10,r=10; var sig=Array.fill(3,{|i| VarSaw.ar(n.midicps*(i+1.0001),mul:0.05/(i+1))}).sum; var sig2=Ringz.ar(WhiteNoise.ar(0.0003),TRand ...
-
... buffer= Buffer.cueSoundFile(server, path, 0, channels); } prSendDefs { 8.do{|i| SynthDef("redSFPlayerDisk"++(i+1), {|out= 0, rate= 1, atk= 0, rel= 0, loop= 1, amp= 1, buf, gate= 1| var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2 ...
-
/* Received from https://github.com/supercollider-quarks/SynthDefPool/blob/master/pool/snare_oto309.scd */ SynthDef("snare_oto309", { arg out=0, amp=0.1, pan=0; var env0, env1, env2, env1m, oscs, noise, son; env0 = EnvGen.ar(Env.new([0.5, 1 ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\organ_tonewheel1, { //additive tonewheel organ with more CPU usage arg freq = 440, amp = 0.7, atk = 0.001, sus = 0.2, rel = 0.01, pan = 0, bass = 1, quint = 1, fundamental = 1, oct = 1, ...