-
Midi2Freq : KrPlayer { // players or floats will work *new { arg note,octave=5.0; ^Patch(UGenInstr(Midi2FreqUGen,\kr),[ note,octave ]) } // storeArgs { ^[note,octave] } //TODO //asStream //guiClass { ^Midi2FreqGui } } /* Midi2FreqGui : KrPl ...
-
... ss Methods . valRound The array in the CV 's value may contain Integer s and/or Float s which may have many decimals. For these may be rounded to a reasonable number - by default valRound is set to 2 decimals ( 0.01 ) Returns: rounding deci ...
-
... irstValue = theOscMessage.get(0).intValue(); // get the second value as a float float secondValue = theOscMessage.get(1).floatValue(); // get the third value as a string String thirdValue = theOscMessage.get(2).stringVal ...
-
... %/ 5, 8 %/ 5, 1.342].sort; ``` Convert when needed: ```supercollider (5 %/ 7).asFloat // -> 0.71428571428571 pi.asRational(999) // -> 355 %/ 113 ``` Operations with exact rational answers return `Rational` values: ```supercollider (7 %/ 2). ...
-
... he first input to the synth is a stereo audio rate input, the others were fixed floats that did not require synth inputs. Envelopes, fixed floats, fixed integers, Samples etc. can be passed into Instr functions. When Patch is used to specif ...
-
... e of these is found, it posts a warning. Its output is as follows: 0 = a normal float, 1 = NaN, 2 = infinity, and 3 = a denormal. Class Methods CheckBadValues. ar ( in: 0.0 , id: 0 , post: 2 ) CheckBadValues. kr ( in: 0.0 , id: 0 , post: 2 ...
-
... (i + 1).asSymbol] }, ioType: \in ) ), elementsDesc: ( // input elements: // 10 floating-point arguments indicating the current readings of the on board sensors. Arguments 1 – 3 gyroscope (°/s) x, y, z; arguments 4 – 6 accelerometer (g), x, ...
-
... y", ===) and value equality ("equality", ==) in SuperCollider See also: Event , Float , Introduction to Objects The distinction between identity and equality connects to wider issues in philosophy, logic, and computer science. 1 The present ...
-
... e indexed by integers beginning with zero. Buffers Buffers are arrays of 32 bit floating point values with a small descriptive header. Buffers are stored in a single global array indexed by integers beginning with zero. Buffers may be safel ...
-
... e is part of redUniverse toolkit /redFrik //--vector of any dimension RedVector[float] : FloatArray { species {^this.class} mag {^this.sum{|x| x*x}.sqrt} distance {|redVec| ^(this-redVec).mag} manhattan {|redVec| ^(this-redVec).abs.sum} dot ...