-
... ) + (3 * x1) - y1; ^[ y1, c1, c2, c3 ]; } splineIntPart2 { |list,i| // used for every index ^((list[3] * i + list[2]) * i + list[1]) * i + list[0]; } ++ { arg thou; ^BSpline(points ++ thou.points,order,isClosed) } sliceDimensions { arg dims ...
-
... node, i| // if synthdesc is available // we can't assume the same synthdesc for every node (synthDesc = node.getSynthDesc(~synthLib)).notNil.if({ controls = synthDesc.controls.select({ |c| c.rate != \noncontrol and: { #[freq, gate, out, i_o ...
-
... p.keysValuesDo { arg key, proxy; [key, proxy.isPlaying].postln }; // to remove everything else: p.postln; p.clean; // all monitoring proxies (in this case ~out) are kept. p.postln; // after ~out is stopped, it is removed, too: ~out.stop; / ...
-
... pping RTF formatting. . readAllSignal Reads the entire file as a Signal , where every chunk of four bytes is interpreted as a 32-bit floating point sample. . seek ( offset: 0 , origin: 0 ) Moves the read/write pointer to a given location in ...
-
... eates a granular gesture of duration. Each grain is 0.1 seconds long, new grain every 0.02 seconds */ grainfun = {arg starttime, duration, ampenv, lowfreq, hifreq; var now, note; now = 0; ampenv.times = ampenv.times.normalizeSum * duration; ...
-
... n create little // textures by hand: ~x.fadeTime = 3; // different filter freqs every time: ~x = { Ringz.ar(Impulse.ar([5, 8] * rrand(0.5, 1.5)) * 0.5, ({ exprand(200, 4000) } ! 2), 0.05) } // here is another proxy: ~y = { Pan2.ar(Dust.ar(2 ...
-
... ok at intrinsic size preferences and constraints of views: Intrinsic view sizes Every view intrinsically has a preferred size and a minimum size , returned by View: -sizeHint and View: -minSizeHint , respectively. The preferred size is a su ...
-
... sk." Server resources A NRT server is a separate server process from any other. Every time you run a Score, it launches a brand-new server process. Each new server starts with a blank slate. In particular, any SynthDefs you have added or Bu ...
-
... MFdef('snapshot1').value(NTMI.ndefs.choose); /////////// quick-store setting of every playing sound: MFdef('snapshot').value; // NTMI can also open a dialog on snapshot: NTMI.snapDialog = true; // For the curious, see all the functions and ...
-
... t's in fact what makes it reusable! Otherwise we'd need to type the Function in every time. So how do we reuse it? Execute the following lines one at a time and watch the post window: f = { "Function evaluated" .postln; }; f.value; f.value; ...