-
... //Wait for definition to be sent to server s.sync; //Create an AlgaPattern and play it. //Unlike Pbind, AlgaPatterns use an Event to describe the parameter -> value mapping. a = AlgaPattern(( def: \sine, dur: 0.5 )).play(chans: 2, scale: 0 ...
-
... is addition: { PinkNoise.ar(0.2) + SinOsc.ar(440, 0, 0.2) + Saw.ar(660, 0.2) }.play; ⧉ ✔ Saw is another type of oscillator, with a waveform that looks like a sawtooth. Note that we use a low value for mul, thus ensuring that the final outp ...
-
... instr.specs.size, deltaSpec) ); conn = if(instr.outSpec.rate === 'control', {MxPlaysOnKrBus}, {MxPlaysOnBus}).new({igs.bus}, {igs.server}, {igs.group}); if(instr.outSpec.notNil, { outlets = [MxOutlet( (instr.outSpec.findKey ? instr.outSpec ...
-
... .ar(out, Pan2.ar(x,pan, amp)); }).add; ); /****** test: (instrument: \ana_kick).play; (instrument: \ana_snare).play; (instrument: \ana_hat).play; (instrument: \kick_electro1).play; ******/ SynthDef(\pandeiro1, { |out, amp = 0.1, pan, drumfr ...
-
... ut the possibility of making on-the-fly changes to the material that pattern is playing. Indeed, modifying an existing pattern object is tricky and not always appropriate (because that approach cannot confine its changes to the one stream m ...
-
... xamples {(NTube.ar(WhiteNoise.ar, 0.97,`[0.5,-0.7],`[0.01,0.02,0.01])*0.1).dup}.play //can get it sound like respiration! {(NTube.ar(WhiteNoise.ar*SinOsc.ar(0.5),`[0.97,1.0,1.0,1.0,0.97],`[0.5,MouseY.kr(-1.0,1.0),0.2],`([0.01,0.02,0.01,0.00 ...
-
... ); chain = PV_MagMul (chainA, chainB); Out .ar(out, 0.5 * IFFT (chain).dup); }).play; ) c = Buffer .read(s, "sounds/a11wlk01.wav" ); ( SynthDef ( \help_magMul , { arg out=0, soundBufnum=0; var inA, chainA, inB, chainB, chain; inA = LFSaw .a ...
-
... {|jint| p.clock.tempo = spec.map(jint.value(0)); } ~y = {Impulse.ar(~tempo)} ~y.play ~y.clear ~y.fadeTime = 10 ( ~y = { Pan2 .ar( Mix .ar( LFPulse .ar( k[ \c1 ].kr.round(0.1).exprange(10, 400)!2 * [1, 1.4, 1.25, 1.246], [0, 0.5], k[ \c9 ].k ...
-
... Pattern's parent score. Different values (or UMaps) van be set depending on the playback status (playing, paused or stopped) playingValue: value (or UMap) returned if score is playing pausedValue: value (or UMap) returned if score is paused ...
-
... nv0); son = son * 1.2; son = son.clip2(1); son = son * amp; son = Splay.ar(son, spread, amp, pan); OffsetOut.ar(out, son); }).add; ); ( Pdef(~name, Pbind( \instrument, ~name, \env0, [ Env.new([0.5, 1, 0.5, 0], ...