-
... nA, chainB, chain; inA = HPF.ar(Mix(LFSaw.ar([100, 150], 0, 0.2)), 1200); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(bufnumA, inA); chainB = FFT(bufnumB, inB); chain = PV_CommonMul(chainA, chainB, ...
-
... ine({ loop({ Synth("help-sinegrain", [\freq, x.next.midicps]); 0.17.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Place.schelp link::Classes/Place::
-
... .ar(out, SinOsc.ar(MultiplexAnalogIn.ar(0, 1).exprange(200, 5000), 0, 0.1) ) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/MultiplexAnalogIn.schelp link::Classes/MultiplexAnalogIn::
-
... aintrig, features, kbuf, classif, centroid, resynth; // sig = AudioIn.ar; sig = PlayBuf.ar(1, b, loop: 1); chain = FFT(LocalBuf(512), sig); chaintrig = chain > -0.001; features = [SpecCentroid.kr(chain)]; // just one 1D feature here classif ...
-
... sine oscillator Out.ar(0, osc); // send output to audio bus zero. }).add; ) ⧉ ✔ Play a 900 Hz sine wave. s.sendMsg("/s_new", "sine", x = s.nextNodeID, 1, 1, "freq", 900); s.sendMsg("/n_free", x); ⧉ ✔ Play a 1000 Hz sine wave. s.sendMsg("/s_ ...
-
... edTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ) //click and drag //press cmd+period to stop
-
... o one that isn't set, 440 is used. SinOsc.ar(Getenv(\PANCREAS, 440), 0, 0.1); }.play(Server.local); ) x.free; // This should restore the variable to what it was Server.program = ~realserverprogram; ⧉ ✔ helpfile source: /usr/local/share/Supe ...
-
... * 0.1); (val * 0.000001).poll(10); // Poll but scaled down so more readable! }.play(s); ) x.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/MCLDUGens/HelpSource/Classes/FFTSpread.schelp link::Classes/FFTSpre ...
-
... / squared // sound example { var a = LFSaw.ar(300).range(0, 2pi); a.sin * 0.1 }.play; // Plotting the "abs" unary operator (via the server): { SinOsc.ar(300).abs }.plot ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/ ...
-
... Hz sine oscillator Out.ar(0, osc); // send output to audio bus zero. }).add; ) Play a 900 Hz sine wave. s.sendMsg("/s_new", "sine", x = s.nextNodeID, 1, 1, "freq", 900); s.sendMsg("/n_free", x); Play a 1000 Hz sine wave. s.sendMsg("/s_new" ...