Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. PG_060_Filter_Patterns Doc

    ... ntrol Some patterns mimic language-style control methods: conditionals ( Pif ), loops ( Pwhile ) and error cleanup ( Pprotect ). Pif(condition, iftrue, iffalse, default) Evaluates a pattern condition that returns true or false. Then, one va ...

  2. KMeansRT Doc

    ... , 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 = KMeansRT.kr(~k ...

  3. BufFiles Doc

    ... bufnum:buffer, rate:rate * BufRateScale.kr(buffer), trigger:1.0, startPos:0.0, loop:0.0, doneAction:2); Out.ar(out, sig) }).add ) // Play pattern using selection. Try updating the selection in the gui and hear what happens ( Pbind( \instru ...

  4. Exercise_14_HOA_NRT_decoding_script Doc

    ... playFile; playFile = PlayBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:0, loop:0, doneAction:2); OffsetOut.ar(0, HOADec5_0.ar(~order.asInteger, playFile, lf_hf: lowfreq_highfreq, xover: crossOver);) }).load(s); s.sync; // we need to l ...

  5. Exercise_08_HOA_proxyspace_recording Doc

    ... aSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 100) }; ~hoaTransformer.source = {var in; in = \in.ar(0!~hoaNumChannels); in }; ) ⧉ ✔ Finally we delete the files: File.delete(thisProcess.platform.us ...

  6. MovieView Doc

    ... Forward stepBack gotoEnd gotoBeginning frame playSelectionOnly skipFrames muted loopMode rate Movie Editing copy clear cut paste editable currentTime Appearance showControllerAndAdjustSize resizeWithMagnification fixedAspectRatio Inherited ...

  7. GMTapTempo Doc

    ... |bpm| if(bpm.notNil) { clock.tempo_(bpm / 60); }; }).front; routine = Routine({ loop { Synth(\GMhelp, [\freq, notes.choose]); tapTempoButton.blink; 1.wait; } }).play(clock); win.layout_( VLayout() .margins_(0) .add(tapTempoButton) ); win.fr ...

  8. TypeClasses Doc

    ... e: F[G[A]] => G[F[A]] According to this blog post[1] Traverse generalizes a for loop with functional code. It is based on the paper "The Essence of the Iterator Pattern"[2]. [1]: http://etorreborre.blogspot.com/2011/06/essence-of-iterator-p ...

  9. Exercise_13_HOA_NRT_conversion_script_N3D_SN3D_FUMA Doc

    ... playFile; playFile = PlayBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:0, loop:0, doneAction:2); OffsetOut.ar(0, HOAConvert.ar(~order.asInteger, playFile, inFormat: informat, outFormat: outformat);) }).load(s); s.sync; // we need to l ...

  10. InfluxMix Doc

    ... inValDict, 4, w); b = [\srcA, \srcB, \srcC].collect { |srcName| // var ktl = KtlLoop(srcName).looped = true; var sl2d = Slider2D(w, 120@130).action_({ |sl, x, y| a.influence(*[srcName, \x, sl.x.unibi.round(0.001), \y, sl.y.unibi.round(0.001 ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow