-
... ouse x controls switch of level // mouse y controls gravity ( { var t, sf; sf = K2A .ar( MouseX .kr > 0.5) > 0; t = TBall .ar(sf, MouseY .kr(0.01, 1.0, 1), 0.01); Pan2.ar( Ringz .ar(t * 10, 1200, 0.1), MouseX.kr(-1,1)); }.play; ) // mouse x ...
-
... b, in); loudness= Loudness .kr(fft, 0.25,6).poll(50); Out .ar(0, Pan2 .ar(in)); K2A .ar(loudness*0.016) }.plot(2.0) ) Research note: This UGen is an informal juxtaposition of perceptual coding, and a Zwicker and Glasberg/Moore/Stone loudnes ...
-
... ; var depthVariation = \depthVar.kr(0.1); var iphase = 0; Vibrato.ar(K2A.ar(freq), rate:rate, depth:depth, delay:delay, onset:onset, rateVariation:rateVariation, depthVariation:depthVariation, iphase:0, ...
-
... sc.kr(vibrato).range(0.3, 1); sig = lfo3*RLPF.ar(in:VarSaw.ar(freq:Lag.ar(in:K2A.ar(freq), lagTime:0.3), iphase:0, width:lfo2, mul:amp), freq:lfo, rq:200/lfo); Out.ar(out, sig!2); }).add; SynthDef(\percussive, { |out=0, freq ...
-
... ion; in = compressedSound * cpGain.dbamp; in = Select.ar(cpSaturate, [in, (in + K2A.ar(cpBias)).softclip - cpBias]); in = LeakDC.ar(in); in = in * env; DirtPause.ar(in, graceTime: 4); // dryAmplitude, SendPeakRMS.kr(dry, replyRate: 16, peak ...
-
... _times.size * 2); major_hit_impulses = Duty.ar( Dseq(major_hit_deltas, 1), K2A.ar(t_trig), Dseq(major_hit_impulse_levels, 1) ); major_hit_amp = Gate.ar(major_hit_impulses, major_hit_impulses); major_hit_envGen = EnvGen.ar(Env.p ...
-
... seq([Dseries(-0.1, 0.01, 20)], inf), SampleDur.ir * MouseY.kr(1, 100, 1), 1, 0, K2A.ar(1), Impulse.ar(MouseX.kr(1, SampleRate.ir * MouseX.kr(0.002, 1, 1), 1), 0, 1.5) ) }.scope; ) // softsyncing a saw ( { DemandEnvGen.ar( Dseq([Dseries(-0.1 ...
-
... eX controls position \ d.free;\ d= SynthDef ( "pos" , \ Out .ar(r.posBus.index, K2A .ar( MouseX .kr(0, 1, lag:1)))\).play;\ \ //mouseXY control + a little random \ d.free;\ d= SynthDef ( "pos" , \ Out .ar(r.posBus.index, LFNoise2 .ar(120, M ...
-
... sampling rates 88200 and 96000 loudness = Loudness.kr(chain, 0.25, 6).poll(50); K2A.ar(loudness * 0.016) }.plot(2.0) ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Loudness.schelp link::Classes/Loudness::
-
... err" ); BufWr .kr(err.sqrt, ~errorvals, ~traindur-remain); Out .ar(0, Pan2 .ar( K2A .ar(val) * 0.01)); }.play ) // Once the training is finished... x.free; // How do the errors look? Should be a very noisy curve gradually decreasing, but wo ...