Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. KrBusWatcher Quark

    ... lBusWatchers; var <aliveThread, <>updateFreq = 8; *initClass { allBusWatchers = IdentityDictionary.new; CmdPeriod.add(this); } *cmdPeriod { allBusWatchers.do(_.clear) } *newFrom { arg server; var res; res = allBusWatchers.at(server.name); i ...

  2. Controllers Quark

    ... = \methodControllerSync; } } }; ^super.newCopyArgs( model , msg , spec.asSpec , IdentityDictionary( ) , IdentityDictionary( ) , modelget , modelset , updateObjectOnChange ); } prLinkFrom{ | obj, linkfunc | if( objChangedActionDictionary[obj ...

  3. UAuxOut Quark

    ... >offset = 64; classvar <>specs; *initClass { Class.initClassTree(Spec); specs = IdentityDictionary(); specs.put( \bus, PositiveIntegerSpec(0,0,64) ); } *ar { |bus = 0, numChannels = 1| ^In.ar( bus + FirstPrivateBus.ir + this.offset, numChan ...

  4. MarkovSet Quark

    ... ter in many cases, but less flexible. //only objects that can act as keys in an IdentityDictionary can be read IdentityMarkovSet : MarkovSet { init { dict = IdentityDictionary.new; this.makeSeeds; } nodeClass { ^IdentityWeighBag } } LookupM ...

  5. SwitchByKind Quark

    ... rs; *new { arg ... pairs; ^super.new.init(pairs) } init { arg pairs; handlers = IdentityDictionary.new; pairs.pairsDo { arg klass, func; handlers[klass] = func } } value { arg object ... args; object.class.superclassesDo { arg klass; var h; ...

  6. extVarGui_6 Quark

    ... var varKeys = this.varCtr.select { |x,i| i.even }; var varSliderIndexKeyDict = IdentityDictionary.new; var synthSliderMIDIFuncs = this.synthCtrSliders.collect {}; var synthSliderSrcData = this.synthCtrSliders.collect {}; var synthGrouping ...

  7. HIDExplorer Quark

    ... Device( dev ) ); } *detectDuplicateElements { |elements| var elementUsageDict = IdentityDictionary.new; var duplicates = IdentityDictionary.new; var uniques = IdentityDictionary.new; var usagePageKey; elements.sortedKeysValuesDo { |elid,ele ...

  8. p_midi Quark

    ... MIDIDict.getEvent( *filter.next[[0,1,2,3]] ) ? val; 2.do({ if( newVal.isKindOf( IdentityDictionary ) ) { newVal = newVal.values.asArray.first; }; }); if( newVal.isKindOf( Array ) ) { newVal.select(_.notNil).first }; val = newVal ? val; mapF ...

  9. DirtSoundLibrary Quark

    ... r, numChannels| ^super.newCopyArgs(server, numChannels).init } init { buffers = IdentityDictionary.new; bufferEvents = IdentityDictionary.new; synthEvents = IdentityDictionary.new; metaDataEvents = IdentityDictionary.new; } free { synthEven ...

  10. DimpleThing Quark

    ... larger than 0, all incoming OSC messages for this thing are posted. properties IdentityDictionary holding all properties of the thing. actions IdentityDictionary holding all actions which should be performed as a property value is received ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow