Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. Subtractive Synthesis GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... ar snd; amp = Lag.kr(amp, 1); snd = Select.ar( which: whichNoise, array: [ PinkNoise.ar(amp), WhiteNoise.ar(amp * 0.6), GrayNoise.ar(amp * 0.7), BrownNoise.ar(amp), ClipNoise.ar(amp * 0.5)]); snd = ...

  2. another primitive arpeggio sequence by emergent (emergent) Code

    ... i; ChordSymbol.asDegrees(item, Scale.major)}); // collect the chords into a 2D array p = [0, 2, 1, 3]// new pattern o = [0, 7, 7, 0] ( ~bass = Pbind( \instrument, \default, \octave, 4, \scale, Scale.major, \dur, Pbjorklun ...

  3. bouncy-ball delay by snappizz (snappizz) Code

    ... Decay2.ar(trig, 0.01, 0.2); phase = DelTapWr.ar(~buf, dry); iois = Array.geom(numEchoes, ioiScale, ioiDecayFactor); cumulDelay = iois.sum; (cumulDelay > ~buf.duration).if { Error("use a larger buffer").throw; ...

  4. Operator-synth_Isomorphic-version by marty-carlton (Marty Carlton) Code

    ... OverAction_({helpView.string = "basic frequency in Hz";}); var waveformMenu = Array.fill(4, {|i|PopUpMenu().items_(["SinOsc","LFTri","LFSaw","WhiteNoise"]).action_({modField.valueAction_(modField.value)}).mouseOverAction_({helpView.string ...

  5. Boids Example by shouhei (xffff) Code

    ... axvel(maxvel); boids.gravity(0.25); boids.gravpoint(0.5,0.5); boidcolour = Array.fill(numboids,{Color.rand}); w = Window.new.front; w.view.background_(Color.white); w.drawFunc = { var theseboids = boids.getBoids; numboids.do ...

  6. Periodic Lo-Fi Riff by gosub (gosub) Code

    ... s code, I stumbled on this nostalgic sound. ( SynthDef(\lofi, { var sig = Array.fill(3, { |n| SinOsc.ar( \freq.kr(440) * (1 + 0.02.rand) * (n+1), mul: \amp.kr(0.1) / (n*n+1)) }).sum; var cu ...

  7. OSC recorder by lfsaw (LFSaw) Code

    ... %)", it, it.class)}].postln }) ) // send messages... // show message array e.oscMsgs.do{|osc| osc.postln}; "" ( // write object file f = File("~/tmp/oscRecorderOut.txt".standardizePath,"w"); f.write(e.oscMsgs.asCompileSt ...

  8. mutronome (brownian motion of beats) by elirosenkim (eli.rosenkim) Code

    ... s.size); if(i%(deltas.size) == 0, //adds random value to each term of random array on beat one of each bar after bar 1 {randos = randos.collect({arg item, i; item+(rrand(-1* maxStep, maxStep))})} //{"test".postln} ); }; }; ...

  9. XoX pattern helper by gosub (gosub) Code

    ... ( ~xox = {|str| str.collectAs({|l| switch(l.toLower,$x, {1}, $o, {Rest(1)})}, Array)}; ) ( SynthDef(\acid, { arg out, freq = 1000, gate = 1, pan = 1, cut = 4000, rez = 0.8, amp = 1, sustain = 1, release = 0.5; var sig, env; ...

  10. List expander and contractor function by moncrey (moncrey) Code

    useful for expanding or reducing arrays by 2^x. I would like to know if there is a more concise way to write this! Any suggestions? (duplicate post, sorry! forgot to log in!) ( b = {|x,y| var arr = List[]; case {y % x ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow