Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. Little FM Synth by yl0506 (yl0506) Code

    ... f( name:"fm3", ugenGraphFunc:{ arg f1 = 220, freqmu = 2, f2, index = 8, decay = 0.25, vol = 0.1, filterstart = 2000, filterend = 10, phasemod = 10; f2 = freqmu * f1; Out.ar( bus: 0, cha ...

  2. Geometry classes by olafhochherz (olafhochherz) Code

    ... Points(aLine); if(p1.dist(p2)<0.00001,{^p1},{^false}); } prPointAt{arg index,value; var r=(value/directionVector[index])-(positionVector[index]/directionVector[index]); ^this.getPointOnLine(r); } getPointOnLine{arg s; ...

  3. Pisano Melodies by henklasschuit (henk.lasschuit) Code

    ... .5*EnvGen.kr(Env.perc(0.01,0.75), doneAction: 2)),0) }).add; ( m=3000; //max index, 5 minutes = 300 when dur=0.1 a=Array.newClear(m);//two arrays to store numbers from the Pisano Periods b=Array.newClear(m); a.put(0,0); a.put(1,1); ...

  4. How to Record Multichannel Output in SuperCollider by bruno (Bruno Ruviaro) Code

    ... h = "/home/ruviaro/Desktop/"; // customize this ~recs.do({ arg thisRecorder, index; var fileName = "test" ++ index ++ ".wav"; thisRecorder.record( path: basicPath ++ fileName, bus: index, numChannels: 1 // mono ); }) ...

  5. Markov Chain Experiment II by jacobjoaquin (Jacob Joaquin) Code

    ... 1, [[4, 1], [7, 2]]], [72, 0.5, [[4, 1], [7, 4], [0, 2]]] ]; var node_index = 0; var bps = 133.0 / 60.0; // Beats per second inf.do({ var weight = 0; var random; var accumulator; var node = node_list[node_index ...

  6. Color Picker, pretty version by simon (Dindoléon) Code

    ... { | view | Pen.width = 1; ( view.bounds.height - ( margin * 2 ) ).do( { | index | Pen.strokeColor_( hsv_to_color.value( [ index.linlin( 0, ( view.bounds.height - ( margin * 2 ) ), 0, ...

  7. supercollider implementation of padsynth algorithm. by 56228375 (56228375) Code

    ... hi = freq*(1+spread) (hi-lo+1).do({ |j| var mag, phase, val; var index = j.linlin(0, hi-lo, lo, hi); // only fill up lower half of spectrum: // right half later is derived from this left half to ensure a real-valued ...

  8. CloundGenMiniFMproper by bateslewis (bateslewis) Code

    ... x. gaussian-shaped) grain SynthDef(\pmGab, { |out, amp=0.1, carr=440, mod=880, index=0, sustain=0.01, pan| var snd = PMOsc.ar(carr, mod, index); var env = EnvGen.ar(Env.sine(sustain, amp * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2 ...

  9. NDef FM synthesis for beginners by lfsaw (LFSaw) Code

    ... estriction actually happens because of the specs, not server-side. Spec.add(\index, [0, 40]); Spec.add(\harm1, [0, 20, \lin, 1]); Spec.add(\harm2, [0, 20, \lin, 1]); Spec.add(\fundFreq, \freq); Ndef(\fmk, { PMOsc.ar( \carFr ...

  10. Little FM Synth (Second Version) by yl0506 (yl0506) Code

    ... iables, if I understood correctly) arg f1 = 220, freqmu = 2, f2, index = 8, decay = 0.25, vol = 0.1, filterstart = 2000, filterend = 10, phasemod = 10, /* Try to declare an argument "signal" that will b ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow