Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    This is our first work and posting. Please give us advice. From Japan. ( SynthDef("pulse",{ arg freq,delayTime,amp = 1.0,attack = 0.01; var out,out2,env; env = EnvGen.kr(Env.perc(attack, 1, 5, 10),doneAction: 2); z = SinOsc.ar(fr ...

  2. Pevent Doc

    ... .3), rrand(0.99, 0.92)) ) }) ); Tdef(\x, { var str = Pevent(a).asStream, event; loop { event = str.next; if(event[\freq] % 50 < 20) { event[\freq] = event[\freq] * [1, 1.2, 1.5] }; event.play; event[\dur].wait; } }).play; ) ⧉ ✔ helpfile sou ...

  3. Pgauss Doc

    ... nOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pgauss(0.0, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.fork; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pgauss ...

  4. Block Quark

    ... ufnum-1]; }, { "No record buffers".postln; }); } *rec {arg recblock=1, input=1, loop=0, recLevel, preLevel, xfade=false; var blockIndex, blockFunc, blockFuncCS, blockFuncString, bufString; var setRec, recBufData, inString, recType, bufIndex ...

  5. PV_ChainUGen Doc

    ... leFiles.child); ( { var in, chain, v; in = PlayBuf.ar(1, c, BufRateScale.kr(c), loop: 1); chain = FFT(LocalBuf(1024), in); chain = chain.pvcalc(1024, { |mags, phases| //////// Try uncommenting each of these lines in turn and re-running the ...

  6. PG_Ref01_Pattern_Internals Help

    ... nt } Because of this inheritance, Prand simply expresses its behavior as a 'do' loop, choosing 'repeats' items randomly from the list and embedding them into the stream. When the loop is finished, the method returns the input value (see bel ...

  7. hashercymbal Quark

    ... te a really small chunk of sampled noise, which repeats with a frequency set by looprate. Then, this just gets sampled at a lower rate than supercollider's internal sample rate (see the decimator SynthDef for more on that), and sent through ...

  8. JSMini Doc

    ... d instance methods Examples ( Routine({ var parser = JSMini("[1 [2 2] 3 4]/4"); loop { var synth, freq; var trig, delta, dur, str, num; # trig, delta, dur, str, num = parser.step(); freq = (str.asInteger + 60).midicps; s.bind { synth = Synt ...

  9. Wavesets Quark

    ... BufRd .ar(1, w.buffer, Line .ar(startFr, endFr, dur, doneAction: 2)) }.play; ) loop buffer segments with a Phasor: ( x = { arg start = 0, end = 128, playRate = 1; BufRd .ar(1, w.buffer, Phasor .ar(0, playRate * BufRateScale .kr(w.buffer), ...

  10. 122-collision_objects_synth Doc

    ... vel,acc,mass,size }.dup(n); synths= {Synth(\fm, [\amp, 0])}.dup(n); s.sync; //--loop w.draw{ var set; Pen.width= 3; set= Set.new; world.objects.do{|o, i| o.addForce(world.gravity); world.objects.do{|oo, j| if(i!=j, { if(o.collide(oo), { set ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow