-
... r to cycles per second. Discussion: { Saw.ar(Line.kr(24,108,10).midicps, 0.2) }.play ⧉ ✔ cpsmidi Convert cycles per second to MIDI note. midiratio Convert an interval in MIDI notes into a frequency ratio. ratiomidi Convert a frequency ratio ...
-
PlayBuf: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Buffer'>Buffer PlayBuf : MultiOutUGen : UGen : AbstractFunction : Object Sample playback oscilla ...
-
... ), \dur, Prand([0.2, 0.4, 0.8], inf) ), Prand([1, 2, 4], inf)/4 ); Ppar([p, p]).play; ) // change degree independently of number of events that have been playing ( Pchain( Ppar([ Pbind( \degree, Pbrown(0, 12, 1), \dur, Pstep(Pseq([0.1, 0.2, ...
-
... // default initial params { GbmanN .ar( MouseX .kr(20, SampleRate .ir)) * 0.1 }.play(s); // change initial params { GbmanN .ar( MouseX .kr(20, SampleRate .ir), -0.7, -2.7) * 0.1 }.play(s); // wait for it... { GbmanN .ar( MouseX .kr(20, Samp ...
-
... more advanced sequencing. Class Methods . ar . kr Arguments: array Values to be played in sequence or a Demand rate ugen like Drand , Dseries or Dgeom . dur The time until a jump to the next value in array. Can also be a demand rate ugen re ...
-
... l.notNil) { ctl.valueAction_(newval) }; dt.value.wait; } }).clock_(AppClock); } play { task.play } stop { task.stop } makeButton { |parent, bounds| Button(parent, bounds) .states_([[butname], [butname, Color.white, Color.green]]) .action_({ ...
-
... = ProxySpace .push(s); ~sine = { |freq=300| SinOsc .ar( freq, 0, 0.3 )}; ~sine.play; ~sine.fadeTime = 0.1; NPxdef ( ~sine, Pbind ( \freq , Pseq ( (3..10)*100, inf ))); Pdef ( \sine ).play; Pdef ( \sine ).stop; ~sine.stop; // you can give t ...
-
... \gabor, note: ~module.next * 4, sustain: dt * 1.5, // 50% overlap width: 0.3 ).play; dt.wait; }; }).play ) // play with the parameters // fig. 82 ~module.theta = [2, -1]; ~module.weights = [[-3, 2], [-2, 0]]; ~module.weights = ~module.weig ...
-
... l midi in ports and all midichannels x = {SinOsc.ar(m.kr(0, 0, \freq), 0, 0.2)}.play // MIDI Chan = 0, CC = 0, Range 20-20000 Hz m.free; // loosing control x.free; // free synth // using two CCIns for different Controllers m = CCIn.new; m.s ...
-
... .33)), LinExp.kr(LFCub.kr(0.1, 0.5*pi), -1, 1, 280, 1500), 0.75, mul:3.5).dup }.play ⧉ ✔ RLPFD.ar(in, cutoff, res (0-1), dist (0-1), mul, add) resonance and distortion are related. can become nasty when cutoff, res, and dist are all high. t ...