-
... amp * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; // wider, quasi-gaussian envelope, with a hold time in the middle. SynthDef(\pmWide, { |out, amp=0.1, carr=440, mod=880, index=0, sustain=0. ...
-
... nherited instance methods Examples s.boot; b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); c = TempoClick(s, TempoClock.default, subdiv: 8); ( a = { |t_trig = 0, bufnum| var tProb = TRand.kr(0.0, 1.0, t_trig) < 0.6, // l ...
-
... = EnvGen.kr(theEnv, 1, doneAction: 2); sig = PlayBuf.ar(2, buf, BufRateScale.ir(buf) * rate, startPos: start); sig = sig * env; Out.ar(out, sig * amp) }).add; ( SynthDef(\warp, {|buf = #[0,0], rate = 1, freq = 261.6255653006, am ...
-
... wn; in = in.round(0.5 ** (bits - 1)); down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)); }, // simple limiter \limit, \filter -> { |in, drive=1, amp ...
-
... 0, bufnum = 0| Out.ar(out, SinOsc.ar( IndexL.kr( bufnum, MouseX.kr(0, BufFrames.ir(bufnum)) ), 0, 0.5 ) ) }).play(s, [\bufnum, b]); ) b.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/IndexL.schelp link::Classes ...
-
... 0).range(0.0, 1.0), timeScale: 0.1 ) * SinOsc .ar(440, 0, 0.3) }.play; ) // an .ir rate input, a float or an ir rate ugen like Rand would work ( { EnvGen .kr( Env .asr( 0.1, 1.0, 0.5, \welch ), 1.0, Rand (0.1, 1.0), timeScale: 0.1 ) * SinOs ...
-
... ples buffer. Therefore the minimum maxdelaytime and delaytime must be SampleDur.ir * 4 . Inherited class methods Instance Methods Inherited instance methods Examples ( // Dust randomly triggers Decay to create an exponential // decay envelo ...
-
... , 0.5)); }.play; ) Instead of triggering the kernel update yourself, as in the first example, you can use a UGen trigger signal to do so. In the next example, we use two Convolution2 UGens in order to continuously and smoothly change the im ...
-
... mono buffer) input = In.ar(inBus, 1); localBuf = LocalBuf.new(SampleRate.ir * 1, 1).clear; record = RecordBuf.ar(input, localBuf, loop: 0); //// Granulate: // Random distribution of triggers prevents amplitude modulation a ...
-
... ".format(order).asSymbol; Udef( order, { var startBuf, sig; startBuf = orderKey.ir([0,1,1,0])[0]; sig = UIn.ar(0, (order+1).squared ); switch( mode, 'ambix', { sig = sig * ambixMul.keep( sig.size ); }, 'fuma', { sig = sig[ fumaOrder.keep( s ...