Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4875) Code (274) Doc (1418) Help (390) Quark (2775) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. RedObject Quark

    ... s(theta), sin(theta).neg]; taccel= taccel+(g*force/mass/size).sum; } pendulumOffset2D { //pendulum location relative to object loc ^RedVector2D[sin(theta)*size, cos(theta)*size]; } pendulumLoc2D { //pendulum actual location ^this.pendulumOf ...

  2. ModalSpec Quark

    ... sFunc, // a function or Tuning object to convert note numbers to cps <>octaveOffset = 0; var <degToKey, <keyToDeg; // conversion dictionaries *new { arg scale, stepsPerOctave, root, tuning, cpsFunc; ^super.newCopyArgs((scale ? #[0, 2, 4, 5, ...

  3. MusicXML Quark

    ... corePart ; doc.appendChild(scorePartwise = doc.createElement("score-partwise") .setAttribute("version", "1.0")); scorePartwise.appendChild(partList = doc.createElement("part-list")); score.sort({arg a, b; (a.id == b.id).if({ ^"AAAAAH!!! you ...

  4. SCGAZER version 1.0 by kergener (kergener) Code

    ... 1, // Depth of 3rd LFO in Hz, 1 means no modulation, 0 is max ]);) (x.set( \freq, 55.midicps, //Pitch \wave, 69, //waveform selector 0 to 89 waveform \detune, 1.midiratio, //detune parameter of the second oscillator \sub, ...

  5. History Help

    ... lines p.push; ~b = { |freq=500| LFDNoise3 .ar(freq.dup(2)) * 0.2 }; ~b.play; ~b.set( \freq , 1000); ~b.end(2); History .end; // save current history to a file. History .saveCS( "~/Desktop/TestHist.scd" ); h = History .new.loadCS( "~/Desktop ...

  6. FilterCoef Quark

    ... bcoefs = Polynomial[1] }, { bcoefs = poles.neg.multiplyFactors }); //If norm is set to true, normalize the frequency response to 1.0 if(norm, { acoefs = acoefs * this.returnMaxMag.reciprocal }); acoefs = acoefs.select({ |item| item.magnitud ...

  7. CompositeView Doc

    ... 100)); d.background = Color.black; ) ⧉ ✔ Decorators A 'decorator' object can be set to handle layout management. All views added to the CompositeView will now be placed by the decorator. Currently the only one existing is FlowLayout . You c ...

  8. The Muse by mkb218 (mkb) Code

    ... r env = EnvGen.kr(Env.linen(sustainTime: dur*0.925, attackTime: 0.075*dur, releaseTime: 0.01*dur), doneAction: 2); Out.ar(b, LPF.ar(Pulse.ar(freq, width: 0.5, mul: vol*env), 11000)); }).send(s); SynthDef(\museverb, { Out.ar(0, Pan2. ...

  9. Bjorklund Toy by rinalka1227 (rinalka1227) Code

    ... _(Color.rand(0.7,0.8)) .valueAction_(0.25) .action_({ arg obj; ~jpRev.set(\damp, obj.value.linlin(0,1, 0.000,0.99)); }); label = StaticText(~subPanel[3], Rect(0,0,40,10)) .string_("Tail Time") .font_(Font("Arial",10)) ...

  10. WFSPointArray Quark

    ... } { ^[this.x, this.y] }; } scaleToRect { |toRect, fromRect, keepRatio = true, inset = 0.05| var out; toRect = (toRect ? Rect(0,0,1,1)).asRect; toRect = toRect.insetBy( inset * toRect.width, inset * toRect.height ); fromRect = ( fromRect ? t ...

prev 441 442 443 444 445 446 447 448 449 450 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow