Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. Mrmr Quark

    ... Sets the format of the data sent back from mrmr. type - \float returns floating point numbers from 0 to 1. \int returns integers from 0 to 1000.. Default value is nil . // Example //floating point format a.precision( \float ); //integer for ...

  2. HrButton Quark

    ... (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = HrButton (w, Rect (20, 60, 150, 20)).states_([["1"], ["2"]]); a.action = { a.value.postln }; ) Acces ...

  3. Core_01 Quark

    ... " ++ ~atsAnalysisToken).postln; ~autoSoloOnSelectV66 = false; ~mkTrack = { |id, points, color| ( id: id, points: points ? [], color: color ? Color.white, synth: nil, isSelected: false ) }; ~safePt = { |pt, idx = 0, n = 1, fallbackFreq = 440 ...

  4. XiiPitchCircle Quark

    ... num, aCol | aCol = aCol ? Color.green; num.do({ |i| // Draw the dots Pen.addArc(Point(0, radius.neg), radius * 0.05, 0, 2pi); Pen.color = aCol; Pen.perform(\fill); Pen.rotate(2pi/num); }); } drawLabel {|aString, align| aString = aString ? l ...

  5. diskSoundFile Quark

    ... oundfile" button in the UChain window. (***) with \diskSoundFile, loop the loop points will always be the start and end of the original file; it doesn't take into account the region start/end positions. -- this is an Udef definition file pa ...

  6. diskSoundFile Quark

    ... oundfile" button in the UChain window. (***) with \diskSoundFile, loop the loop points will always be the start and end of the original file; it doesn't take into account the region start/end positions. -- this is an Udef definition file pa ...

  7. KDTree_benchmarking Quark

    ... ~dims)); }; }; "" ); /////////// general nearest neighbour to arbitrary spatial point ( "Nearest neighbour query time estimated average:" .postln; ( "" ++(bench({ 100.do{ ~tree.nearest({~halffillsize.rand}.dup(~dims)); } }, false )/100) + " ...

  8. KDTree_benchmarking Quark

    ... ~dims)); }; }; "" ); /////////// general nearest neighbour to arbitrary spatial point ( "Nearest neighbour query time estimated average:" .postln; ( "" ++(bench({ 100.do{ ~tree.nearest({~halffillsize.rand}.dup(~dims)); } }, false )/100) + " ...

  9. 261-oscillators_clocks Quark

    ... black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.size, o.size)); x= sin(o.phase)*o.size*0.9; y= cos(o.phase)*o.size*0.9; Pen.moveTo(p); Pen.lineTo(p+Point(x, y)); }; Pen ...

  10. Red4DTesseract Quark

    ... depth, fourth); } initRed4DTesseract {|position, width, height, depth, fourth| points= ( #[ [-1, -1, -1, 1], [1, -1, -1, 1], [1, 1, -1, 1], [-1, 1, -1, 1], [-1, -1, 1, 1], [1, -1, 1, 1], [1, 1, 1, 1], [-1, 1, 1, 1], [-1, -1, -1, -1], [1, - ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow