-
... CPU usage. See also FFT Overview . s.boot; ( SynthDef ( "help-magSmear" , { arg out=0; var in, chain; in = LFSaw .ar(500, 0, Decay2 .ar( Impulse .ar(2,0,0.2), 0.01, 2)); chain = FFT ( LocalBuf (2048), in); chain = PV_MagSmear (chain, MouseX ...
-
... 11wlk01.wav"); d = Buffer .alloc(s,2048,1); ) ( SynthDef ( \help_pvconj , { arg out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT (bufnum, in); chain = PV_Co ...
-
... fft buffer B. See also FFT Overview . s.boot; ( SynthDef ( \help_magMul , { arg out=0; var inA, chainA, inB, chainB, chain; inA = WhiteNoise .ar(0.2); inB = LFSaw .ar(100, 0, 0.2); chainA = FFT ( LocalBuf (2048), inA); chainB = FFT ( LocalB ...
-
... e effect parameters are set from the event. Example: ( SynthDef ( \echo , { arg out=0, maxdtime=0.2, dtime=0.2, decay=2, gate=1; var env, in; env = Linen .kr(gate, 0.05, 1, 0.1, 2); in = In .ar(out, 2); XOut .ar(out, env, CombL .ar(in * env ...
-
... fferB - fft buffer B. wipe - can range between -1 and +1. if wipe == 0 then the output is the same as inA. if wipe > 0 then it begins replacing with bins from inB from the bottom up. if wipe < 0 then it begins replacing with bins from inB f ...
-
... there was in SC2. SynthDefs can also be compiled and loaded into the Server without writing them to disk. This can be done while performing. The downside of this is that precompiled SynthDefs lack some of the programmatic flexibility that w ...
-
... iderations Using your own ~instrument ( SynthDef ( \help_SPE7_BerlinB , { arg i_out=0, freq = 80, amp = 0.2, pan=0; var out, a, b; amp = Decay2 .kr( Impulse .kr(0), 0.05, 8, amp); out = RLPF .ar( LFPulse .ar(freq, 0, SinOsc .kr(0.12,[0,0.5p ...
-
... - input signal see also: PauseSelf // example ( SynthDef ( \freeSelf_help , { |out, t_trig| FreeSelf .kr(t_trig); Out .ar(out, SinOsc .ar(400,0,0.2)); }).send(s); ) a = Synth ( \freeSelf_help ); a.set( \t_trig , 1); // a single impulse Syn ...
-
... // beware of the feedback - wear headphones to prevent it. // patching input to output ( SynthDef ( "help-AudioIn" ,{ arg out=0; Out .ar(out, AudioIn .ar(1) ) }).play; ) // stereo through patching from input to output ( SynthDef ( "help-Aud ...
-
... /////// LPF(ローパス・フィルター)を使って入力ソースから高い周波数成分を減算します。 ( SynthDef ( "subtractive" , { Out .ar( 0, LPF .ar( Pulse .ar(440, 0.5, 0.1), // フィルターをかけるソース Line .kr(8000, 660, 6) // フィルターの周波数をLineでコントロールする ) ) }).load(s); ) Synth(" subtractive ") ////// ...