Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (513) Code (102) Doc (171) Help (75) Quark (148) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. CtkPMod Quark

    ... nstance of CtkPMod".warn; }) }) } /* NOT SURE _ THIS MIGHT MESS UP TIMINGS WITH PLAYBUFS >>> TEST!!! */ initPlay { var theEnv; condition.isKindOf(Env).if({ theEnv = condition; }, { theEnv = Env([1, 1, 1], [0.1, 0.1], \lin, 1); }); initFunc. ...

  2. Non-Realtime-Synthesis Doc

    ... = 0, amp = 0.1| var eg = EnvGen.kr(Env.perc(0.01, time), doneAction: 2), sig = PlayBuf.ar(1, bufnum, rate, startPos: start); Out.ar(out, (sig * (eg * amp)).dup); }), // the pattern needs a placeholder for the buffer buf = Buffer.new(server ...

  3. PG_08_Event_Types_and_Parameters Doc

    ... // create a buffer b = (type: \allocRead, path: ExampleFiles.child).play; a = { PlayBuf.ar(1, b, doneAction: Done.freeSelf) }.play; // remove buffer EventTypesWithCleanup.cleanup(b); ⧉ ✔ See the Pproto example in Pattern Guide 06f: Server C ...

  4. XiiQuarks Quark

    ... a mono sound) ( x = SynthDef("help-Buffer",{ arg out = 0, bufnum; Out.ar( out, PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum)) ) }).play(s,[ \bufnum, a[0].bufnum ]); ) Also, in code you can do this: a = XiiDelay.new(s, 2).setInBus_(2).start ...

  5. Server Help

    ... ; s.sync; // wait until load is done and then send the rest of the bundle x = { PlayBuf .ar(1, b) * 0.5 }.play; }); ) x.free; b.free; bind(func) - Just as in makeBundle , the Function func is evaluated, and all OSC messages generated by it ...

  6. sctweets by redFrik by fredrik-olofsson (Fredrik Olofsson) Code

    ... **9;a=LocalBuf(l,2).clear;BufWr.ar(Saw.ar(c/5),a,BPF.ar(VarSaw.ar(c),98,0.1)*l);PlayBuf.ar(2,a,1/4,1,0,1)}//#SuperCollider //--tweet0043 fork{1e4.do{|i|text(d=Document.current).size.do{|j|d.font_(Font("Arial",sin(i+j/16)*18+22),j,1)};wa ...

  7. Player Quark

    ... defname, options; options = ServerOptions.new. ... // build the SynthDef with a PlayBuf synthdefname = this.renderdef; score = Score.new([ [0.0, [\b_allocRead...]] [starttime, [\s_new, renderdef.name, -1, 0 , 0 ... ]] [calcendtime [0]] ]); ...

  8. Function Doc

    ... : 0.1) b.plot; // after 3 seconds, you can see it. // play the soundfile back { PlayBuf.ar(b.numChannels, b, LFNoise2.kr(2 ! 8).exprange(0.15, 1), loop: 1).sum }.play; ⧉ ✔ . loadToFloatArray ( duration: 0.01 , target , action ) Write a UGen ...

  9. ClassTree Doc

    ... f speakers PanX2D - (Undocumented class) Pitch - Autocorrelation pitch follower PlayBuf - Sample playback oscillator. PureMultiOutUGen - (Undocumented class) DC - Create a constant amplitude signal Qitch - constant Q transform pitch followe ...

  10. sStream Quark

    ... 3, 3); var pos= \pos.kr(0)%1*BufFrames.ir(buf); var loop= \loop.kr(1); var snd= PlayBuf.ar(1, buf, rate*BufRateScale.ir(buf), 1, pos, loop)*amp; Out.ar(out, Pan2.ar(snd*env, pan)); }).add; SynthDef(\sStream_File_2, {|out= 0, freq= 99, amp= ...

prev 51 52 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow