-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... .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| ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... ("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 ...
-
... 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) ...