Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    PushPullOSC { var <netAddr; var capResp, encoderResp, batteryResp, pingResp, imuResp; var <>capAction, <>encoderAction, <>batteryWarnAction, <>pingAction, <>imuAction; var <>capUri = "/inputs/serial/1"; var <>encoderUri = "/inputs/serial/2" ...

  2. heatMap Quark

    ... ng, but .plot doesn't really show why: a = 20.collect{ |x| 20.collect{ |y| (x+y/pi).sin.rand}}.flat; a.plot(numChannels:20); a.heatMap(20); // Much better! // Choose your colour scheme: a.heatMap(20, colscheme: \red ); a.heatMap(20, colsche ...

  3. pitch-model-from-tidal Quark

    /* here is a brief example of how you can use the full supercollider pitch model from tidal */ // add these parameters to tidal: /* let degree = pF "degree" ctranspose = pF "ctranspose" mtranspose = pF "mtranspose" gtranspose = pF "gtranspo ...

  4. README Quark

    ... ` Convert when needed: ```supercollider (5 %/ 7).asFloat // -> 0.71428571428571 pi.asRational(999) // -> 355 %/ 113 ``` Operations with exact rational answers return `Rational` values: ```supercollider (7 %/ 2).floor // -> 3 %/ 1 (1 %/ 3).f ...

  5. 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 ); ...

  6. 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 ); ...

  7. 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 = ...

  8. 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 ...

  9. 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, // ...

  10. Simple Harmonic Motion by rukano (rukano) Code

    ... ncy, etc very easily. ( Server.default.waitForBoot({ SynthDef(\SimpleHarmonicPing, { |out, freq, amp, sustain, pan| var snd = BLowPass4.ar(Saw.ar(freq), freq*Line.kr(2, 1, sustain/4), 1); snd = snd * EnvGen.ar(Env.perc(0.01, sustai ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow