Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2705) Code (126) Doc (797) Help (250) Quark (1510) Plugin (22) SCDoc ↗ Forum ↗ Google ↗
  1. MFunc Quark

    ... this.disable(toDisable.value).enable(newMode[\on].value); } // can put this in ServerTree doOnServerTree { arg server; this.value(server) } } MFdef : MFunc { classvar <all; var <key; *initClass { all = () } *new { |key, pairs, modes, selec ...

  2. MidiCcBus Quark

    ... , scOutPort, name) .init() } init{ func = {}; if(cc.notNil, { bus = Bus.control(Server.default, 1); //Set bus value. Divide by 127 to normalize to 0..1 MIDIdef.cc(name, {|val, num, chan, src| if (chan == channel, { bus.set(val/127); func.va ...

  3. Soundscape Quark

    ... el. See also: CartoonModel Creation / Class Methods *new (runner, geoListener, aServer) Soundscape is a Dependant of Runner and GeoListener , it receives all the sound object sequencing messages coming from Runner and it monitors the GeoLis ...

  4. Mx Quark

    ... oBeat(beat, atBeat, b) }) } }; if(this.isPlaying, { sched.schedAbs(atBeat, this.server, b.messages, { b.doSendFunctions;// should be before ! b.doFunctions; }); }, { b.doFunctions.doSendFunctions }) } // enact all changes on the server afte ...

  5. SCDraw Quark

    ... study to illustrate using both sound and images. Don't forget to boot the local server. ( var server, cdraw, csynth, circle, makeEvents, maxdur; server = Server .local; SynthDef ( "pluck" , { arg dur, amp, freq, pan; var sig, env; env = Env ...

  6. README Quark

    ... f(\sine, { SinOsc.ar(\freq.ar(440)) }).add; //Wait for definition to be sent to server s.sync; //Declare a node and play to stereo output a = AlgaNode(\sine, interpTime:2).play(chans:2); }); ) //Change \freq parameter. Note how it interpola ...

  7. PSrecur Quark

    ... rFuncStream_(value) Instance variable getter and setter methods. Examples ( s = Server .local; Server .default = s; s.boot; ) // another way to generate the fibonacci sequence // the first arg passed to the Function is the PSrecur itself, / ...

  8. Readme Quark

    ... oo && cd /tmp/foo ``` Install dependencies: ```bash $ npm install ``` Start the server: ```bash $ npm start ``` View the website at: http://localhost:3000 ## Philosophy The Express philosophy is to provide small, robust tooling for HTTP ser ...

  9. envAndPitch Quark

    ... tion of the plugin ~setup: optional function that will set up the plugin before server boots It should not return any audio envAndPitch: track envelope and pitch. Sends a message with: - hasFreq: bool - env: float - freq: float */ ~name = \ ...

  10. 3_serversidemethods Quark

    /// Methods for mapping on the server: MKtl.find; k = MKtl( 'lpd80' ); k.gui; s.boot; k.reset; MIDIIn.noteOnZeroAsNoteOff_( false ); // we use Ndef in this example, to allow for a flexible redefining of the sound on the server Ndef( \testSy ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow