Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. MIDIKtl Quark

    ... super.newCopyArgs(srcID, ccDict).init; } hasScenes { ^ctlNames.every(_.isKindOf(Dictionary)) } init { ctlNames = defaults[this.class]; ccDict = ccDict ?? (); ccresp.remove; ccresp = CCResponder({ |src, chan, ccn, ccval| var lookie = this.ma ...

  2. MarkovSet Quark

    ... possible transition probabilities to another element of the set. MarkovSet is a Dictionary that contains keys pointing to WeighBags (that contain objects and their probabilities). By parsing in a stream the Set 'learns' what element can pos ...

  3. Chuck ext Quark

    ... atterns } + Proto { isPattern { // can't use env.isPattern // because anIdentityDictionary.isPattern will fall back to Object ^if(env[\isPattern].notNil) { env.use { ~isPattern.() } } { false } } } // simultaneous control of multiple proces ...

  4. SWDataNetworkLog Quark

    ... } readHeader{ var spec,playset,playids; var playslots; var header; playnodes = Dictionary.new; header = reader.readHeader(hs:2); spec = header[0].last; if ( spec.notNil, { // network.setSpec( spec ); // if spec was not local, it may be inc ...

  5. LaTeX Quark

    ... ++ "}"; }; ^obj.asString } *asTable { arg dict, func; var res; if(dict.isKindOf(Dictionary)) { dict.keysValuesDo { |key, val| res = res.add([key, val]); } } { ^dict }; ^res } *tabularFooter { ^"\\end{tabular}\n" } *tableHeader { arg n, alig ...

  6. Spectrum Quark

    ... CopyArgs(freqs, amps) } + {|other| var newfreqs=[], newamps, dict, item; dict = Dictionary.new; freqs.do ({|freq, index| dict.put(freq, amps[index]); // put freq amp pairs in }); other.freqs.do({|freq, index| item = dict.at(freq); // Do the ...

  7. KeyPlayer Quark

    KeyPlayer a simple keyboard interface KeyPlayer allows using the computer keyboard keys for executing functions when given keys are pressed or released (keyDown and keyUp). see also KeyPlayerGui, KeyPlayerRec, KeyChain class methods: k = Ke ...

  8. 01_GuidedTour Quark

    ... tch' not understood. // RECEIVER: // nil Array.help; List.help Collection.help; Dictionary.help; Event.help; Collections understand all the math that numbers understand: [1, 2, 3] * 10; [1, 2, 3] * [100, 200, 300]; [1, 2, 3] * [100, 200]; / ...

  9. PLIdev Quark

    ... a value can be assigned to an envir variable later on. Defaults to inf. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...

  10. SCCode Quark

    ... ord| // ^this.new(forkedID).fork(username, password); // } init {|argID| dict = Dictionary.new; id = argID; } doesNotUnderstand {|selector ... args| var result; result = dict[selector.asString]; result.isNil.if{^super.doesNotUnderstand(sele ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow