Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1629) Code (85) Doc (795) Help (232) Quark (486) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. TimeStretch2 Quark

    ... all(chain, lowPass-1); item = IFFT(chain, wintype: -1); }).flatten; //delay the signal so that all fftSizes line up (the will already be delayed by the fftSize sig = DelayC.ar(sig, (3*fftMax/2)-(3*fftSize/2)+BlockSize.ir/SampleRate.ir, fftM ...

  2. NNdef Quark

    ... nit, ENImperEval.tempBuilder); var currentEN = eventNetworks.at(index); //for FPSignal#enKr Ndef is set with "now" value //NNdef.setsToPerform contains the actual FPSignals, and "now" value is only extracted after event network //might have ...

  3. WFSPath2 Quark

    ... c; writeFunc = { var array, sf, success; array = this.asBufferArray( true ).as( Signal ); sf = SoundFile.new.headerFormat_("AIFF").sampleFormat_("float").numChannels_(9); success = sf.openWrite( path.getGPath ); if( success ) { sf.writeData ...

  4. MassEditU Quark

    ... = Condition(false); task = fork { var action; action = { cond.test = true; cond.signal }; target = this.prepare( target, startPos, action ); cond.wait; this.start(target); }; } waitTime { ^this.units.collect(_.waitTime).sum } prepareWaitAnd ...

  5. UPattern Quark

    ... Next.isKindOf( Condition ) ) { currentTimeToNext.test = true; currentTimeToNext.signal; } { "UPattern:spawn : currentTimeToNext is not a Condition".postln; }; } asUScore { |infDur = 60| var score, events, originalDur, rlseSelf, track = 0, t ...

  6. UPattern Quark

    ... Next.isKindOf( Condition ) ) { currentTimeToNext.test = true; currentTimeToNext.signal; } { "UPattern:spawn : currentTimeToNext is not a Condition".postln; }; } asUScore { |infDur = 60| var score, events, originalDur, rlseSelf, track = 0, t ...

  7. LSys Quark

    ... rgColor: { Color .rand; }).drawSize_(6).draw(k); ) Context sensitive example: //Signal propagation throughout a string of symbols: ( a = LSys ( "baaaaaaaaaaaaaaaa" , [ "b<a" -> "b" , "b" -> "a" ]); 16.do ({ a.applyRules(1).postln; }); ) For ...

  8. Dissonance Quark

    ... ^this; } // same as make but the input is directly an array in the format of a Signal.stft *makeFromSpectrum { |f, start = 1.0, end = 2.3, inc = 0.01, method = \parncutt, max = false, numPartials = 10, win = 256, sr = 44100| var partials = ...

  9. HoaMatrixRotation Quark

    ... re efficient method is used for time-varying rotations which operates // on the signal coefficients directly. See rotation (pseudo-)UGens in // this library for details on that alternative method. // // // The Ambisonic Toolkit (ATK) is int ...

  10. RotateAmbi Quark

    ... on order) */ *ar { |in, px=0, py=0, pz=0| var out; // return the rotated audio signal out = Array.new(in.size); this.kr(px, py, pz).do { arg row; out.add((row * in).sum); } ^out; } } /* Class: RotateAmbi1O Ambisonics rotation class for Amb ...

prev 41 42 43 44 45 46 47 48 49 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow