-
... . operator - operator to be applied a - a pattern (or compatible pattern input) examples of unary operators are: squared, sqrt, sin, tan ... See also: Pnaryop , Pbinop , UnaryOpFunction // example ( var a; a = Punop ( \sqrt , Pseries (0, 1, ...
-
... ault value if applicable See also: SinOsc [other related UGens...] // what this example does x = { SomeUGen .ar( XLine .kr(2000, 200), 0, 0.5) }.play; x.free; // what this example does ( x = SynthDef(\helpSomeUGen, { Out.ar(0, SomeUGen .ar( ...
-
... result of the calculation, but a structure that represents that calculation. // example a = 5 + 7; // result is 12. a = { b } + 7; // result is a BinaryOpFunction b = 5; a.value; // now it is evaluated, and the result is calculated b = 8; a ...
-
... result of the calculation, but a structure that represents that calculation. // example a = 2.sqrt; // result is square root of two (approximate floating point). a = { b }.sqrt; // result is a UnaryOpFunction b = 2; a.value; // now it is ev ...
-
... of SCMenuGroup . index - The index at which to insert this item in its parent. Examples // Simple example g = SCMenuGroup ( nil , "stuff" , 10); i = SCMenuItem (g, "foo" ); j = SCMenuItem (g, "bar" ); j.action = { "bar!!" .postln}; k = SCM ...
-
... method, list, or dictionary call, not to a more complex nested expression. for example: f = _ + 2; f is now a function of one argument. f.value(7); it is equivalent to having written: f = { |x| x + 2 }; (except that there is no name 'x' de ...
-
... r this menu item. index - The index at which to insert this item in its parent. Examples // Simple example g = SCMenuGroup ( nil , "stuff" , 10); i = SCMenuItem (g, "foo" ); j = SCMenuItem (g, "bar" ); j.action = { "bar!!" .postln}; k = SCM ...
-
... r this menu item. index - The index at which to insert this item in its parent. Examples // Simple example g = SCMenuGroup ( nil , "stuff" , 10); i = SCMenuItem (g, "foo" ); j = SCMenuItem (g, "bar" ); j.action = { "bar!!" .postln}; k = SCM ...
-
... result of the calculation, but a structure that represents that calculation. // example a = 0.8.linexp(0, 1, 40, 20000); // map (0..1) to exponentially to human frequency hearing range a = { b }.linexp(0, 1, 40, 20000); // result is a NAryO ...
-
... about 0.0014 sec at the default block size and sample rate. (See the resonator example below to see the implications of this.) The variably mixing and overwriting behaviour of the output ugens can make order of execution crucial. (No pun i ...