Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (556) Code (37) Doc (146) Help (56) Quark (314) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. MoltenMaster Quark

    ... piece that is currently playing. If isPlaying is false, this is -1. Doing Some Task playPiece (argIndex) Initializes and plays the piece with the given index. If there is a piece already on playback, it is stopped and its resources are dea ...

  2. SchrittWechsel Quark

    ... aPersons| server = aServer; blox = aBlox; persons = aPersons; activityWatcher = Task{loop{ activityDt.wait; blox.do{|block| (block.persons.size == 1).if({ block.perform([\getActive, \getInactive].wchoose([0.95, 0.05]), 1); rrand(activityDt. ...

  3. 16_Playbuf Doc

    ... rial Breaking synthesis processes into parts that accomplish small well-defined tasks encourages modular design and component reuse (the oop mantra). ( // read a soundfile from disk b = Buffer.read(s, ExampleFiles.child); // a samplePlayer ...

  4. Granular display by tommaisey (tommaisey) Code

    ... ~pan = { rrand(-0.8, 0.8) }; ~wait = { 0.1 }; // time between grains ~playTask = Task({ loop { var pos, pitch, amp, dur, env; Synth(\grain, [ \bufNum, buffer, \pos, pos = ~pos.value, \pitch, pitch = ~pitch.value, ...

  5. NearestN Doc

    ... * 2 + 60).midicps, 0, fdistsq.explin(1e-6, 1, 0.5, 0)).sum); }.play; ~updater = Task{loop{ ~foundbus.getn(3, {|data| ~nearests = data.asInteger}); ~mousebus.getn(2, {|data| ~mousepos = data}); s.sync; defer{w.refresh}; 0.1.wait; }}.play ) } ...

  6. bleepoORIG Quark

    ... Layout; // Stethoscope(s, 2, ~bleepo.index, zoom: 10, view: sc); // }; // }; // Task { // 0.5.wait; // s.sync; // // 0.5.wait; // q.makeBleepoGui; // // 0.5.wait; // // q.bliPreset.loadSettings; // p[\bleepo].setRates(\dens, 0.0,\rateA, 0.2 ...

  7. HOA-Spherical Doc

    ... freely moving between the spherical and angular domains. In particular, certain tasks are more readily performed in one domain over another. For instance, if we'd like to process various elements of a soundfield separately, we need a way to ...

  8. 4_Buttons Quark

    ... ary.new ); ~multiclick.put( \maxClickDelta, 0.4 ); ( ~multiclick.put( \timeOut, Task( { var clickcount, action; ~multiclick[\maxClickDelta].wait; "timeout".postln; // value of multiclick clickcount = ~multiclick[\clicks]; // put an action b ...

  9. 00_loadMe Quark

    ... running, dont set its options NTMI.usesMainFX = false; // dont load MainFX */ ( Task { 0.1.wait; /// wait for SC Welcome post ... "\n*** loadMe file for NTMI_AI_sc_setup loading...".postln; LoadMe.start; //// Set generally useful global def ...

  10. README Quark

    ... ddr.sendMsg('/_'++i++'/x', 1.0.rand)}; // Draw a phase shifting sine p = 0; t = Task({ loop { p = p + 0.1; ((0..40) collect: { |i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', sin(i / 40 * 1 * pi + (p)) * 0.5 + 0.5) }); 0.05.wait; } ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow