Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. Remap Channel Outputs by bernardo-barros (smoge) Code

    ... uts, { var sig = In.ar(0, numInputChannels); var remapped = Array.fill(numOutputChannels, { Silent.ar(1) }); ~remapConfig.keysValuesDo { |src, dest| if (src < numInputChannels and: { dest < numO ...

  2. Voices by mimetikmusic (mimetikmusic) Code

    ... =64 */ s.boot; SynthDef(\voice,{arg out=0,n=0,p=0,d=10,r=10; var sig=Array.fill(3,{|i| VarSaw.ar(n.midicps*(i+1.0001),mul:0.05/(i+1))}).sum; var sig2=Ringz.ar(WhiteNoise.ar(0.0003),TRand.ar(n.midicps,(n+1).midicps,Impulse.ar(10) ...

  3. BoidRoids Class by shouhei (xffff) Code

    ... clip agentcount to range 1.-1000. myagentcount = n.clip(1,1000); agents = Array.new(n); for(0,myagentcount-1,{ |i| // start with random position/velocity x = rrand(0.0,1.0); y = rrand(0.0,1.0); vx = (rrand(0.0,1.0 ...

  4. Unomalia Ambient 2 by tatrix (TatriX) Code

    Slightly dark ambient Ndef(\ambient2, { var freqs = Array.series(8, 100, 100); var trig = Impulse.kr(1) + Impulse.kr(3/8); var blip = SinOsc.ar(Demand.kr(trig, 0, Drand(freqs, inf)), mul: 0.6) * Env.perc(0, 0.4).kr(gate: trig ...

  5. Young Mr. Markov by paparde (Paparde) Code

    ... using the markov system. The above set probabilities randomly generate two arrays of 16 and 32 midi numbers. The range is 25 notes long, from A(220Hz) to A(880Hz)*/ ( //<-EVALUATE THE MUSICAL DICTIONARY---------------------- ...

  6. Additive Synthesis GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... the command key instead of control) */ s.waitForBoot({ var win, buttonArray, notesArray, attackSlider, decaySlider, sustainSlider, releaseSlider, volumeSlider, att = 0.01, dec = 0.3, sus = 0.5, rel = 1.0, masterOut = 0.1, fundamen ...

  7. endless fingers tapping in space by jaschanarveson (Jascha Narveson) Code

    ... 7, 0.7) * LFSaw.kr(seconds.reciprocal, iphase: 1).range(-1, 1).max(0); taps = Array.fill(num, {|i| var src, local, imp, pitches, done, pitcharray, dlymod; pitcharray = [30 + (i * 4), 33 + (i * 4)].midicps; pitches = Duty.ar(secon ...

  8. Chopsticks GUI by ludions (ludions) Code

    ... ht/numY).floor; margin = (width + height)/20; w.addFlowLayout(0@0, 0@0); t = Array.fill(numX * numY, { arg i; var u, n, col, moveTo, lineTo, toggle; col = Color.rand; toggle = i%2; n = CompositeView.new(w, Rect(0, 0, ...

  9. Using MultiSliderView to control the harmonics of a wavetable by zecraum (zecraum) Code

    ... 150)); ms = MultiSliderView(w, Rect(0, 0, 20*harmonics, 100)); ms.value_(Array.fill(harmonics,0.0)); ms.isFilled_(true); ms.valueThumbSize_(1.0); ms.indexThumbSize_(10.0); ms.gap_(10); slid=Slider(w,Rect(20*harmonics+10, 0, 20 ...

  10. First substractive synth by pierrealainbourdil (pierrealain.bourdil) Code

    ... [[1,7],[4,6],[2,5],[3,1]],3),Pseq([[6,5],[2,7],[1,3],[8,2]],1)],inf),\cut,Prand(Array.fill(8,{|i| ~f.value(rrand(1,7),i+1)}),inf),\req,Prand([0.7,0.5],inf),\att,Pseq([0.02,0.04],inf),\dec,Prand([0.1],inf),\rel,Pseq([1],inf),\fenv,Pseq([0.01 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow