-
... 0.3,add:1); Mix.new([SinOsc.ar(80)*env,SinOsc.ar(40)*env])*Saw.ar(80)*0.5; }.play; // Adding dust. { var delay1, delay2, source, shift; //k from -1 to 1 //in samples delay1= 100; delay2= 40; //source= Dust.ar(300)*4* ...
-
... ot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PLFSaw(16, 0.5, 10, 60).trace).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PLFSaw(16*PSinOsc(64, 0, 0.1, 1), 0.5, 0.25, 0.25).trace).play a.stop ⧉ ✔ helpfile source: /tmp/scquark_hs/U ...
-
... a = AP(( def: { SinOsc.ar(\f.kr(440)) * EnvPerc.ar(release: 0.1) }, dur: 0.5 )).play(chans:2); }) ) //Without latestReplace, this would trigger 5 times ( 5.do { | i | a.replace({ Saw.ar(Rand(220, 440)) * EnvPerc.ar(release: 0.1) * 0.3 }, sc ...
-
... alse, true, false], inf), \octave, Pgate(Pwhite(3, 7), inf, \step), \dur, 0.2 ).play ) ⧉ ✔ // Pn advances Pgate each time its subpattern is repeated ( Pbind( \degree, Pn(Pseq((0..7)), inf, \step), \mtranspose, Pgate(Pwhite(0, 5), inf, \step ...
-
... b3); RecordBuf.ar([sig,sig],~buff.bufnum,run:r,loop:0); }; ).add; SynthDef(\play,{ Out.ar(0,PlayBuf.ar(2,~buff,rate:-1,loop:1)*EnvGen.ar(Env([0,0.5,1.0,0.5,0],[6,5,10,9]))*0.2); }; ).add; SynthDef(\perc,{arg freq=80; var d,l=4; d=L ...
-
... ault Events are copied ( copySets == 1), not their values ( copyItems == 0). By playing Events those are used to store additional data (synth ids, msgFuncs …) which is mostly not of interest when refering to the event stream, e.g. with PSx ...
-
... ent is then performed with possible modifications by enclosing patterns and the player (either an EventStreamPlayer or a ScoreStreamPlayer). The resultant event is returned to the function where it can be assigned to a key within the protoE ...
-
... s Examples // Permute a simple sinusoid: {PermModT.ar(SinOsc.ar(220),280,1600)}.play // Modulate both outfreq and infreq parameters with the mouse: {PermModT.ar(SinOsc.ar(220), MouseX.kr(500, 1200), MouseY.kr(1200,4000))}.play //Remember to ...
-
... velope: Env.perc, gate: Impulse.kr(LFNoise1.kr([1.2, 1.0], add: 0.7)) )*0.5; }).play; ) // we can use contsructors of That which analyse of specific // parameters, e.g. the amplitude ( That.amp( name: \ampTest, input: Ndef(\thatSound), call ...
-
... to .action = {1.postln} JITseto .action = nil p = ProxySpace .push(s) s.boot ~a.play; ~b.play; ( ~a = { |freqs = #[100,0], t_trig = 0| EnvGen .kr( Env .perc, gate: t_trig) * SinOsc .ar(freqs.lag, 0, 3).softclip * 0.5 }; ~b = { |freqs = #[10 ...