Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. Scgraph sound and vision by codepool (codepool) Code

    ... | var src = SinOsc.ar(220 * SinOsc.kr(freq, 0, amp, offset), 0, 0.5); Out.ar(0, [src, src]); }).send(s); ~start = { |freq = 0.4, amp = 1, offset = 3| ~graphics = Synth.new(\cube, [\freq, freq, \amp, amp, \offset, offset ...

  2. 2_elements_and_actions_hid Quark

    ... , \l, \x).resetAction; // example with sound: s.boot; ( SynthDef(\blippy, { var out = Blip.ar(\freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; Out.ar(0, Pan2.ar(out, \pan.kr(0).lag(0.1) ) ) }).add ); //start it ...

  3. startup21-clientfft Quark

    ... // a.size <= b.size or the method will fail ~nearInListExclusive = { |a, b| var out, index; (a.size <= b.size).if({ out = Array.new(a.size); b = b.copy; // array will be changed a.do({ |item| (index = b.indexIn(item)).notNil.if({ out.add(b[ ...

  4. Midterm Question 2 by mason-mccormack (Mason McCormack) Code

    ( SynthDef("sawSynth", {arg freq, amp; Out.ar(0, Splay.ar(LPF.ar(in: Saw.ar(freq * [0.99, 1.0, 1.001, 1.008], mul:Env.perc(attackTime:0.1, releaseTime:2, level:amp).kr(2)),freq: 2000))) }).add; ) ( Pbind( \instrument, "sawS ...

  5. IRand Help

    ... teger value in uniform distribution from lo to hi ( SynthDef ( "help-IRand" , { Out .ar( I Rand (0, 1), //play on random channel between 0 and 1 FSinOsc .ar(500, 0, Line .kr(0.2, 0, 0.1, doneAction:2)) ) }).send(s); ) ( Routine({ 16.do({ Sy ...

  6. pluck Quark

    ... ytime: freq.reciprocal, decaytime: decay, coef: coef); snd = Pan2.ar(snd, pan); Out.ar(0, [snd, snd]); }).add;

  7. Cyton Quark

    ... p(0, 7), bias.clip(0, 1), srb2.clip(0, 1), srb1.clip(0, 1) ) ); }, { "channel % out of range".format(channel).warn; }); } setDefaultChannelSettings { //set all channels to default this.prCommand($d); } getDefaultChannelSettings { //get a re ...

  8. VirtualRoom Doc

    ... bin hfDamping roomProperties refGain play init gui addSource removeSource stop out roomSize fullSourceFunc addSourceLight encoded end sources lightSourceFunc revIn listener revGain prAddSource Inherited instance methods Examples Classes (e ...

  9. AudacityLabels Quark

    ... asString.size) }; ^max } *initClass { StartUp.add({ SynthDef(\labelPlayer_1, { |out = 0, rate = 1, t0, t1, buffer, pan, amp = 0.1| var sustain; var ton, env, channels; sustain = abs((t1 - t0) / rate); // Gesamtdauer env = EnvGen.kr( Env.lin ...

  10. startup21-clientfft Quark

    ... // a.size <= b.size or the method will fail ~nearInListExclusive = { |a, b| var out, index; (a.size <= b.size).if({ out = Array.new(a.size); b = b.copy; // array will be changed a.do({ |item| (index = b.indexIn(item)).notNil.if({ out.add(b[ ...

prev 191 192 193 194 195 196 197 198 199 200 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow