-
... d ( y = { var osc = SinOsc.ar(30); GFIS.ar({ |x| sin((osc + LFDNoise3.ar(0.15)).linlin(-2, 2, 3.2, 4) * x) }, [0.5, 0.505], 9) * 0.1 }.play ) y.release ( y = { var osc = SinOsc.ar([30, 30.5]); GFIS.ar({ |x| sin((osc + LFDNoise3.ar(0.15)).li ...
-
... rrect value (mapping) But what if we want to control other ranges ? We can use .linlin or .linexp to map the sliders value, which is between 0 and 1, to a value between 0.1 and 2. We'll use this to new value to control the duration of the p ...
-
... t; a.onClose_({ x.free; o.free }); o = OSCFunc({ |msg| { a.value = msg[3].ampdb.linlin(-40, 0, 0, 1); a.peakLevel = msg[4].ampdb.linlin(-40, 0, 0, 1); }.defer; }, '/levels', s.addr); }) ) ( a.warning = -6.dbamp; a.critical = -3.dbamp; ) // ...
-
... OAEncoder.ar(~order, WhiteNoise.ar(1), 0, MouseY.kr(-pi * 0.5, pi * 0.5) .round.linlin(0,1,-pi,pi) )}; ⧉ ✔ You did not see any change in the oscilloscope? The directional information is not only in the gain that you see in the white noise, ...
-
... are flexibe when used inside synthdefs c= {SinOsc.ar(EaseInAtan.(SinOsc.kr(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //becomes kr c.free c= {SinOsc.ar(EaseInAtan.kr(SinOsc.ar(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //kr with ar arg c.f ...
-
... 1, m2], 0.4 * k, d); m4 = Spring.ar(m3 - m1 + m2, 0.1 * k, d); CombL.ar(t, 0.1, LinLin.ar(m4, -10, 10, 1/8000, 1/100), 12) }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Spring.schelp link::Classes/Spring::
-
... n, Rect(0, 0, width, height)); usr.drawFunc= { var a= sin(cnt.fold(0, 100)/2pi).linlin(-1, 1, 0.01, 1); var b= sin(cnt.fold(0, 90)/2pi).linlin(-1, 1, 0.1, cnt.fold(0, 50)/25); var rf= RedFingerprint(Wavetable.sineFill(256, 1/[1, 2, a, b]).a ...
-
... )*EnvGen.ar(Env.asr(0,1,0.1),gate,doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; ) //Use it. ( Pbind( \instrument, \help_oteypiano, \delta, 1, \dur, 3, \degree, Pseq([1,3,5], inf), ...
-
... 0, DNoiseRing(change: MouseX.kr(0, 1), chance: MouseY.kr(0, 1), numBits: 32))).linlin(0, 2**32, 40, 40+48).midicps.poll; SinOsc.ar(freq)!2 }.play ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/ChaosUGens/HelpSour ...
-
... undle); ~sndbuf.updateInfo; s.sync; numNotes.do({|i| ~myScore = ~myScore.add([i.linlin(0, numNotes, 0.0, seconds - 2), [\s_new, \littleHOAgrain, 1000 + i, 0, 0, \buffer, ~sndbuf.bufnum, \grainDur, 0.1.rand + 0.1, \start, i.linlin(0, numNote ...