Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Phid Help

    ... le // while this is running, test your device ( a = Phid (0,0); x = a.asStream; Routine ({ loop({ x.next.postln; 0.2.wait; }) }).play; ) // using devicespecs: // for example wingman. for other specs see [HIDDeviceService] ( HIDDeviceService ...

  2. Trig1 Help

    ... Env([0,0.1,0.1,0],[0.01,1.0,0.01],[-4,4],2), gate, doneAction: 2) ) }).send(s); Routine ({ 1.0.wait; 100.do({ s.sendBundle(0.05,["s_new", "trig1" ,-1,0,0,0,rrand(0.02,0.25)]); 0.25.wait }) }).play( SystemClock ) ) This should sound like a c ...

  3. Linen Help

    ... 0.6, 1.0, doneAction: 2) * SinOsc .ar(440, 0, 0.1) }.play; ) // used below in a Routine varying the releaseTime ( SynthDef ( \help_Linen , { arg out=0, freq=440, attackTime=0.01, susLevel=0.6, releaseTime=0.1; Out .ar(out, Linen .kr( Impuls ...

  4. PatternProxy Help

    ... EventPatternProxy instead of a pattern, a function can be passed in, creating a routine. *default a default source, if none is given. the default is 1.0 (it is not 0.0 in order to make it safe for durations) source_(obj) set the source. If ...

  5. Array Help

    ... r; z.postln; z.source.postln; ) fork(join, clock, quant, stackSize) Used within Routine s and assumes an array of functions, from which subroutines are created. The subroutines are played while the outer Routine carries on. The join paramet ...

  6. Ppatlace Help

    ... [0, 0, 0, 0, 8, 0, 8], inf ), Pseries (1, 1, 32) ], inf ) + 67; x = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , x.next.midicps, \dur , 0.2]); 0.17.wait; }) }).play; ) // a more complicated example: ( c = Ppatlace ([ Px ...

  7. IRand Help

    ... nd 1 FSinOsc .ar(500, 0, Line .kr(0.2, 0, 0.1, doneAction:2)) ) }).send(s); ) ( Routine({ 16.do({ Synth .new( "help-IRand" ); 0.5.wait; }) }).play; )

  8. Scheduling Events Help

    ... s that it makes sense to schedule objects that will take some action . Function Routine Task Routines and Tasks will be covered in the next section, and Functions we have already seen. There are some others, but these are the best starting ...

  9. Pattern Help

    ... a Pattern will help illustrate the usefulness of Patterns. example 1 - Pseq vs. Routine The Pattern class Pseq(array, repetitions) defines a Pattern that will create a Stream that iterates an array. The class Routine(func, stackSize) define ...

  10. ExpRand Help

    ... (100.0, 8000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) ( Routine ({ inf .do({ arg i; Synth .new( \help_ExpRand ); 0.05.wait; }) }).play; )

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow