Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. Main-monitorOSC Quark

    ... rOSC { classvar <>exclude; *value { |time = 0, addr, port, msg = ([])| if( port.size != 0 ) { msg = port }; if( ([ '/status.reply', '/localhostOutLevels', '/localhostInLevels' ] ++ exclude.asCollection ).includes( msg[0] ).not ) { [ time.as ...

  2. 2e_presetPilot Quark

    ... etPilot, { |e| inf.do { |i| 1.wait; if (e.sndProb.coin) { var slot = NTMI.ndefs.size.rand; NTMI.slots.stepNext(slot); NTMI.slots.playAt(slot); }; if (e.preProb.coin) { var ndef = NTMI.slots.nowPlaying.choose; var ndefpre = NdefPreset(ndef). ...

  3. remapping Quark

    ... [] } } | knobs.collect{ |es,i| es.collect{ { |state| state !? { |xs| switch(xs.size) {0}{[i]} {1}{ if(xs[0] != i){xs++[i]}{xs}} {nil} } } } }.mreduce ).injectF(nil) .select({ |xs| xs.size == 2}) .enDebug("exchange"); //index i of this arra ...

  4. UPat Quark

    ... ndsTo( \asControlSpec ) && { unit.getDefault( key ).asControlInput.asCollection.size == upatdef.numChannels }; }; } defType { ^\pattern } doFunc { |unit| var res, was; if( unit.stream.isNil ) { this.makeStream( unit ) }; was = this.class.cu ...

  5. extArrayedCollection Quark

    ... ----------------- + ArrayedCollection { detectHoaOrder { var perfectSqrt = this.size.perfectSqrt; ^if(perfectSqrt.isNil, { nil }, { perfectSqrt - 1 }) } clumpByHoaDegree { var testOrder = this.detectHoaOrder; if(testOrder.isNil, { "Could no ...

  6. UPat Quark

    ... ndsTo( \asControlSpec ) && { unit.getDefault( key ).asControlInput.asCollection.size == upatdef.numChannels }; }; } defType { ^\pattern } doFunc { |unit| var res, was; if( unit.stream.isNil ) { this.makeStream( unit ) }; was = this.class.cu ...

  7. extBHiCut-magResponse Quark

    ... cale 20-22000 { freqs = (..freqs).linexp(0,freqs-1, 20, 22000); }; in = 1!freqs.size; rqs.do { |rq| in = in * this.filterClass.magResponse( freqs, sr, freq, rq ) }; ^in } } + LRHiCut { *magResponse { arg freqs = 1000, sr = 44100, freq = 120 ...

  8. Basic Feedback Delay Network SynthDef by michaeldzjap (michaeldzjap) Code

    ... 4) ]; // 2 - Compute the feedback matrix from the given eigenvalues n = d.size; a = (Matrix.newIDFT(n) * Matrix.withFlatArray(n, 1, d)).real.flat / sqrt(n); ) ( s.waitForBoot({ var primePowerDelays = { arg delays; ...

  9. example-system Quark

    ... yurrjjuummzg()()hi jtabh[]ij[]".scramble; loop { 0.3.wait; st = st.copy.swap(st.size.rand, st.size.rand).postln; t.cmdLine.postln; try { t.(st) } } }).play; Tdef(\x).stop; --! ~twist.synthList;

  10. Cactus Quark

    ... var path; path = cachePath.asString.standardizePath; if (PathName(path).folders.size >= 1){ ("rm -r" + path.escapeChar($ ) +/+ "/*").unixCmd; }; "Clearing Cactus cache...".postln; } // Public openProjectDir { projectPath.openOS; } restart { ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow