Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (33) Doc (65) Help (25) Quark (88) SCDoc ↗ Forum ↗ Google ↗
  1. PeriodNode Quark

    ... =EnvGen.ar(Env.new([1,1,0], [size/BufSampleRate.ir(bufnum),0]), doneAction: 2); OffsetOut.ar(0,In.ar(100)*env); }).writeDefFile; } } *new{arg period,startpos; ^super.new.init(period,startpos); } init{arg p,s; period=p; startpos=s; } write{| ...

  2. kitchen studies Quark

    ... r( Env ([0, amp, amp, 0], [att, granDur - att - rel, rel], 0), doneAction: 2 ); OffsetOut .ar(out, Pan2 .ar(src, pan) * env); }, \ir !10).add; // posRate of 1 (given by posRateE and posRateM) means // pos movement through the buffer with or ...

  3. particle_system_with_sound Quark

    ... scFB.ar(freq+d, (d*0.01).clip(0, 1), amp); DetectSilence.ar(src, doneAction:2); OffsetOut.ar(out, Pan2.ar(src, pan)); }).add; s.sync; Synth(\main, [\in, 40, \out, 0]); ~ps= TraerParticleSystem(0, 0, 0, 0.1); mouse= TraerParticle(1); mouse.p ...

  4. KeyPlayerExample Quark

    ... maybe multichan here? sound = PanAz.ar(q.numChans, sound, (pan + [0, 1])).sum; OffsetOut.ar(out, sound ) }).add ); ( q = q ? (); // a dict for keeping things // a keyplayer with a recorder q.fmod = KeyPlayer(\fmod); q.fmod.makeLoop; // spa ...

  5. P3n1 Quark

    ... , \lin, \lin] ), doneAction:2); u = Pan2.ar(SinOsc.ar(freq, iphase, env), pan); OffsetOut.ar(out, u) }).store; ); ( Pdef(\x, Pbind( \instrument, \sine, \freq, PcollatzLike([111, 14, 23], 2, [1, 2], [0, 8]).trace * 30 + 300, \dur, 0.14 ) ).p ...

  6. ServerPatternTriggering4 Quark

    ... ction: Done.pauseSelf); //\dur.kr.poll(label:"durkr"); //dur.poll(label:"dur"); OffsetOut.ar(\out.ir(0), x * env * amp); }).add; ) ( fork { ~numSynths = 10; //Create a control Bus with ~numSynths channels ~freqBusses = Bus.control(s, ~numSy ...

  7. SimplePlayerEffect Quark

    ... rmat(subject)).throw }); }); ^SynthDef(this.defName,{ arg i_inBus=0,i_outBus=0; OffsetOut.ar(i_outBus, NumChannels.ar( In.ar(i_inBus,subjectNumChannels), this.numChannels ) ) }) } defName { ^"%%%".format(this.class.name,this.numChannels,sub ...

  8. SimplePlayerEffect Quark

    ... at(subject)).throw }); }); ^SynthDef(this.defName, { arg i_inBus=0, i_outBus=0; OffsetOut.ar(i_outBus, NumChannels.ar( In.ar(i_inBus, subjectNumChannels), this.numChannels ) ) }) } defName { ^"%%%".format(this.class.name, this.numChannels, ...

  9. ShannonMindReadingMachine-test Quark

    ... d(4000, 500), Rand(2500, 200), 1), 0.02 ) * Linen.kr(gate, 0.01, 0.7, 0.03, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; ) Event.makeDefaultSynthDef; Pdefn(\mind, Pmindread(Pseq([1, 0, 1, 1, 0], inf), Pseq([0, 1], inf))) Pdef ...

  10. gendyfyre Quark

    ... var env = Env([0] ++ levels ++ [0], samps * (timescale / s.sampleRate), curve); OffsetOut.ar(out, Pan2.ar(EnvGen.ar(env, doneAction: 2), pan, amp) ); }).add; /* (instrument: 'envGendy1').play; (instrument: 'envGendy1', numsegs: 42).play; (i ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow