-
... m.maxFPS_(20); n.maxFPS_(20); m.start; n.start; ~meters = [m, n]; ) s.boot; // MouseX controls noise amp ( o = OSCresponder(s.addr, '/tr', { |time, resp, msg| { ~meters[msg[2]].level = (msg[3] + 0.01).explin(0.01, 1.01, 0, 1) }.defer; }).a ...
-
... F.ar(src, frq, rq), RHPF.ar(src, frq, rq) ]; flt = Out.kr(fltSel, MouseX.kr(0, snds.size)); Select.ar(In.kr(fltSel), snds) * mul }; snd = synth.play(args:[frq:1000, mul:0, which:0]); bnds = Window.screenBoun ...
-
... with horizontal mouse position instead of a noise generator */ //sig = MouseX.kr!2; SendReply.kr(Impulse.kr(40), '/mouse', sig); 0 }.play(target:h); s.sync; OSCdef(\mouse, { arg msg; /* when SendReply s ...
-
... rce = { var in; in = \in.ar(0!~hoaNumChannels); HOATransRotateAz.ar(~order, in, MouseX.kr(-pi, pi)) }; ⧉ ✔ Here we have an example with HOATransRotateXYZ where we rotate the sound scene around all three axis. ( ~hoaTransformer.source = { va ...
-
... SynthDef("help-VDiskin", { |out, bufnum = 0| Out.ar(out, VDiskIn.ar(1, bufnum, MouseX.kr(0.5, 2.0))); }).add; ) ( x = Synth.basicNew("help-VDiskin"); m = { |buf| x.addToHeadMsg(nil, [\bufnum, buf]) }; b = Buffer.cueSoundFile(s, ExampleFile ...
-
... 0.5, 200, 1)); Out.ar(out, PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), trig, MouseX.kr(0, BufFrames.kr(bufnum)), 1) ) }).play(s, [\out, 0, \bufnum, b]); // accelerating pitch SynthDef(\help_PlayBuf, { |out = 0, bufnum = 0| var rate; rate ...
-
... e, doneAction: 2 ); impuls = Impulse.kr( rate ); // regular update interval x = MouseX.kr( 0, 5 ); y = MouseY.kr( 0, 3 ); trigxy = (2.55..-0.45).collect{ |yi| (-0.45..4.55).collect{ |xi| InRect.kr( x, y, Rect( xi, yi, 0.9, 0.9 ) ) } }.flatt ...
-
... stomize the parameters for more informative scoping { |in| MoogFF .ar(in, freq: MouseX .kr(10, 10000, 1), gain: MouseY .kr(4,0))}.scopeResponse Instance Methods kill Very important . This must be run when the parent window is closed to avoi ...
-
... tion(a); ) {Out.ar(0,Pan2.ar(0.5*FreeVerb.ar(Resonz.ar(Instruction.ar(b.bufnum),MouseX.kr(1000,5000,'exponential'),MouseY.kr(0.01,1.0,'exponential'))),0.0))}.play //discovered sounds ( a=[ 2, 0.98085289001465, 0, 0.0098705891385231, 3, 0.04 ...
-
... Here is a simple example, using Ndef (NodeProxy works similarly): Ndef(\maus, { MouseX.kr }); Ndef(\haus, { Pan2.ar(Blip.ar(Ndef.kr(\maus, 1) * 70), SinOsc.kr(Ndef.ar(\maus, 1) * 5)) }).play; ⧉ ✔ NOTE: If you don't specify the number of cha ...