Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (14) Doc (370) Help (95) Quark (257) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. Midi2Freq Quark

    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 ...

  2. CVSyncText Doc

    ... 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 ...

  3. SuperCollider sending data to Processing by luigi-tamagnini (Luigi Tamagnini) Code

    ... 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 ...

  4. README Quark

    ... %/ 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). ...

  5. Instr-SynthDefs Doc

    ... 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 ...

  6. CheckBadValues Doc

    ... 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 ...

  7. x-io-x-osc.desc Quark

    ... (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, ...

  8. EqualityIdentity Doc

    ... 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 ...

  9. Server-Architecture Doc

    ... 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 ...

  10. RedVector Quark

    ... 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 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow