Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... PriorityQueue.new, // faster than storing indices in an array minIndicesDict = IdentityDictionary.new; offsets.isNil.if { offsets = 0!(items.size) }; // if Sieve is passed adjust offset items.do { |item, i| item.isKindOf(Sieve).if { // set ...

  2. SoundFileHolder Quark

    ... // holder for all buffers // var <unit, <unitArgName; *initClass { allBuffers = IdentityDictionary(); allUnits = IdentityDictionary(); } *new{ |numFrames, numChannels = 1, sampleRate = 44100| ^super.newCopyArgs(numFrames, numChannels, sampl ...

  3. PopUpTreeMenu Quark

    ... iations var selectedIndex; //integer. nil when nothing selected var treeStruct= IdentityDictionary.new; var xIndex= lst.size; var n= value.first.asSymbol; tree.keysValuesDo{|k, v| treeStruct.put(k.asSymbol, v.size>0)}; items= treeStruct.key ...

  4. ZArchive Doc

    ... ), ('delta' -> 0.428), ('m' -> [ 'setVolAt', 0, 0.336438 ]) ] ]); a.writeItem([ IdentityDictionary[ \a -> "b", "b" -> \c ] ]); a.writeClose; ) ( b = ZArchive.read("archiveTest"); b.readItem.postln; b.readItem.postln; b.readItem.postln; b.re ...

  5. MxMatrixGui Quark

    ... Rows, mx.master.units.size) + 1; } updatePoints { var lastRow, bounds; points = IdentityDictionary.new; bounds = view.bounds; lastRow = (boxBounds.height / boxHeight).floor - 1; masterCol = (bounds.width / boxWidth).floor - 1; mx.channels.d ...

  6. NMLClock Quark

    ... other peers }); } cmdPeriod { this.startBeacons } makeOSCFuncs { compareDict = IdentityDictionary.new; // time here is elapsedTime when the processOSCPacket is called // since if may need to wait on the lang mutex this could be late in 3.6 ...

  7. AlgaBlock Quark

    ... w.init(parGroup) } init { | parGroup | nodes = IdentitySet(10); feedbackNodes = IdentityDictionary(10); visitedNodes = IdentitySet(10); disconnectVisitedNodes = IdentitySet(10); upperMostNodes = IdentitySet(10); orderedNodes = OrderedIdenti ...

  8. SuperDirt Quark

    ... counterTenor); this.initRoutingBusses; group = server.nextPermNodeID; flotsam = IdentityDictionary.new; } start { |port = 57120, outBusses, senderAddr = (NetAddr("127.0.0.1"))| if(orbits.notNil) { this.stop }; this.makeOrbits(outBusses ? [0 ...

  9. rewriteString Quark

    ... ree , z, \dur , 0.1 ).play; ) // which is the same as: ( k = Pseq ([0, 5]); c = IdentityDictionary [ 0 -> [5, 0], 5 -> [3, 0] ]; z = Prewrite (k, c, 5); Pbind ( \instrument , \sinegrain , \degree , z, \dur , 0.1 ).play; ) // the following w ...

  10. misc-perc Quark

    ... ath) } { Buffer.readChannel(s, info.path, channels: #[0]) } }; ~parmMap[\buf] = IdentityDictionary.new.put(\alias, #[bufIndex, stacc]); min(~bufs.size, ~longChars.size).do { |i| ~parmMap[\buf][~longChars[i]] = [i, 0]; ~parmMap[\buf][~staccC ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow