-
... rent arrangement, between two square brackets [] , and with a comma in between. Just like the curly brackets indicate a Function, square brackets define something called an Array. An Array is a type of Collection, which is (you guessed it) ...
-
If you are too poor to afford changing the amplitudes of a stereo signal, just let the channels wait. But the signal frequency is an impasse that is to be valued in itself. // poor man's panning { var f, hornbostelwertheimerkonstante; ...
-
... classes with class extensions (something that is always a little risky), we can just make a warpper. */ // leaving out adverbs for now FuzzyMath : AbstractBehavior { /* *new { |obj| ^ExtendableObject(this).pr_behavior_(this) } */ + { |val| ...
-
... iveFailed } _FunctionValue is a C code primitive, so it is not possible to know just by looking at it what it does. However what it does is to evaluate the function and return the result. { 5.squared }.postln; // posts Instance of Function ...
-
... ted class methods Instance Methods . softReset reset sample rate. Rarely used - just for keeping the class consistent with OpenBCIboard , . start start streaming synthetic data. . stop stop streaming synthetic data. . close stops main loop. ...
-
... eclare an AlgaNode b = AN({ SinOsc.kr(10) }); //'fx' parameter can be modulated just like any other AlgaPattern parameter. //In this case, the \dist is getting modulated by b. ( a.from(( def: \tanh, dist: Pseq([ AlgaArg(b, scale:[1, 10]), P ...
-
... . In order to save diskspace, you can reproduce any sequence of randomized data just by one Integer number that you can write down in your notebook.. see also: [ RandSeed ] [ Pseed ] [ Thread ] // every thread, also a Routine, has a random ...
-
... .ar( WhiteNoise .ar, Impulse .ar(9)) * 400 + 500, 4, 0.2) }.play; The above is just meant as example. LFNoise0 is a faster way to generate random steps : { Blip .ar( LFNoise0 .kr(9, 400 ,500), 4, 0.2) }.play;
-
... X intercepts are determined via linear interpolation so this gives better than just integer wavelength resolution. This is a very crude pitch follower, but can be useful in some situations. in - input signal. Server .internal.boot; ( { var ...
-
... p = Pbind( \type, \midi, // this line is optional b/c noteOn is the default // just making it explicit here \midicmd, \noteOn, \midiout, mOut, // must provide the MIDI target here \chan, 0, // degree is converted to midinote, not just freq ...