Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... = ExternalClock.new(TempoClock.default).play; // } //should pass in tempoclock, server *new {arg tempoclock; ^super.new.initExternalClock(tempoclock); } initExternalClock {arg tc; tempoclock=tc ?? {TempoClock.default}; //use TempoClock as n ...

  2. UMapDefListView Quark

    ... ory .collect(_.synthDef).flat.select(_.notNil); UMapDef.loadOnInit = true; ULib.servers.do({ |srv| if( srv.class == LoadBalancer ) { if( srv.servers[0].isLocal ) { defs.do(_.justWriteDefFile); srv.servers.do({ |sx| sx.loadDirectory( SynthDe ...

  3. UTransportBar Quark

    ... ,c,d,e| var startedPlaying; switch( v.value ) {0} { score.prepareAndStart( ULib.servers, score.pos, true); }{1} { score.stop; }{2} { score.start( ULib.servers, score.pos, true); } }); views[\pause] = SmoothSimpleButton( parent, 50@height ) ...

  4. DirtSoundLibrary Quark

    ... d, currently they are ["wav", "aif", "aiff", "aifc"] */ DirtSoundLibrary { var <server, <numChannels, <buffers, <bufferEvents, <synthEvents, <metaDataEvents; var <>fileExtensions = #["wav", "aif", "aiff", "aifc"]; var <>verbose = false; var ...

  5. HrWrapSynth Quark

    ... you MUST use SynthDef.memStore or SynthDef.store when sending your SynthDef to server (instead of .send or .load). Examples: This is a sine oscillator synth with two outputs: s.boot; //remember to boot before .memStore ( SynthDef ( \sineOs ...

  6. PLbeta Quark

    ... ionary to be taken for variable reference. Defaults to \current. Examples ( s = Server .local; Server .default = s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind ( \midinote , PLbeta ( \lo , \hi , \p1 , ...

  7. LoadBalancer tests Quark

    ( ~lbs = 2.collect({ |i| LoadBalancer( *WFSServers.default.multiServers[i].servers ); }); ULib.servers = [ s ] ++ ~lbs; UChain.defaultServers = [ s ] ++ ~lbs; ) ( thisThread.randSeed = 12345; r = 120.collect({ |i| UChain(rrand(0.5,2.0),i,2, ...

  8. README Quark

    ... rn a different typed respond body based on what the client wants to accept. The server lists it's preferences in order and will get back the best match between the client and server. ```js var accepts = require('accepts') var http = require ...

  9. extString_2 Quark

    ... trReplace, ctrAfter, exclude, metaKey = \specs, useGlobalSpecs = true, num = 1, server| ^this.asSymbol.sVarGui(ctrBefore, ctrReplace, ctrAfter, exclude, metaKey, useGlobalSpecs, num, server) } pVarGui { | ctrBefore, ctrReplace, ctrAfter, du ...

  10. UScore Quark

    ... >= startPos) && { endTime != item.startTime } ) { releaseEvents.add( [endTime + Server.default.latency, 2, item] ); }; }; }); // returns collection of [duration, type, event] // where type can be: // 0 - prepare, 1 -start, 2 - release, 3 - ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow