Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. MaxItem Quark

    ... sc.ar( 220 ), SinOsc.ar( 225 ) ] ); MaxItem { *new { |array, force = false| var out; if( array.any({ |item| item.isKindOf( UGen ) }) ) { out = array[0]; array[1..].do({ |item,i| out = if( item > out, item, out ); }); ^out; } { ^array.maxIte ...

  2. extString-getPathsInDirectory Quark

    ... on matching // changed to use of pathMatch // added find functionality -- watch out with big search tasks; these are recursive functions // so they might freeze your system for a while. But they will always work (tested with up to // apx. 7 ...

  3. default-effects-extra Quark

    ... tEvent| dirtEvent.sendSynth('waveloss' ++ ~dirt.numChannels, [ drop: ~waveloss, out: ~out ] ) }, { ~waveloss.notNil }); SynthDef("waveloss" ++ ~dirt.numChannels, { |out, drop = 1| var sig = In.ar(out, ~dirt.numChannels); sig = WaveLoss.ar(s ...

  4. RedTest Quark

    ... .ar(#[400, 404], 0, LFNoise0.kr(5).max(0)*amp*0.5)), pan) } //--soundfile *sf {|out= 0, group| ^super.new.initRedTestSF(out, group, 1); } *sf2 {|out= 0, group| ^super.new.initRedTestSF(out, group, 2); } initRedTestSF {|out, group, channels| ...

  5. TestAlgaIEnvGenOptimize Quark

    ... updateEnv: \t_release.tr(0) ); }).add; SynthDef(\interp, { var in = 0, env = 0, out = 0, outMultiplier = 0, outScale = 0, outs = 0; in = \in.ar; out = Select.ar(\indices.ir(0), in); outMultiplier = \outMultiplier.ir(1); outScale = out.algaL ...

  6. core-modules Quark

    ... ain, speed, endSpeed, begin, end, pan, accelerate, offset, cps it ought to use "out" as bus output argument. the diversion is a hook to add an arbitrary function instead of a synth def. this may be refacored later. */ ( ~dirt.addModule('sou ...

  7. trackers Quark

    ... stereo again ! Instr([\trackers,\tri],{ arg audio; var in, amp, freq, hasFreq, out,mul=0.4; in = Mix.new(audio); amp = Amplitude.kr(in, mul: mul); # freq, hasFreq = Pitch.kr(in); freq = freq.cpsmidi.round(1.0).midicps; out = Mix.new( LFTri ...

  8. SynthDefAutogui Quark

    ... to control/monitor the behavior of a running synth, or to test a SynthDef, without recurring to SynthDescLib. It does not require previous planning. No store or memStore. Its main usage is inside two methods added to SynthDef and Synth cla ...

  9. pmCrotale Quark

    ... ("pmCrotale", { arg freq = 261, tone = 3, art = 1, amp = 0.8, pan = 0; var env, out, mod; env = Env.perc(0, art); mod = 5 + (1/IRand(2, 6)); out = PMOsc.ar(freq, mod*freq, pmindex: EnvGen.kr(env, timeScale: art, levelScale: tone), mul: EnvG ...

  10. SpeakerAdjust Quark

    ... ch." .format(ins.size, specs.size).warn; ^nil }; ^specs.collect { |spec, i| var out, amp, dt, eqSpecs; out = ins[i]; #amp, dt ... eqSpecs = spec; out = if (amp.notNil, { out * amp }, { out }); if (dt ? 0 > 0, { out = DelayN.ar(out, dt, dt) ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow