Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (496) Code (67) Doc (105) Help (40) Quark (281) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. SplineOsc Quark

    SplineGen { var <>spline,<>dimension,<>loop; *new { arg spline,dimension=0,loop=false; ^super.newCopyArgs(spline,dimension,loop) } storeArgs { ^[spline,dimension,loop] } duration { // or total loop time ^spline.points.last[dimension] } asLo ...

  2. WFSRectView Quark

    ... ints; Pen.color = Color.blue(0.5,0.25); Pen.moveTo( points.first ); points[..3].reverse.do({ |item| Pen.lineTo( item ); }); Pen.fill; Pen.color = Color.blue(0.5,0.75); points.do({ |item| Pen.moveTo( item ); Pen.addArc( item, 3 * scale, 0, 2 ...

  3. Sieves and Psieve patterns Quark

    ... i , \p , 1) // if Integers are regarded as points, they must be ascending ... a.reverse.toSieve // ... but intervals can be descending ... a.reverse.toSieve( \i ) // ... however they must be positive (a.reverse ++ -1).toSieve( \i ) // It's ...

  4. TestHoaMatrixXformer Quark

    ... h is an intrinsic convention of Tait-Bryan rotations) // needs to be applied in reverse order: roll (tilt), pitch (tumble), yaw (rotate) rotatedDirs = initialDirs.collect({ |sph| sph.tilt(roll).tumble(pitch).rotate(yaw) }); initializedPlane ...

  5. flatCAT2NTMI_basic Quark

    ... 2 - 1; }; // remove supply voltage status values? ~bipolars = ~bipolars.drop(3).reverse; // crude, but works as first pass: // absolute-set 12 (or 15) first influx inputs from flatcat NTMI.inphlux.set(*~bipolars.collect { |num, i| [ NTMI.in ...

  6. Fb1 Quark

    ... . // The example also establishes a cross-feedback of the two channels by using reverse. s.scope // start fb fx Synth ( ~bus = Bus .audio(s, 2); y = { var inSig = In .ar( ~bus , 2); var lfo = LFDNoise3 .ar(1).linexp(-1, 1, 0.2, 10); LPF .ar ...

  7. ModalSpec Quark

    ... = IdentityDictionary.new; keyToDeg.keysValuesDo({ |k, v| degToKey.put(v, k); // reverse lookup }); // cpsFunc_ provides a default this.cpsFunc = cpsFunc; } // note: using object.mapMode(mode) directly is slightly faster map { arg key; ^key. ...

  8. WavesetsEvent Quark

    ... wavesets.maximumAmp(~start, ~num) }; } finalizeEvent { var averagePlaybackRate, reverse; currentEnvironment.useWithoutParents { if(~numFrames <= 0) { ~type = \rest; ~dur = restDur; } { ~rate = ~rate ? 1.0; if(~rate2.notNil) { averagePlaybac ...

  9. ModalSpec Quark

    ... 35, 37, 39 ] -- 37 - 35 = 2, indicating a third - this is a triad unmap(degree) Reverses the mapping: takes a modal degree as input and outputs the corresponding note index (ready to be converted to Hz for play). The same object types are a ...

  10. ModalSpec Quark

    ... 35, 37, 39 ] -- 37 - 35 = 2, indicating a third - this is a triad unmap(degree) Reverses the mapping: takes a modal degree as input and outputs the corresponding note index (ready to be converted to Hz for play). The same object types are a ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow