-
... magnitude at index zero. ( x = { var fftsize = 1024; var sig, chain, unp; sig = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (fftsize), sig); unp = Unpack1FFT (chain, b.numFrames, 0, 0); // Demand some data from t ...
-
... (chainA, chainB, MouseX .kr(0, 32), MouseY .kr, 0.3); 0.1 * IFFT (chain).dup; }.play ); d = Buffer .read(s, "sounds/a11wlk01.wav" ); ( SynthDef ( \rectcomb_max , { arg out=0, soundBufnum1=0, soundBufnum2 = 0; var inA, chainA, inB, chainB, c ...
-
... umerical settings • mapping of kr proxies to parameters • optional controls for playing / monitoring NodeProxy and Ndef implement a .gui message, which returns a NdefGui for that NodeProxy. Overview: JITLib See also: MonitorGui , NdefParamG ...
-
... ng: you can write: if (x<3, {\abc}, {\def}); if (x<3) {\abc} {\def} z.do({|x| x.play }); z.do {|x| x.play }; while({ a < b },{ a = a * 2 }); while { a < b } { a = a * 2 }; shorter argument lists instead of writing: you can write: { arg x; x ...
-
... var bsound,hsound,qsound, beep; var fft; var feature1, feature2, feature3; in= PlayBuf .ar(1,d.bufnum, BufRateScale .kr(d.bufnum),1,0,1); //in = SoundIn.ar(0); //Create some features fft = FFT (b.bufnum, in); feature1= RunningSum .rms(in,6 ...
-
... 0, in=0; var input; input = In .ar(in, 1); Out .ar(out, input); }).send(s); ) //play noise on the right channel x = Synth ( "help-PinkNoise" , [ \out , 1]); //read the input and play it out on the left channel Synth .after(x, "help-In" , [ ...
-
... .kr( MouseX .kr(0.2, 8, 'exponential' )), // pos 0.5, // level 3 // width ); }.play( Server .internal); Server .internal.scope; )
-
... nf ), \bend , Pwhite (0, 76, inf )); // chain a midi event into the pattern and play it (see Pchain ) (a <> (type: \midi , midiout: m)).play; The following keys are supported by midi event: \noteOn \noteOff \polyTouch \control \program \tou ...
-
... This is an easy way to transpose a pattern to different levels successively. // Play a major-7th arpeggio, transposed to different scale degrees // Pwhite is the transposer; Pseq is the chord // The chord is like an "inner loop" ( p = Pbind ...
-
... n).notNil },{ Synth ( \help_Pdfsm1 , [ \freq , freq.midicps ]); 0.1.wait; }) }).play; ) ( SynthDef ( \help_Pdfsm2 , { arg freq, gate=1; var n=8, env, osc; env = Linen .kr( gate, 0.01, 1, 0.03, 2 ); osc = { Mix .fill( n, { arg i; FSinOsc .ar ...