Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2276) Code (50) Doc (1495) Help (294) Quark (335) Plugin (102) SCDoc ↗ Forum ↗ Google ↗
  1. TestCoreUGens Quark

    /* s.boot; UnitTest.gui TestCoreUGens.run */ TestCoreUGens : UnitTest { test_ugen_generator_equivalences { var n, v; // These pairs should generate the same shapes, so subtracting should give zero. // Of course there's some rounding error d ...

  2. MxCable Quark

    ... nput value coming from the outlet to the range needed for the inlet // or map a ugen if(mapping.notNil, { ^mapping.value(v) }, { ^outlet.spec.mapToSpec(v, inlet.spec) }) } *register { arg outAdapterClassName, inAdapterClassName, strategy; s ...

  3. WFSLib Quark

    ... Lib.previewMode = wfsOptions.previewMode; UEvent.renderNumChannels = { var num; UGen.buildSynthDef = SynthDef("temp", {}); num = WFSPreviewSynthDefs.pannerFuncs[ \n ][ WFSLib.previewMode ].value(0,0@0,0) !? { |x| x.asArray.size }; UGen.buil ...

  4. SGME_Oscillator Quark

    ... parte de SC extended) // Opción E: // Truco para evitar aliasing mezclando dos UGens dependiendo del rango de frecuencia /* sigPulse = (LFPulse.ar(scaledFreq, mul: pulseLevel, add: (-1*(pulseLevel/2)), width: 1-pulseShape) * linlin(scaledF ...

  5. ObjectInsp Quark

    ... 100); SimpleLabel(layout,cn.defaultValue,300); }; layout.startRow; ArgName("Num UGens",layout); SimpleLabel(layout,def.children.size.asString,100); SimpleButton(layout,"graph...",{ SynthDefGraph(def) },100); if(\InstrSynthDef.asClass.notNil ...

  6. Event patterns and array args Quark

    ... / stop player and synth ( p.stop; x.release; ) Ex. 2f: Alternatives with demand ugens // Besides from passing arrays, array sequencing can be // done within synths by demand ugens. // This is saving OSC bandwidth, especially with large arra ...

  7. Working with HS and HSpar Quark

    ... asily be defined by server means than in SC lang (e.g. specific and / or nested UGens) but data should also be further manipulated in the language (e.g. for some kind of combinatorial use such as harmonic or polyphonic calculations). As a s ...

  8. extServerGui Quark

    ... decorator.nextLine; // // countsViews = // #[ // "Avg CPU :", "Peak CPU :", // "UGens :", "Synths :", "Groups :", "SynthDefs :" // ].collect { arg name, i; // var label,numView, pctView; // label = gui.staticText.new(w, Rect(0,0, 80, 12)); ...

  9. Mrmr Quark

    ... he mrmr interface //note that the inputs are busses which are read using the In UGen. ( SynthDef(\mrmrTest, { | freq, mul, gate(0) | var z; mul = (In.kr(mul)-1)*(-1); freq = In.kr(freq); z = EnvGen.kr(Env.asr,In.kr(gate))*SinOsc.ar(freq*500 ...

  10. AlgaParser Quark

    ... entry parseDefEntry { | def, functionSynthDefDict | //Literal functions are non-UGen graph functins! if((def.isFunction).and(def.isLiteralFunction.not), { ^this.parseFunctionDefEntry(def, functionSynthDefDict) }, { this.parseGenericObject(d ...

prev 31 32 33 34 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow