-
... mpressedSound; var cpKneelag; var env = EnvGen.kr(Env.asr, gate, doneAction:1); SendReply.kr(Impulse.kr(4), '/compressor', [orbitIndex, dryBus]); dry = In.ar(dryBus, numChannels); dryAmplitude = Amplitude.ar(dry, 0.001, 1.0); in = dry * cpT ...
-
... thDef:getOuts and UGen:set Its usage is described by example UGen:set creates a SendReply for a given name and adds it the key \out in the metadata in the SynthDesc of the SynthDef. The aim of this is that it can be used to update GUI widge ...
-
... = Pitch.kr(sig, 20, median: median, ampThreshold: ampThresh, clar: clarity); SendReply.kr(Impulse.kr(10), 'audience-noise', [ampltd, pitch, hasPitch].lag([lagAmp, lagPitch, lagHasPitch])); }).add ); s.sync; ~audience = Synt ...
-
... ).add; { var bufnum = Line.kr(0, 1024, 8).round(1); var trig = HPZ1.kr(bufnum); SendReply .kr(trig, 'bufscan' , [bufnum, BufFrames.kr( bufnum ), BufChannels.kr( bufnum ), BufSampleRate.kr( bufnum )] ); }.play(t); )
-
... update busses Out.kr(live_pos_bus, live_pos_sig); // update client with status SendReply.kr( Impulse.kr(15), "/track_status", [ gesture_rec_dur, gesture_phasor / (gesture_rec_dur * kr) ], track_id ); }).add;
-
... { var trig = Impulse.kr(50); var mouse = Latch.kr(MouseY.kr(0, 1, 0, 0), trig); SendReply.kr(Changed.kr(mouse), '/mouseY', mouse); Silent.ar(1) }.play; }; // Receive them all, but consume them more slowly. // SpeedLim is 'value'd 50x per se ...
-
... phs = Phasor.ar(t_start, BufRateScale.kr(buf)*rate,0, BufFrames.kr(buf)); SendReply.kr(t_stop, '/loopStopRec', dur); OffsetOut.ar(sync,phs); }).send(s); SynthDef(\syncPlay, {|out=0, sync=8, buf, rate=1, amp=1, stop, atk=0.003, r ...
-
... ; left= PeakFollower.ar(left, 0.99999); right= PeakFollower.ar(right, 0.99999); SendReply.kr(trg, "/mind", left++right); }).add; s.sync; mindSynth= Synth(\mind); OSCdef(\mind, {|msg| frequencyBands.do{|f, i| bandData[i]= [msg[3+i], msg[3+fr ...
-
... lank.ar(`[freqs, nil, ringtimes ], Impulse.ar(impulsesPerSecond, 0, 0.1)); SendReply.kr(Impulse.kr(visualizationFrequency), '/viz', [xy[0], xy[1]]); // impulse argument tells how often to update the display Out.ar(out, (0.3*sig)!2); ...
-
... = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1) * mul; // measure rms and Peak SendReply.kr(imp, '/levels', [Amplitude.kr(colum), K2A.ar(Peak.ar(colum, delimp).lag(0, 3))]); colum; }.play; a = LevelIndicator(bounds: Rect(100, 100, 100, 400 ...