Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. ddwPatterns Quark

    ... ues a pattern will yield before stopping. It's impossible to predict exactly in every case, but for simple patterns the number might be close enough. Pseries.fromEndpoints(start, end, length) Pgeom.fromEndpoints(start, end, length) Given th ...

  2. function Quark

    /* \function Creates an UMap that evaluates a SuperCollider function every time the UChain is started function: the function. The result of the function should be a value between 0 and 1 value: the result of the function (for display only) ...

  3. PlayBufCF Quark

    ... p, lag, n ) Arguments are the same as PlayBuf . But PlayBufCF makes a crossfade every time it is triggered. In order to do so it uses two PlayBufs internally uses equal power crossfades between them. Triggers can be audio or control rate. l ...

  4. MassEditUPattern Quark

    ... ue| var firstDef, defs; var dkey, dval; units = inUnits.asCollection; if( units.every({ |item| item.isKindOf( UPattern ) }) ) { def = units[0]; argSpecs = def.argSpecs( inUnits[0] ); argSpecs = argSpecs.collect({ |argSpec| var values, massE ...

  5. TestMoreSpecs Quark

    ... xval = d.maxItem; mean = d.mean; //d.do({ |g| g.postln }); this.assert( did = d.every({|val| c.canAccept(val) }),format("%: all items in the stream should be acceptable to the itemSpec:% % minval:% maxval:% mean:%",instr,c,c.findKey,minval, ...

  6. KeyBus Quark

    ... s = Bus.control(server, values.flat.size); // all single values isMono = values.every{ |val| val.size == 0 }; // all values have equal sizes, e.g. for VGG firstSize = values.first.size; isPoly = values.every { |val| val.size == firstSize }; ...

  7. KendhanganReader Quark

    ... : 1.0) }); events.pairsDo {|key, val| if(str == key) { ^val.value }; }; ^if(str.every(_.isDecDigit)) { (degree: str.asInteger, dur: 1.0) } } } // Old version using capitals for kendhang bem - // for unknown reason this doesn't work with SC ...

  8. auxIn Quark

    ... signal can be sent from a different UChain using 'auxOut'. For this to work on every system, set the receiving UChain's addAction to \addToTail or \addAfter, and enable 'global'. As an alternative to 'global', it is also possible to use an ...

  9. SETOInteraction Quark

    ... uper.new.initInt(parts)} initInt{|argParts| parts = argParts} update { // parts.every(_.visible).if{ this.interaction(parts.any{|item| item.visible.not}.not); // } } interaction {|isValid| postf("SETOInteraction: % <-> %\n", *parts.collect( ...

  10. extVarious-argsArray Quark

    ... enceableCollection { isArgsDict { ^false } isArgsArray { ^this.clump(2).flop[0].every({ |item| item.class == Symbol }) && this.size.even } // check if it's valid asArgsArray { |check = false| if( check && { this.isArgsArray.not } ) { "Seque ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow