Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Control(num) to read the value. If you want to track the value over time, use a routine to poll repeatedly. { var freq; freq = LFNoise1 .kr(2, 600, 800); SharedOut .kr(0, freq); // no need for Impulse here SinOsc .ar(freq, 0, 0.3) ! 2 }.pla ...

  2. DiskIn Help

    ... b = Buffer .cueSoundFile(s, p, 0, 1); f = { DiskIn .ar(1, b) }; x = f.play; r = Routine ({ loop({ d.wait; x.free; x = f.play; b.close( b.cueSoundFileMsg(p, 0)) }); }).play; ) r.stop; x.free; b.close; b.free; // you need to do all these to p ...

  3. EntityManager Doc

    ... the class is working. The update method is expected to be called inside a loop/routine with a wait time of the current dt. An example of usage can be found in the GameLoop class. . newIndex Swap the index for a new one. . clearEntities Cle ...

  4. RedSmoothUD Doc

    ... true; CmdPeriod.doOnce({win.close}); win.front; fifo= List.fill(100, flt.val); Routine({ inf.do{|i| fifo.pop; fifo.addFirst(flt.filter(slider.value)); plot.value= fifo; (1/50).wait; }; }).play(AppClock); ) ⧉ ✔ helpfile source: /tmp/scquark ...

  5. Pstutter Doc

    ... of pitches ( c = Pstutter(3, Pxrand([1, 2, 3], inf) * 4 + 65); x = c.asStream; Routine { loop { Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.12.wait; } }.play; ) // Voss algorithm for pink noise // note that pattern.stutter(n) is a s ...

  6. gui_example_userview_fft Quark

    ... sFilter.notNil, { channelData= bandpassFilter.filterN(channelData.last); }); }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); if(channelData.size>=fft.fftSize, { win.refresh; }); (nextTime-Main.elaps ...

  7. 3_Runtime_errors Help

    ... on> var i = 3 < FunctionDef in closed FunctionDef > (no arguments or variables) Routine-prStart arg this = <instance of Routine> arg inval = 758.000000 //////////////////////////////////////////////////////////////////////////////////////// ...

  8. BBCPPermute Doc

    ... ; ) ( //granular mess var sf, pitch, when, now, duty; var bbcs, bbcp, bbcutter; Routine.run({ SynthDef(\fx, {ReplaceOut.ar(0,Limiter.ar(0.1*CombN.ar(In.ar(0, 2),0.3,SinOsc.kr(0.05, 0, 0.125, 0.15), SinOsc.kr(0.023, 0, 0.5, 0.6)))) }).send(s ...

  9. devEnvironment Quark

    ... gui is time sensitive // thus the remainder of the gui building is wrapped in a routine that is run on AppClock Routine({ var count = 0; (~voicerRows * ~voicerColumns).do({ |i| VoicerProxy.new => VP.prNew(i); // first proxy has 4 controls, ...

  10. Mountains by simon (Dindoléon) Code

    ... ] ); snd = snd * amp * release; Out.ar( out, snd ) } ).play; var routine = Routine.new( { loop { Synth(\synth, [ \env, Env( parameters[0], Array.fill( rythm_length -1, { 1 / rythm_length } )), \env2, Env( paramet ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow