Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... SimpleNumber { asRational { ^Rational.new(this) } /% { |that| ^Rational(this.asFloat / that) } fuzzygcd { |that, error = 0.15, tries| // error = acceptable amount of error in deciding "equality" // tries = how many iterations before giving ...

  2. TestJSONlib Quark

    ... 0], ["negative integer", -10, -10], ["zero", 0, 0], ["negative zero", -0, 0], ["float", 3.14, 3.14], ["negative float", -3.14, -3.14], ["inf", inf, "\"inf\""], ["negative inf", -inf, "\"-inf\""], ["pi", pi, 3.1415926535898], ["exp writing", ...

  3. PatchIn Doc

    ... s that the Player is playing onto. sources are client side objects that produce float values to send to the inputs of Nodes. Possible sources are gui objects like sliders or Patterns and other automatons. Anything that can respond to .value ...

  4. Color Doc

    ... w ( red: 0.0 , green: 0.0 , blue: 0.0 , alpha: 1.0 ) Create a new instance with float values. Arguments: red An instance of Float between 0 and 1. green An instance of Float between 0 and 1. blue An instance of Float between 0 and 1. alpha ...

  5. 13-Buffers Doc

    ... g Started With SC Buffers represent server buffers, which are ordered arrays of floats on the server. 'float' is short for floating point number, which means a number with a decimal point, like 1.3. This is in contrast to integers, which ar ...

  6. GenericGlobalControl Doc

    ... a non-default server, you must provide a Bus instance. value The initial value: float or integer. spec A ControlSpec (or any object responding to asSpec ), describing the range for the GUI slider. allowGUI For subclasses. If true, this cont ...

  7. InstrSpawner Doc

    ... actual stream using .asStream and then iterated. args that are of rate \scalar (floats, Envs, samples) will be passed into the instr function and are subsequently fixed. deltaPattern a float or pattern that returns floats. in seconds see In ...

  8. SoundFile Doc

    ... . When creating a new SoundFile, the format will be monophonic, 44.1 kHz, AIFF, floating-point by default. Users may override the defaults by passing the desired format strings to SoundFile: *openWrite , or by using SoundFile: -headerFormat ...

  9. Collections Doc

    ... rrays holding raw data values DoubleArray - an array of 64-bit double precision floating-point numbers FloatArray - an array of 32-bit single precision floating point numbers Signal - Sampled audio buffer Wavetable - sampled audio buffer in ...

  10. TestNoOps Quark

    ... } test_numerical_homomorphisms { var n = [ 10.rand2, // integers 10.0.rand2, // floats { 100.rand2 }.dup(8), // arrays { 100.0.rand2 }.dup(8), Complex(100.rand2, 100.rand2), // complex { 1 }, // function ]; var numbers = n.dup(2).allTuples. ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow