Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. PLrand Doc

    ... e.use { x = p.play(quant: 0.2) }; f.use { y = p.play(quant: 0.2) }; // replace array elements ... f.a[0] = 97; e.a[0] = 96; // ... or arrays f.a = (72, 72.5..77); e.a = [60]; e.a = [Pseq([60, 47.5]) + [0, 5], [61, 65.5]]; x.stop; y.stop; / ...

  2. Debugging-tips Doc

    ... o = OSCFunc({ |msg| msg.postln }, '/tr', s.addr); ⧉ ✔ Each line of output is an array with four values: ['/tr', defNode, id (from SendTrig), value (from SendTrig)] . { var freq; freq = LFNoise1.kr(2, 600, 800); // Impulse is needed to trigg ...

  3. ParaSpace Quark

    ... odes = List.new; // list of ParaNode objects connections = List.new; // list of arrays with connections eg. [2,3] nodeCount = 0; startSelPoint = 0@0; endSelPoint = 0@0; refPoint = 0@0; shape = "rect"; conFlag = false; nodeSize = 8; font = F ...

  4. PLswitch1 Quark

    ... ; ~w = PLseq ([0, 1]); x = Pbind ( \midinote , p, \dur , 0.1).play; ) // update array element ~a[1] = PLseq ([96, 95]); // update array ~a = [59, 85]; // update index pattern, used to stop also ~w = Pseq ([0, 0, 1], 5); //////////////////// ...

  5. PG_Cookbook01_Basic_Sequencing Help

    ... , inf ), \dur , 0.25 ).play; ) “Multichannel” expansion In a SynthDef, using an array as the input to a UGen expands the UGen into an array of UGens (see MultiChannel ). Something similar happens in patterns. Normally a value sent to a Synt ...

  6. NPVoicerSwitcher Quark

    ... } { released.do {|voicer| voicer.prime(obj, useSpawn) } } }); } allVoicers { // array is always sorted [current, saved..., released...] ^[current] ++ saved ++ released } allProxies { ^this.allVoicers.collect { |voicer| voicer.proxy } } swap ...

  7. extFreqSpectrum Quark

    ... coefficients hoaOrder.proxWeights(freq, radius, speedOfSound) }, List ).flop.asArray; // collect as List, due to Array -flop bug magnitudes = complexCoeffs.collect({ |degree| degree.collect({ |complex| complex.magnitude }) }); phases = com ...

  8. Periodic Carillion by mimetikmusic (mimetikmusic) Code

    ... ; SynthDef(\mallet,{arg in=0,out=0,f=0,f2=0,a=0.1,r=1.8; var sig=Array.fill(3,{|n| SinOsc.ar(f*(n+1),mul:a/(n*n+1))}).sum; var env=EnvGen.kr(Env.perc(0.001,r),gate:Impulse.kr(f2),doneAction:0); Out.ar(out,sig*env ...

  9. Ceci N'est Pas Une Pipe by codepool (codepool) Code

    ... deTime = 2; ( f = { arg n = 10, fmin=1000, fmax=8000.0, dtMul=0.5; [ Array.rand(n, fmin, fmax).sort, nil, Array.rand(n, dtMul*0.1, dtMul).sort.reverse ] }; ~pipe = { var in; in = ~in.ar(8); in.collect({ arg c ...

  10. PLshuf Doc

    ... a), \dur, 0.2 ); // prepare Environment ~a = (67..72); ) x = p.play; // replace array elements ... ~a[0] = 63; // ... or whole arrays // evaluating more than once gives a newly chosen permutation ~a = (60..65); x.stop; ///////////////////// ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow