Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4875) Code (274) Doc (1418) Help (390) Quark (2775) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. envTrigger Quark

    ... n: (string) a short description ~function: the actual definition of the plugin ~setup: optional function that will set up the plugin before server boots It should not return any audio */ ~name = \envTrigger; ~description = "Send a trigger b ...

  2. SatieOSC-utils Quark

    ... ; // if there are two args, and the first arg is the keyword "inBus"then try to set the effect's \in param to the second arg if (argList.size > 1, { if (argList[0].asString == "inBus", { auxBus = argList[1].asInteger.clip(0, satie.aux.size ...

  3. windowbounds1280 Quark

    // set gui window bounds for acer 1280x1024 layout ~controlpanelBounds = Rect(676, 4, 650, 976); ~mixerBounds = Rect(-1, -26, 676, 264); // change ~codedocBounds = Rect(1, 261, 674, 450); ~postwindowBounds = Rect(1, 712, 674, 290); // repla ...

  4. Atan2Osc Quark

    ... *createBuffer { // "buffer created".postln; ^buffer = LocalBuf( tableSize, 1 ) .set( { |i| i.linlin(0, tableSize-1, range.neg, range ).atan; } ! tableSize ) } *scaleInput { |input| ^input.linlin(range.neg, range, 0, tableSize-1, \minmax ); ...

  5. WaitView Quark

    ... (i/numLines) + (1 - pos) )%1.0) * ( if( active ) { 1 } { alphaWhenStopped } ) ).set; Pen.width_( lineWidth * radius * 2 ); Pen.moveTo( ((val.cos@val.sin) * (radius * centerSize )) + center ); Pen.lineTo( ((val.cos@val.sin) * radius) + cente ...

  6. windowbounds1280 Quark

    // set gui window bounds for acer 1280x1024 layout ~controlpanelBounds = Rect(676, 4, 650, 976); ~mixerBounds = Rect(-1, -26, 676, 264); // change ~codedocBounds = Rect(1, 261, 674, 450); ~postwindowBounds = Rect(1, 712, 674, 290); // repla ...

  7. function-hacks Quark

    ... nkNoise.ar }); ~dirt.soundLibrary.addSynth(\myNdef, (playInside: { |e| Ndef(\x).set(\trig, 1); // trigger the \trig control Ndef(\x).wakeUp; // make sure the Ndef runs // make sure that you play it in the ~synthGroup and to the ~out ( instr ...

  8. CtLoop Quark

    ... (key, ctlMap).init; } init { loops = List[]; list = List[]; nonRescalableCtls = Set[]; task = TaskProxy({ var dt, index, event, ctlID, val, listSize, intro = true; index = (start * list.size).round.round.asInteger; "CtLoop task starts.".pos ...

  9. NTP Quark

    ... oServer {|serverAddr| ("sudo ntpdate -u " ++ serverAddr.ip).runInTerminal; } // set me up as a server *server { var file, path = "/tmp/SCntpserver.conf", string; file = File.new(path, "w"); string = "server 127.127.1.0 prefer\nfudge 127.127 ...

  10. NPdef Quark

    ... Baalman (nescivi) // gnu/gpl NPdef : Pdef { *initClass{ Event.addEventType( \npset, #{ var freqs, lag, dur, strum, bndl, msgFunc; var proxy; freqs = ~freq = ~detunedFreq.value; proxy = ~id.value; if (freqs.isKindOf(Symbol).not) { freqs = ~ ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow