-
... gn * pos * BufSampleRate.ir(buf)) // add tiny offset so neg rate does not reach doneAction immediately + (rate.sign * 0.01) // ... and wrap to legal range .wrap(0, BufFrames.ir(buf) - 1); Out.ar(out, Pan2.ar( PlayBuf.ar(1, buf, rate, startP ...
-
... uments: centsList A list of cent values out of which the classification will be done. tolerance Tolerance range in cents (+/- from a value). Inherited class methods Instance Methods Inherited instance methods Examples Use case examples: //I ...
-
/* This SynthDef is a haunted music box, done with modal synthesis. If you're interested, check out modalmarimba.scd. Essentially, everything in the "Modal Stuff" section is modeling a physical beam that's clamped at one end and hit at the ...
-
... hod which is not usable in all instances. Here is an example of how this can be done: flop { _ArrayMultiChannelExpand ^super.flop // this gets executed if the primitive fails } ⧉ ✔ Note that returning anything besides errNone will result in ...
-
... this class has no way to know in which order the reading and writing will // be done. }; if (phasors.includesKey(frames)) { phase = phasors[frames]; } { phase = Phasor.ar(0, 1, 0, frames); phasors[frames] = phase; }; buf = LocalBuf(frames, ...
-
... late, for a bit of controllable percussive emphasis. Finally, there's a cheaply done filter with a roughly constant, positive db/oct slope to emphasise higher harmonics a bit more, which helps highlight some of the metallic parts of the Syn ...
-
... ounds of the enclosed content exceed the the bounds of this view. Autohiding is done independently for each axis. The default is true. autoScrolls_(bool) autoScrolls Set or return a Boolean value indicating whether this view scrolls automat ...
-
... ly required in rare cases, typically for resource cleanup that cannot be safely done in a global object destructor. For example, the DiskIO UGens and UI UGens in DiskIO_UGens.cpp resp. UIUGens.cpp use the unload function to safely join thei ...
-
... an envelope ( { var trig; trig = SinOsc.ar(1) > 0.1; EnvGen.kr(Env.perc, trig, doneAction: Done.none) * SinOsc.ar(440, 0, 0.1) }.play ) // > outputs 0 or 1 ⧉ ✔ See Operators or the implementation of these in AbstractFunction for more detai ...
-
... ll(Impulse.ar(20), \test2) }.play(s); // if no arguments are given, the poll is done every 0.1 sec. { Line.kr(0, 1, 1).poll }.play(s); // send a '/tr' message back to the client. This can be useful if the server runs on another // computer ...