Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... " loaded..."; } *classify {|centsList, tolerance = 6| // in cents var result = Array.newClear(centsList.size), key; key = tableType.switch(\JST, \harmon, \huygens, \names); centsList.do{|cent, i| table.cents.do{|x,j| if ( (cent - x).abs <= ...

  2. TestEnv Quark

    ... assert( a == a, "an Env should equal itself"); } test_equivalences { this.assertArrayFloatEquals( Env.cutoff(1, 1, 'exp').asSignal(20).as(Array), Env.cutoff(1, 1, 'lin').asSignal(20).asArray.linexp(0,1,-100.dbamp,1), "Exponential Env.cutoff ...

  3. startup12-MIDIInput Quark

    ... interrupts a playing stream to allow midi input var saveSubType = AbstractChuckArray.defaultSubType; AbstractChuckArray.defaultSubType = \midiInputWrapper; PR(\abstractProcess).v.clone({ // if true, using this as a wrapper will stop the ch ...

  4. SCLOrkEmojiMenu Quark

    ... true; // If any matches we first add them. if (match.notNil, { var matchList = Array.new(match.size); var targetMenu = this; // Reverse map for sorted description strings to callbacks. var descMap = Dictionary.new; match.do({ |item, index| ...

  5. Core_06 Quark

    ... tFreq, lastPhase, lastAmp, gapCount, smoothAmp; pts = (tr[\points] ? []); out = Array.newClear(pts.size); lastFreq = nil; lastPhase = 0.0; lastAmp = 0.0; gapCount = 999; smoothAmp = 0.0; pts.do { |pt, frameIdx| if(pt.isNil) { out[frameIdx] ...

  6. The Unfunky Drummer by schemawound (Schemawound) Code

    ... o use stereo samples ~rate = 2; //Rate of playback ~source = [ // Create an array of your samples. ~media.samples points at my base sample directory and is defined in my startup file. ~media.samples ++ "808/kicks/808 kick 6.wav", ...

  7. wordBins Quark

    wordBins ( var str = "" ; Array .fill(27, { |i| ((i+97).asAscii!i ++ " " )!i}).flatten(2).do{ |it| str = str ++ it }; d = str.wordBins(3) ) // use SwingOSC for proper umlauts in visualization ( var win, extX, extY, winRect, view, fontName, ...

  8. Red3D Quark

    ... {|argPosition| position= argPosition??{RedVector3D[0, 0, 0]}; rotationMatrices= Array.fill(3, { #[ [1, 0, 0], [0, 1, 0], [0, 0, 1] ] }); this.rotation_(RedVector3D[0, 0, 0]); this.update; } rotation_ {|redVec| rotation= redVec; this.rotatio ...

  9. PSPdiv Quark

    ... izes, maxSize; pulse.isKindOf(Number).if { pulse = Pn(pulse) }; evPat = evPat.asArray; div = div.asArray; divBase = divBase.asArray; divType = divType.asArray; // div, divBase and divTape: size must be equal and equal 1 or evPat.size sizes ...

  10. SatieOSC-nodeHandlers Quark

    ... > 3) { groupName = args[3].asSymbol; synthArgs = args[4..]; // returns an empty array if no values exist at these indexes this.createSourceNode(sourceName, synthName, groupName, synthArgs); } { this.createSourceNode(sourceName, synthName, g ...

prev 201 202 203 204 205 206 207 208 209 210 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow