Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. XiiLoadXiiLangInstr Quark

    ... nitXiiLoadXiiLangInstr; } initXiiLoadXiiLangInstr { SynthDef(\xlang_shake, {arg out=0, amp=1; var buffer, player, env, signal; buffer = Buffer.read(Server.default, "/Users/thor/Library/Application Support/SuperCollider/sounds/insand/short/i ...

  2. RedLZ78 Quark

    ... e as tree instead of array for speed? RedLZ78 { *compress {|input| var tab= [], out= List[], i= 0, j, match, sub, last; while({i<input.size}, { j= 0; last= 0; while({ sub= input.copyRange(i, i+j); match= tab.indexOfEqual(sub); match.notNil ...

  3. bass-vc Quark

    // FM bass SynthDef(\fmBass, { |out, freq = 440, gate = 1, t_gate = 1, amp = 0.1, cbuf, mbuf, ratio = 0.5, index = 3, detun = 1.003, bufmod = 0, bufmodlag = 0.1, freqlag = 0.08, indexDecay = 0.1, indexEgAmt = 0.62, atk = 0.01, dcy = 0.2, su ...

  4. Neuromodule Quark

    ... ional array, with inputs weight: two-dimensional array with weights from ... to outs: if not nil, select those indices as a return for calling the next method */ var <>x, <>theta, <>weights, <>outs; *new { |x, theta, weights, outs| ^super.n ...

  5. SelectL.help Quark

    ... y)\ SelectL.kr(which,array) \ \ Part of \* HYPERLINK "wslib.html" wslib \ \ The output is selected from an array of inputs with interpolation\ \ See also [RotateL] and [Select] \ \ (\ \ SynthDef ( "help-SelectL" ,\ arg out=0;\ \ var a,cycle ...

  6. RedBase64 Quark

    ... GHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; *encode {|str| var out= List.new; str.clump(3).do{|x| var bin; switch(x.size, 3, { bin= x[0].ascii.leftShift(16)+x[1].ascii.leftShift(8)+x[2].ascii; 4.do{|y| out.add(map[63.leftSh ...

  7. RedEffectsRack Quark

    ... <specs, <isReady= false, groupPassedIn, <efxs, controllers; *new {|efxClasses, out= 0, group, lag= 0| ^super.new.initRedEffectsRack(efxClasses, out, group, lag); } *initClass { defaultClasses= [ //just some favourites RedEfxRing, RedEfxTap ...

  8. 2_mapping Quark

    ... ng - button on/off k = MKtl( 'rnnd0' ); k.gui; s.boot; SynthDef( \testSynth, { |out=0,on=0| Out.ar( out, SinOsc.ar( 440, 0, on * 0.1 ) ) } ).add; x = Synth.new( \testSynth ); k.elementAt( \bt, 1 ).action = { |but| x.set( \on, but.value ) }; ...

  9. RedRLE Quark

    //redFrik RedRLE { *encode {|input| var out= List[], cnt, val, i= 0; while({i<input.size}, { cnt= 1; val= input[i]; while({i+1<input.size and:{input[i+1]==val}}, { cnt= cnt+1; i= i+1; }); out.add(cnt); out.add(val); i= i+1; }); ^out.array; ...

  10. core-synths Quark

    ... = format("dirt_sample_%_%", sampleNumChannels, numChannels); SynthDef(name, { |out, bufnum, sustain = 1, begin = 0, end = 1, speed = 1, endSpeed = 1, freq = 440, pan = 0| var sound, rate, phase, sawrate, numFrames; // playback speed rate = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow