Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. UndoView Quark

    ... .height ) .radius_(2) .canFocus_(false) .enabled_( false ) .states_([ [ ['arrow_pi', 'arrow'][i] ] ]) .action_({ if( undoManager.notNil ) { object.handleUndo( undoManager.undo( [1,-1][i] ) ); }; }); }); this.undoManager.changed( \update ); ...

  2. UndoView Quark

    ... adius_(2) .border_(1) .canFocus_(false) .enabled_( false ) .states_([ [ ['arrow_pi', 'arrow'][i] ] ]) .action_({ if( undoManager.notNil ) { object.handleUndo( undoManager.undo( [1,-1][i] ) ); }; }); }); this.undoManager.changed( \update ); ...

  3. Formatter Quark

    ... ], deg: [ ( id: "¡".asciiCorrect, alternatives: [ "deg" ] ), ( id: "rad", mul: 2pi/360 ), ( id: "pi", mul: 2/360, default: 1 ) ] ); } *new { |dict| case { dict.class == Symbol } { dict = typeDict[ dict ]; } { dict.class == String } { dict = ...

  4. saturatingWavefolder Quark

    ... // Envelope: env = Env.perc( attackTime: att, releaseTime: rel, level: preamp * pi/2, curve: crv).ar; // The sound being sent through everything: in = SinOsc.ar(freq: freq, mul: env); // The wavefolder: snd = SinOsc.ar(freq: 0, phase: in.mo ...

  5. MoscaHeadtracker Quark

    ... routine, rtkroutine, trackarr, trackarr2, tracki, trackPort, lastXStep = 0, xStepIncrement, curXStep = 0, interpXStep = true, lastYStep = 0, yStepIncrement, curYStep = 0, interpYStep = true, lagFactor = 0, packetCounter = 0, packetSkip, // ...

  6. DrawIcon Quark

    ... + Polar( radius * (2/9), angle ); backCenter = center + Polar( radius, angle + pi ).asPoint; Pen.moveTo( backCenter ); Pen.lineTo( backCenter + Polar( radius * width, angle + 1.5pi ).asPoint ); Pen.lineTo( center + Polar( radius, angle ).a ...

  7. RedGrainController.help Quark

    ... .0.rand2\); //random panning for each grain \ g.grainPan_(\ |pan, o, i| sin(o*2*pi)\); //sine -depend on position \ g.grainPan_(\ |pan, o, i| sin(i%1000/1000*2*pi)\); //sine (not dependent on position) \ g.grainPan_(\ |pan, o, i| #[0, 0, 0, ...

  8. GameLoopDecoder Quark

    ... his.setEncoderClassForATK(doppler); kernel = FoaDecoderMatrix.newStereo(131/2 * pi/180, 0.5); // Cardioids at 131 deg this.addDecoderSource(FoaDecode, kernel); this.createSumBus; }, {"You have to clear the current decoder first (GameLoopDec ...

  9. 032-wave_synth2 Quark

    ... 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0, lp= 1000| var z; z= Mix(LPF.ar(LFSaw.ar(freq+ ...

  10. moreHarmonics Quark

    ... ds for wavefolding, one smooth (SinOsc.ar) and one sharp (.fold), -a way of wrapping waves around from 1 to -1, like the sides in pacman (.wrap), -and a sort of square-wave-ifier using a Schmitt trigger. You can mix between them with blend, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow