Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1763) Code (152) Doc (640) Help (197) Quark (771) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Pslide1 Quark

    ... de, except that the step and len arguments need not be constants. If you supply patterns or streams for these arguments, they will be evaluated once per segment so that step and len can be variable. p = Pslide ((1..10), inf , 3, 1, 0).asStr ...

  2. 08_DurInterpolation Quark

    ( Alga.boot({ //Pattern to modify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.1 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chans:2); }) ) //Using ...

  3. Peuclid Quark

    Peuclid : Pattern { var <>numHits, <>numBeats, <>repeats; *new { |numHits = 7, numBeats = 12, repeats = 1| ^super.newCopyArgs(numHits, numBeats, repeats) } embedInStream { |inval| var currval = 0, lastval = -1; var repStream = repeats.asStr ...

  4. endless Quark

    + Pattern { endless { arg default; ^if(default.isNil) { Prout { arg inval; var outval, stream, previous; stream = this.asStream; loop { outval = stream.next(inval); if(outval.notNil) { previous = outval } {Êoutval = previous }; inval = outv ...

  5. auto-load-samples Quark

    ... irt.set(\notFound, { autoLoad.(~s) }); ) // try it out: while playing any tidal pattern, now remove all samples: ~dirt.freeSoundFiles // they should automatically come back.

  6. Pbernoulli2 Quark

    ... ).asStream; b = a.nextN(200); b.plot; b.histo(100,0,1.0).plot; */ Pbernoulli2 : Pattern { var <>n, <>weight, <>length; *new { arg n=3, weight=0.5, length=inf; ^super.newCopyArgs(n, weight, length) } storeArgs { ^[n, weight,length] } embedIn ...

  7. TestPattern3 Quark

    ... \testBus, { \in.ar(0).poll(label:"testBus") * DC.ar(0); }).add; s.sync; a = AlgaPattern(( def: \test, dur: 1, freq: 440 )).play; /* a = AlgaPattern(( def: \testImpulse, dur: 1, amp: 1 )).play; */ b = AN({ SinOsc.ar([100, 200]) }); c = AN({ ...

  8. CV Quark

    ... on. A CV's value can be read with the 'value' message. CV can also be used as a Pattern (in Pbind) or in combination with other Streams. */ CV : Stream { classvar <>viewDictionary; var <value, <spec; *initClass { StartUp.add ({ CV.buildView ...

  9. ReaperControl Quark

    ... ----------------------------// // Add custom event types to control Reaper with patterns *addEventTypes{ /* // \reaperTrack // Example: ( r = ReaperControl.start(9292); Pdef(\r, Pbind( \type, \reaperTrack, \reaperControl, r, \reaperTrack, 1 ...

  10. p_line Quark

    /* \p_line Creates an pattern UMap making a line steps between two values over time. New values are generated each time the chain is started, or in a UPattern for each of the generated events. a: the start value b: the end value curve: a cu ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow