Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (615) Code (51) Doc (160) Help (40) Quark (358) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. SETODictObj Quark

    // SETODictObj is an object where you can set custom functions for each classID: SETODictObj.setAction(1, {|me| "%: Hello, I'm a first class object\n".postf(me)} ); // It is also possible to set the same function for a range of classIDs SET ...

  2. RedTrk Quark

    //redFrik - released under gnu gpl license RedTrk { classvar <>playDict, <>stopDict, <>clearDict; var <key, <>item, <>sections, <player, <isPlaying= false; *initClass { playDict= ( \Pattern: {|item| item.play(RedMst.clock, quant:0)}, \Strea ...

  3. test UScoreEditor rendering Quark

    // 1 event with 10 seconds duration ( r = UChain(0,0,10,false,[\sine,[\freq,rrand(200.0,500.0)]], \output).fadeOut_(1).fadeIn_(1); z = UScore(r); if( z.finiteDuration != 10) { "finiteDuration should be 10".throw }; x = UScoreEditor(z); y = ...

  4. mouse_and_drawing Quark

    //mouse position ( w = Window().acceptsMouseOver_(true).front; x = ENdef(\x,{ var pos = w.view.enMousePos; pos.collect{ |p| putStrLn("mouse pos is: "++p) }.enOut; })).start; ) // is down ( t = StaticText(); w = Window().layout_(HLayout(t)). ...

  5. RedGrandMst Quark

    RedGrandMst switch between different RedMst settings experimental class! see also [ RedMst ] [ RedSeq ] [ RedTrk ] [ RedTrk2 ] *song_(name) save current RedMst settings in songDict and switch to a new song *<song current song (Symbol) *<>so ...

  6. generating scores Quark

    //harmonic //long ( f = 60.collect({ |i| // generate 60 UChains var evt; var start = rrand(0.0,10.0); var dur = rrand(0.1,3.0); evt = UChain(start,0,dur,\pulse, \wfsSource).fadeOut_(0.1*dur).fadeIn_(0.1*dur); evt.units[0].set(\freq,100*rran ...

  7. UMixer Quark

    /* Unit Library The Game Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis ...

  8. ATSSynth Quark

    /////////////////////////////////////////////////////////////////////////////// // ATSSynth.sc // Sinusoidal (additive) resynthesis of an Z354Sound. // Plays back partials via per-partial control-rate freq/amp envelopes. /////////////////// ...

  9. MoscaHeadtracker Quark

    ... se; } }; }; } { curXStep = xStep; curYStep = yStep; }; // Only update origin if tracking is enabled if (switch.v) { moscaCenter.ossiaOrigin.v_([curXStep, curYStep, 0] / areaInMeters); }; //postln("x " + xStep + "curX " + curXStep + "xStepIn ...

  10. searchForDescription-example Quark

    // get all gists (of a certain user) with a description containing a specific term // a rudimentary example on how to use the interface to the gist cloud, hosted at github. // if the following fails for you, please check if you have to upda ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow