Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. p_time_quantize Quark

    ... or = 1, tempo = 60| { var logical = 0, actual = 0, qtime = 0; var ttime, round; loop { ttime = time.next; logical = logical + ttime; round = (factor.next / tempo.next) * 60; qtime = logical.round( round ) - actual; actual = actual + qtime; ...

  2. p_time_quantize Quark

    ... or = 1, tempo = 60| { var logical = 0, actual = 0, qtime = 0; var ttime, round; loop { ttime = time.next; logical = logical + ttime; round = (factor.next / tempo.next) * 60; qtime = logical.round( round ) - actual; actual = actual + qtime; ...

  3. SWMiniBee Quark

    ... end{ outTask.stop; } createOutputTask{ outTask = Tdef( \miniHiveOut, { var msg; loop{ outMessages.copy.do{ |it,i| it.postln; xbee.sendMsgNoID( it[1][0], it[1].copyToEnd( 1 ) ); outMessages.remove( it ); if ( it[0] < this.redundancy ){ outMe ...

  4. Signal Help

    ... t; Signal .sineFill(512, [1]).plot( "Signal 1" , Rect (50, 50, 150, 450)); play(loop, mul, numChannels, server) loads the signal into a buffer on the server and plays it. returns the buffer so you can free it again. loop - A Boolean whether ...

  5. Pseq Help

    ... , env)) }).add; ) ( a = Pseq (#[60, 61, 63, 65, 72], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.2.wait; }) }).play; )

  6. Routine Doc

    ... = Routine { 199.yield; 189.yield; 200.idle(6); 199.yield; 189.yield; }; fork { loop { r.value.postln; 1.wait; } } ); // the value can also be a stream or a function ( r = Routine { 199.yield; 189.yield; Routine { 100.do { |i| i.yield } }.i ...

  7. PV_MagDiv Doc

    ... , 150], 0, 0.2); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_MagDiv(chainA, chainB); Out.ar(out, 0.1 * IFFT(chain)); }).play(s, [\ ...

  8. softPut Doc

    ... ply allows setting. Examples ( e = (amp: 0.1, dur: 0.2); Tdef(\test, { var dur; loop { dur = e.dur; (amp: e.amp, dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put(\amp, 0.03); // just set it e.put(\amp, 0.1); e.softPut(\amp, 0.1 ...

  9. PlaceAll Doc

    ... may be Patterns, Streams or other Items to be embedded. repeats Number of list loops. Defaults to 1. offset List index offset. Defaults to 0. Inherited class methods Instance Methods Inherited instance methods Examples ( s = Server.local; ...

  10. example sequencing soundfiles by fredrik-olofsson (Fredrik Olofsson) Code

    ... {"hello".postln};//should post when first soundfile done playing //test2 - looping through samples one after the other ( Routine({ var index= 0; var c= Condition.new; inf.do{ var a= Synth(\sample, [\buf, b[index], \rate, 1]) ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow