Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. RoundNumberBox Quark

    ... , startHit, inc=1.0, <>scroll=true; //, <>shift_step=0.1, <>ctrl_step=10; var <>wrap = false; var <>shift_scale = 100, <>ctrl_scale = 10, <>alt_scale = 0.1; var <charSelectColor, <charSelectIndex = -1; var <>actionOnlyOnChange = true; var < ...

  2. lfo_sine Quark

    ... ]| var sig; sig = SinOsc.kr(freq, phase + DC.kr(\u_startPos.kr(0) * freq * 2pi).wrap(0,2pi)).range(*range); UMapOut.kr(sig); }) .setSpec( \phase, AngleSpec() ) .setSpec( \freq, FreqSpec(0.001,300, default: 2) ) .mappedArgs_( [ \range ] ) .c ...

  3. lfo_sine Quark

    ... ]| var sig; sig = SinOsc.kr(freq, phase + DC.kr(\u_startPos.kr(0) * freq * 2pi).wrap(0,2pi)).range(*range); UMapOut.kr(sig); }) .setSpec( \phase, AngleSpec() ) .setSpec( \freq, FreqSpec(0.001,300, default: 2) ) .mappedArgs_( [ \range ] ) .c ...

  4. extArray-interpolation Quark

    ... [ y1 - ((y0 - y2) * amt ), y2 - ((y3 - y1) * amt) ]; } modeAt { |index, mode = 'wrap'| ^switch( mode, 'wrap', { this.wrapAt( index ) }, 'clip', { this.clipAt( index ) }, 'fold', { this.foldAt( index ) } ); } allSplineIntControls { |amt, cli ...

  5. Note Quark

    ... Name; // enharmonic shift // possible binary operators // +, -, *, /, min, max, wrap, clip, rand, round n + Note ( "A1" ); n + 1; (n / 2).asCompileString; n.rand; // only whole notes; no cents

  6. pulse Quark

    ... close ).not.binaryValue; n.collect({ |i| ((((i * periods) / (n-close)) + phase).wrap(0,1) < width ) .binaryValue .linlin(0,1,*range); }); }, [ \range, [0.0,1.0], \periods, 1, \width, 0.5, \phase, 0, \close, true ], { |f, obj| [ \range, if( ...

  7. SayBuf Quark

    ... neg rate does not reach doneAction immediately + (rate.sign * 0.01) // ... and wrap to legal range .wrap(0, BufFrames.ir(buf) - 1); Out.ar(out, Pan2.ar( PlayBuf.ar(1, buf, rate, startPos: pos, doneAction: 2), pan, amp ) ) }).add; ServerBoo ...

  8. BufBank Quark

    ... lders = (root ++ "/*").pathMatch.sort) } *folderID_ { |index| ^folderID = index.wrap(0, subFolders.size - 1) } *stepFolder { |step=1, post=true| folderID = (folderID + step).wrap(0, subFolders.size - 1); if (post, { ("folder" + subFolders[f ...

  9. StereoNodeProxy Quark

    ... .new(name, { var out, outCtl; // build the controls from args output = SynthDef.wrap(func, rates, prependArgs); output = output.asUGenInput; // protect from user error if(output.isKindOf(UGen) and: { output.synthDef != UGen.buildSynthDef }) ...

  10. smooth Quark

    ... dow, ControlSpec( 0, 1, \lin, 0.0, 0.3 ) ) .setSpec( \mode, ListSpec( [ \clip, \wrap, \fold ] ) ) .useSelection_( false );

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow