Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Walsh-Hadamart transformations in supercollider by 56228375 (56228375) Code

    ... ar scale = 1.0; if ((number.nextPowerOfTwo != number), { "Error: length of values must be power of two.".postln; nil ; }, /*else*/ { /* Mainumber loop. Iteratively compute the hadamar ...

  2. drum sequencer to drive external midi device or software like ableton by 56228375 (56228375) Code

    ... drum, midiout=nil, repeat=1, division=8, midichannel=9, amplitudeerrors=0, timingerrors=0, percmap = nil| Pn( Pbind( \type, \midi, \midicmd, \noteOn, \midiout, midiout, \chan, midichannel, ...

  3. NodeProxy PlayControl for parallel sounds by till-bovermann (LFSaw) Code

    ... row }) }) }); if ((proxy.numChannels % funcNumChannels) != 0) { Error("NodeProxy input (par): number of proxy channels need to be multiple of function output channels").throw; }; { | out | var env, ctl = NamedContro ...

  4. God Rest Ye Merry, Xentlemen by walters (walters) Code

    ... grity check if (~degrees.size != ~vels.size || ~degrees.size != ~durs.size) { Error("Melody data is inconsistent.").throw; }; } ) // turn melody data into piece ( var scale, root, degree2s, freq2s, bassPlays, bassDurs, bassDegrees, ...

  5. Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code

    ... large, especially when trig functions are involved. I've tried to mitigate the errors by using sinPi instead of regular sin, but you still have to be careful when setting system variables. A strong damping is a must, and you have to be ver ...

  6. Livecode setup, with comments by 0-91 (tedthetrumpet) Code

    ... .collect(_.bufnum); ~listbufs.(); }, {"that's not a sample folder".error; nil}); }; ~changebufs.(); // can use this to change buffers between songs/sets ~listbufs = { ([~bufs] ++[~thebufs.collect(_.path).collect(_.as ...

  7. Eternal Elevator Ensemble by 56228375 (56228375) Code

    ... ; if (self.respondsTo(symbolicname)) { var txt = "Error! Registering" + "\\" ++ symbolicname + "would overwrite a member that exists already."; txt.postln; if (strict) { ...

  8. GUI: Time-domain continuous vs sampled signals, and FFT representation by 0-cM (jamshark70) Code

    ... ifft.(self[\fft], size * oversampling); self.changed(\data); } { Error("Container got % values, expected %".format(array.size, size)).throw; }; self }, fft_: { |self, polar| self[\fft] = polar; self[\dat ...

  9. Wavetable Builder with GUI by txmod (txmod) Code

    ... ; // orange }); // ============ End of Settings ============ // catch errors & init d.maxSines = d.maxSines.max(d.numSines); d.minSineFreq = d.minSineFreq.clip(0, 1); d.maxSineFreq = d.maxSineFreq.max(d.maxSines); d.sineFreqSp ...

prev 1 2

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow