-
... at( symbol ).ratios ++ [ 880 ] ) ) ).play }; SynthDef(\simple_sine, { | out = 0, amp = 0.25, freq = 110 | var snd, env, envctl, envgen; env = Env.perc( 0.01, 0.666 ); envgen = EnvGen.kr( env, doneAction: Done.freeSelf ); snd ...
-
... ack, releaseTime: dur - attack, level: amp).kr(2); carrier = carrier * env; Out.ar(0, Pan2.ar(carrier, pos)) }).add; ) //Example Melody ( a=Pbind( \instrument, "AM2", \degree, Pseq([0,1,2,3,4,5,6,7,6,5,4,3,2,1],inf), \amp, 0 ...
-
... var tone = SinOsc.ar(freq).fold(-0.23*a,a) * EnvGen.ar(Env([1,0],[time])); Out.ar(0, tone.dup); }.play; )
-
... ned relatively interesting. // bit of an afternoon playing random noises turned out to sound relatively IDM-ish // I stole the kick & snare from the dubstep thing off the list a while ago... thanks ( fork{ loop{ | i | var time, ...
-
Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code
... ////////////////////// SynthDef(\gliss, { arg freq=440, gate=1, amp=0.0, out=0; var sig, env; freq = Lag.kr(freq, 1); amp = Lag.kr(amp, 1); env = EnvGen.kr(Env.asr, gate, doneAction:2); sig = SinOsc.ar(freq)!2; sig = sig ...
-
... s.boot; ( //Synthdefs for sounds //strewing food SynthDef (\strewSound, { Out.ar(0, Pan2.ar( BBandPass.ar ( WhiteNoise.ar(0.25) , //input 2000, //center frequency 1, //bandwith in octaves EnvGen. ...
-
... |rateL = 0.2, rateR = 0.3, freq = 2, feedback = 50, mul = 1 , lpfreq = 2500| Out.ar(0, FreeVerb.ar( BLowPass.ar( SinOscFB.ar( LFDNoise1.kr([rateL, rateR], freq), feedback; , mul), lpfreq, 0.2 ), 0 ...
-
... axBpfHz=0.25, lowShelf=220, rs=0.85, db=6, gate=1, amp=1, spread=1.0, out=0; var sig, env; env = EnvGen.kr(Env([0,1,1,0],[atk,sus,rel],[curve1,0,curve2]), gate, levelScale:amp, doneAction:2); sig = Saw.ar( freq + ...
-
I haven't found a quite satisfying code about birds, so here's a very simple SynthDef to start with ( SynthDef(\bird,{ var sig, freqenv, env, trig; trig = Dust.ar(2); env = EnvGen.ar(Env.perc(0.01,0.4,0.8,-8), trig, doneAction: 2); ...
-
Just an exploration with Substractive synthesis. ( { 2.do{ {BPF.ar (WhiteNoise.ar, [73,81].midicps, 1e-4, Env.sine(10,50).kr(2)).sum!2}.play; gauss (7,0.2).wait; {BPF.ar (WhiteNoise.ar, [71,80].midicps, 1e-4, Env.sine(10).kr(2)). ...