Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. GrainOTec by simon (Dindoléon) Code

    ... ) * envgen * \amp.kr(1), \pan.ar(0) ); Out.ar( 0, snd ); }).add; rout = Routine { loop { freq.do( { |f| Synth(\grain, [\freq, f, \amp, volume/freq.size, \env, env, \pan, pan.asFloat.rand] ) }); lifetime.yield; }; }.play() ...

  2. XiiStratoSampler Quark

    ... ndex_(0); bufPlot.redraw; }.defer(0.5); // either defer or put the thing into a Routine }); }); }); bufNameView = GUI.textView.new(win, Rect(10, 122, 63, 14)) .font_(GUI.font.new("Helvetica", 9)) .string_("strato"++(this.findMySlot+1)++"_0" ...

  3. preprocessor-generators Quark

    ... nil' bp = BP(~bpKey); }; ~asPattern.(bp).embedInStream(inval); }; ~asStream = { Routine { |inval| ~embedInStream.(inval) } }; ~canEmbed = true; // do not override! ~yieldsKeys = { if(~isMain) { [~parm, \dur] } { ~parm }; // if(~isPitch.()) ...

  4. SGME_EventRecorder Quark

    ... ings" +/+ "Events"; }{ pathEvents = SGME_Path.rootPath +/+ "Events" }; player = Routine { events.do { |event, i| var time, string, value; #time, string, value = event; // Wait for the adjusted time for subsequent events time.clip(0, if (max ...

  5. PitchCircle Quark

    ... he PitchCircle window. p.close; // Examples ( var newSet; p = PitchCircle .new; Routine { p.labelAlign_( \left ); 24.do({ |i| if(i.even, { { newSet = p.complement.scramble.keep(rrand(4, 6)).sort; p.hlDots_(newSet.sect([11, 0, 1]).choose); p ...

  6. API Doc

    ... he current thread if needed till the result is returned. You should be inside a Routine, { }.defer {}.fork or similiar result = API.sync("apiname.method", [arg1, arg2, ...]); ⧉ ✔ Arguments: path "apiname.method" args array of arguments onEr ...

  7. CloudGenMiniBuf streamlined by till-bovermann (LFSaw) Code

    ... t; ( q = Tdef(\cloud0).set.envir; // use Tdef's own envir for everything Routine.run{ q.soundPath = (Platform.resourceDir +/+ "sounds/a11wlk01.wav"); s.sync; q.buffer = Buffer.readChannel(s, q.soundPath, channels: [0]); s. ...

  8. NB Quark

    ... e so a race condition doesn't upset image display after image rendering pause = Routine({ 1.do({ arg i; displayLatency.wait; ("open " ++ path ++ "/" ++ name ++ fileType).unixCmd; }); }); pause.play(AppClock); // reset the instance variable ...

  9. openbci_gui_focuswidget Quark

    ... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(channels[0].data.size>=fft.fftSize, { usr.refresh; }); (nextTime-Main ...

  10. Mx Doc

    ... may wish to exclude those and just iterate over the units on the grid. Returns: Routine . clearPending very private clears any state changes requested through .add and .remove . children all channels including the master channel Returns: ar ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow