Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (196) Code (4) Doc (51) Help (22) Quark (119) SCDoc ↗ Forum ↗ Google ↗
  1. AllBuf Quark

    ... inchans, mode: mode ); // Only generate if forced to or if it does not exist in synthdesclib if(forceAdd or: { SynthDescLib.global.at(name.asSymbol).isNil }, { verbose.if({ "Creating AllBuf synth for mode %".format(mode).postln }); synthfun ...

  2. startup00-ddwSynths Quark

    // General-use synthdefs // I will keep them in a separate SynthDescLib as well as the global one Library.put(\ddwGlobal, \storeMethod, if(SynthDef.findRespondingMethodFor(\add).notNil) { \add } { \memStore } ); SynthDescLib(\ddwSynths, { S ...

  3. Alga Quark

    ... p.algaMaxIO = maxIO; AlgaStartup.initSynthDefs(rebuild); } *initClass { var algaSynthDescLib = SynthDescLib(\alga); servers = IdentityDictionary(1); schedulers = IdentityDictionary(1); clocks = IdentityDictionary(1); parGroups = IdentityDic ...

  4. extSynthDef Quark

    // add this from 3.6.6 if using 3.6.5 or earlier! + SynthDescLib { add { |synthdesc| synthDescs.put(synthdesc.name.asSymbol, synthdesc); this.changed(\synthDescAdded, synthdesc); } }

  5. Renderer Quark

    ... a); s.makeWindow.boot; s.addr.start; s.addr.score.score.postcs; a.lifeTime = 3; SynthDescLib .read; Pbind ( \server , s).play(a); // Renderer // could be used like this: SynthDescLib .read; ( a = Renderer (3.0); // render 3.0 seconds Pbind ...

  6. AbstractSVoice Quark

    ... gs); } initAbstractSVoice {|grp, args| var name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this.def.add; grp.server.sync; }); syn= Synth(name, args, grp); }; } *type {^this.subclassResponsibility(thisMethod)} //also synt ...

  7. extSymbol_2 Quark

    ... { | synthName, metaKey = \specs, useGlobalSpecs = true | var desc, spec; desc = SynthDescLib.global[synthName.asSymbol]; spec = desc.tryPerform(\metadata).tryPerform(\at, metaKey) ?? { useGlobalSpecs.if { Spec.specs[this] } }; spec.isNil.if ...

  8. RedTrk2 Quark

    ... argItem.patternpairs.pairsDo{|key, pat| var desc; if(key==\instrument, { desc= SynthDescLib.global.synthDescs[pat]; if(desc.notNil, { channels= desc.outputs[0].numberOfChannels;//is this correct? rate= desc.outputs[0].rate; //is this corre ...

  9. AbstractSController Quark

    ... .asKeyValuePairs++[\sController_bus, bus]; name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this.def.add; target.server.sync; }); syn= Synth(name, args, target); }; } defName { ^(this.class.name++bus.numChannels).asSymbol ...

  10. ToDo_notes Quark

    ... play; (instrument: \able).play; (instrument: \bubble).play; r.postExamples; b = SynthDescLib.global.synthDescs[\bla] SynthDescLib.global.synthDescs.do { |sd| sd.exampleEventString.postln }; ""; */

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow