Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... blocked threads unhang resume threads // example ( c = Condition .new( false ); Routine { 1.wait; "waited for 1 second" .postln; 1.wait; "waited for another second, now waiting for you ... " .postln; c.wait; "the condition has stopped waiti ...

  2. AppClock Help

    ... clear the AppClock's scheduler to stop it AppClock .clear *play(task) The task/Routine yields a float value indicating the delta (secs) for the AppClock to wait until resuming the Routine. ( var w, r; w = Window .new( "trem" , Rect (512, 2 ...

  3. TaskProxy Help

    ... rce) create a new instance with a function (the source). the source should be a routine function (see Tdef ) or a pattern of time values. *default a default source, if none is given. the default is a loop that does nothing with a 1.0 beat w ...

  4. Processes Doc

    ... OSC communications between 3D engine and SATIE server. Processes are arbitrary routines and could be associated with particle systems, granular-type sound events, patterns, sequences, but are not limited to generating sound (or other event ...

  5. Graphical Tracker Functions Example by simon (Dindoléon) Code

    ... d somewhere. t = TempoClock.new(); // Let's define a TempoClock to drive the routines. t.tempo = 4; synth = SynthDef( \test_synth, { | freq = 220 | // A really simple synth for example purposes var env = Env.perc( 0.05, 1, 1 ); ...

  6. ChordCheck Quark

    ... } *check {arg num, func; if(classlock) { classchord = classchord.add(num); } { Routine({ classlock = true; classchord = [num]; waittime.yield; func.value(classchord.sort.removeDups); classlock = false; }).play; }; } init {} check {arg num, ...

  7. FreqShift Help

    ... ise0 .kr(5.5,1000),0,[32,32])}.play(s); More Examples (send a SynthDef, run the routine then send a different SynthDef) ( // simple detune & pitchmod via FreqShift SynthDef ( "frqShift1" ,{ arg frq,detune=1.5; var e1,left,right; e1 = EnvGen ...

  8. EventStreamPlayer Doc

    ... entStreamPlayer canPause cleanup event mute muteCount next removedFromScheduler routine unmute xplay xstop Classes | Streams-Patterns-Events EventStreamPlayer : PauseStream : Stream : AbstractFunction : Object two streams combined by a bina ...

  9. GenomePattern Quark

    ... 1, offset=0; ^super.new(genome).repeats_(repeats).offset_(offset) } asStream { ^Routine.new({ arg inval; var item, offsetValue; offsetValue = offset.value; repeats.value.do({ arg j; this.size.do({ arg i; item = genome @@ (i + offsetValue); ...

  10. UnaryOpStream Help

    ... e next value from the stream. It responds to reset by resetting the Stream. x = Routine { 6.do { arg i; i.yield; } }.squared; x.dump ( x = Routine { 6.do { arg i; i.yield; } }.squared; x.next.postln; x.next.postln; x.next.postln; x.next.pos ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow