Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (326) Code (47) Doc (121) Help (42) Quark (108) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. MxMixerGui Quark

    ... Meters.asClass.notNil, { // else it doesnt have busses yet // could allocate on demand // or start them later, whenever model starts // maybe make them into units instead // and go directly to art / visualization meters = BusMeters(model.se ...

  2. Event patterns and Functions Quark

    ... attached ( q = p.asStream; ~a = 1; q.next; ) -> 1 // next value of (Func)Stream demanded in new Environment will be taken from old defining context ( ~a = 2; e = Environment [ \a -> 5]; e.use { q.next }; ) -> 2 // vice versa Stream defined ...

  3. Fb1_HopfAFDC Quark

    ... ight channel // move mouse to right to turn source on again ( x = { var ratio = Demand .ar( Impulse .ar(3), 0, Dseq ([0, 2, 4, 5, 7, 9, 11, 12], inf ) ).midiratio; var hold = ( MouseX .kr(0, 1) > 0.1).poll; var src = SinOsc .ar(ratio * 200) ...

  4. 4_Buttons Quark

    ... def( \testSynth, { |amp=1,on=1| var trig = Impulse.kr( \rate.kr(1) ); var seq = Demand.kr( trig, 0, Dseq( \dseq.kr( [0,0,0] ), inf ) ); SinOsc.ar( seq.exprange( 100, 1000 ), mul: on * amp * EnvGen.kr( Env.perc, trig, timeScale: \dur.kr(0.5) ...

  5. InstrSynthDef Quark

    ... unction was a scalar rate object:" + result + this.buildErrorString).error; }, \demand, { // you can't patch these between synths ("InstrSynthDef: result of your Instr function was a demand rate object:" + result + this.buildErrorString).er ...

  6. InstrSynthDef Quark

    ... unction was a scalar rate object:" + result + this.buildErrorString).error; }, \demand, { // you can't patch these between synths ("InstrSynthDef: result of your Instr function was a demand rate object:" + result + this.buildErrorString).er ...

  7. scaleStream Quark

    ... own as Chord Progressions */ var scales, pentatonics; // setting \scale Spec on demand /*var checkSpec; checkSpec = Spec.specs.at(\scale); if(checkSpec.isNil, { Spec.specs.put(\scale , ArraySpec.new(StaticSpec(-100, 100, \linear))); }, { if ...

  8. AdCVerb Quark

    ... s. There is no specific design of first reflections; if there are no particular demands on the early reflections, those created by AdCVerb are often fully sufficient. One can easily add first reflections, e.g. based on room geometry, by add ...

  9. Fb1_HopfA Quark

    ... ps frequency // move mouse to right to turn source on again ( x = { var ratio = Demand .ar( Impulse .ar(3), 0, Dseq ([0, 2, 4, 5, 7, 9, 11, 12], inf ) ).midiratio; var hold = ( MouseX .kr(0, 1) > 0.1).poll; var src = SinOsc .ar(ratio * 200) ...

  10. MxChannel Quark

    ... nil; } bus { ^source.bus } groupForIndex { arg index, bundle; // make group on demand var g; ^unitGroups.at(index) ?? { g = Group.basicNew(this.server); this.annotate(g, "unit"+index); bundle.add( this.addUnitGroupMsg(index, g) ); if(unitG ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow