-
... asCompileString ( { PinkNoise .ar * SplineMapper (b).kr( MouseX .kr(0,1),32 ) }.play ) the output is limited to the outputSpec, so curvatures that map to outside of the range will be clipped within. ( b = BSpline([ [ -1.0, -1.0 ], [ 0.36864 ...
-
... fied example? Remember: { [ SinOsc .ar(440, 0, 0.2), SinOsc .ar(442, 0, 0.2)] }.play; This also has two SinOscs, but in a different arrangement, between two square brackets [] , and with a comma in between. Just like the curly brackets indi ...
-
... z .ar( Dust .ar(dens ! 3, dens.reciprocal.sqrt), freq * freqline, 0.1) }; ~test.playN(0, vol: 0.1); ) // make a ProxyMonitorGui z = ProxyMonitorGui (); // switching between proxies: drag-view displays proxy key z.proxy = ~otto12345; // up t ...
-
... Methods Inherited instance methods Examples // Compare: { WhiteNoise.ar(0.25) }.play; { BPZ2.ar(WhiteNoise.ar(0.25)) }.play; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/BPZ2.schelp link::Classes/BPZ2::
-
... ef: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.5 }, dur: Pfunc { ~dur.next } )).play(chans:2); //Click b = AP(( def: { Impulse.ar(0) }, dur: 1 )).play(chans:2); //Scale over a set number of beats ~change_clock_tempo = {|clock, tempo, beats= ...
-
... FB.ar(\f.ar, \fb.ar(0.9)).dup * SinOsc.ar(LFNoise1.kr(4).range(0.1, 1)) * 0.5}, playTime:2).play d = AlgaNode({Demand.ar(\in.ar, 1, Dwhite(0, 1))}) f = AlgaNode({OmniDelay3.ar(\in.ar, \dt.kr(0.5), \fb.kr(0.8), \dp.kr(0.8), 1.0).dup * \amp.a ...
-
... g just the x value: { FincoSprottS .ar( MouseX .kr(20, SampleRate .ir)) * 0.3 }.play(s); An example utilising the three different outputs as pitch, PWM and pan values (respectively): ( { # x,y,z = FincoSprottS .ar( MouseX .kr(1, 200)); Pan2 ...
-
... stuck, LFDNoise changes smoothly. { LFNoise0.ar(MouseX.kr(0.1, 1000, 1), 0.1) }.play { LFDNoise0.ar(MouseX.kr(0.1, 1000, 1), 0.1) }.play // silent for 2 secs before going up in freq { LFNoise0.ar(XLine.kr(0.5, 10000, 3), 0.1) }.scope; { LFD ...
-
... ce * 400 + 500; // modulate frequency with the force SinOsc .ar(freq, 0, 0.2) }.play; ) // several springs in series. // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { var m0, m1, m2, m3, d, k, in ...
-
... e shortcut ugen.zap: x = { RLPF.ar(PinkNoise.ar(0.1), \freq.kr(500), 0.2).zap }.play; // in longhand, this does: ( x.free; x = { arg freq = 440; var sig = RLPF.ar(PinkNoise.ar(0.1), freq, 0.2); ReplaceBadValues.ar(sig); }.play; ) // test x. ...