Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. OffsetCP Quark

    ... /variables persisting between spawns var beatsleft, nextblock, offset; var temp,index; *new { arg dofunc,offsetscale=1.0, durationscale=1.0,phraselength=8.0,bpsd=0.5; ^super.new(bpsd,phraselength).initOffsetCP(dofunc,offsetscale, durationsc ...

  2. TLSequenceIterator Quark

    ... <activeCmds, <>autoSyncAtEnd, <>onStop, <status = \idle, routine, <condition, <>index, <clock, <>shouldSync = true, <>id; // useful only when a TLSeq is forked within another TLSeq *new { |array, sequencer, autoSync| if(array.includes(nil)) ...

  3. ZPlane Quark

    ... row }) }) } real_ { arg bool; real = (bool ? true).booleanValue } addPole { arg index, loc; if(index.isKindOf(Integer) or: { index == nil }, { if(loc.isKindOf(Polar) and: { loc.magnitude.isKindOf(SimpleNumber) and: { loc.angle.isKindOf(Simp ...

  4. USession Quark

    ... { |func| objects.do( func ); } first { ^objects.first } last { ^objects.last } indexOf { |obj| var index; index = objects.indexOf( obj ); if( index.isNil ) { objects.do({ |item, i| index = [ i, item.indexOf( obj ) ]; if( index[1].notNil ) ...

  5. USession Quark

    ... { |func| objects.do( func ); } first { ^objects.first } last { ^objects.last } indexOf { |obj| var index; index = objects.indexOf( obj ); if( index.isNil ) { objects.do({ |item, i| index = [ i, item.indexOf( obj ) ]; if( index[1].notNil ) ...

  6. GMListPianoRoll Quark

    ... ues_ { |aCollection| thisValues = aCollection.deepCopy; thisValues.do({ |value, index| if(value.notNil) { if(value.isKindOf(Array)) { thisValues[index] = value.asList; }; }; }); this.refresh; } entries { ^thisEntries } entries_ { |anArray| ...

  7. select_8_point Quark

    /* \select_8_point Creates an UMap that can select one from 8 points. index: the index of the point (0-7) interpolation: interpolation type (0:step, 1:linear) // cubic: todo point0 - point7: the values of the steps (can be UMaps) -- this is ...

  8. GMMultiButton Quark

    ... ze = 64; var thisUnselectedRatio = 0.8; var thisDrawSelected = true; var thisAltIndex = nil; var thisDisplayAltValue = true; var thisSVGRatio = 0.8; *new { ^super.new.init; } init { super.init; // Allowed events this.setEventHandler( QObjec ...

  9. HistoryDispatch Quark

    ... = []; } dispatch { arg key, obj; var delta = Main.elapsedTime - startTime; var index; if(manual.not) { histories[key] = histories[key].add(delta).add(obj); } { index = this.findTimeIndex(key, virtualTime); if(index.notNil && alwaysReplace) ...

  10. dacTest Quark

    ... ths = Array.newClear(config.maxChans); ~selected = OrderedIdentitySet[]; ~selectIndex = { |self, index| self.selected = self.selected.add(index).sort; }; ~deselectIndex = { |self, index| self.selected = self.selected.remove(index); }; ~task ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow