-
... e. dstlo - lower limit of output range. dsthi - upper limit of output range. // examples: ( { var mod = SinOsc .kr( Line .kr(1, 10, 10)); SinOsc .ar( LinLin .kr(mod, -1,1, 100, 900)) * 0.1 }.play; ) // modulating destination values. ( { var ...
-
... patterns, describing the usage of specific Pattern classes, and proceeding into examples of practical musical tasks written as patterns. Contents PG_01_Introduction : Fundamental concepts of patterns and streams PG_02_Basic_Vocabulary : Com ...
-
... o, due to hardware failure or accidental disconnection). This allows you to for example to make a backup solution and activate it (like using fake input data for your algorithm, or trying to reopen the device). By default it will post a mes ...
-
... located some resources that need to be released before reporting the error. For example, you might open a file and do some processing on it that might encounter an error. Good practice is to close the file before the error halt, which you c ...
-
... m_yday] %G Replaced by the week-based year (see below) as a decimal number (for example, 1977). [ tm_year, tm_wday, tm_yday] %h Equivalent to %b. [ tm_mon] %H Replaced by the hour (24-hour clock) as a decimal number [00,23]. [ tm_hour] %I R ...
-
... the number, with the desired precision (i.e. number of significant figures). // example: pi pi.asStringPrec(3) pi.asStringPrec(6) (pi * 0.0001).asStringPrec(3) 7.4.asStringPrec(5) 7.4.asStringPrec(50)
-
... ctangent of y/x. See also hypot . OK, now we can add a pan to the hypot doppler examples by using atan2 to find the azimuth, or direction angle, of the sound source. Assume speakers at +/- 45 degrees and clip the direction to between those. ...
-
... and in the second we get an Array of two BinaryOpUGens. Note that in the first example we use Mix.new(...), but in the second we use Mix(...). The latter is a shorthand for the former. 'new' is the most common class method for creating a n ...
-
... d y are looked up in the current Environment }); ) Here is a somewhat contrived example of how the Environment might be used to manufacture SynthDefs. Even though the three functions below have the freq, amp and pan args declared in differe ...
-
... ate / server's rate). The UGen BufRateScale.kr(bufnum) returns this factor. See examples below. BufRateScale should be used in virtually every case. trigger - a trigger causes a jump to the startPos. A trigger occurs when a signal changes f ...