Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. osc_multioutput_example Quark

    ... 1 ).value_( 1 ); ( Tdef( \autoaction, { loop{ m.elementAt( \motor ).value_( 1.0.rand ); 1.0.wait; m.elementAt( \led, 0 ).value_( 1.0.rand ); 1.0.wait; m.elementAt( \led, 1 ).value_( 1.0.rand ); 1.0.wait; m.elementAt( \led, 2 ).value_( 1.0.r ...

  2. HLayoutView Doc

    ... ll(q, { |i| Slider(h, Rect(0, 0, 20, 75)).value_(i / q) }); h.background_(Color.rand); w.front ) ⧉ ✔ Stretching the layout view; Slider height fills the View automatically: ( q = 8; w = Window.new; h = HLayoutView(w, Rect(0, 0, 300, 300)); ...

  3. Movie without images by 56228375 (56228375) Code

    ... no.ar(0.1,3)), mul:no.kr(3,6))); 9.do{ sig1=AllpassL.ar(sig1,0.3,{0.2.rand+0.1}!2,5) }; sig1 = sig1 / (SinOsc.ar(0.05,pi/2).range(3,10)); sig1.tanh; }); Ndef(\slowchimes, { var s, z, y; // 10 voices of a rando ...

  4. 046-pendulum5 Doc

    ... av,maxvel,damp //--objects ypos= 10; while({ypos<(height-10)}, { var size= 50.0.rand; //pendulum size var loc= RedVector2D[width.rand, ypos+size]; var vel= RedVector2D[0.5, 0].rand; var obj= RedPendulum(world, loc, vel, 0, size, size) //wor ...

  5. 046-pendulum5 Quark

    ... av,maxvel,damp //--objects ypos= 10; while({ypos<(height-10)}, { var size= 50.0.rand; //pendulum size var loc= RedVector2D[width.rand, ypos+size]; var vel= RedVector2D[0.5, 0].rand; var obj= RedPendulum(world, loc, vel, 0, size, size) //wor ...

  6. many_pulse_1_bench Quark

    SynthDef( \many_pulse_1, { var freqs = 300.collect{|n| n + 1.0.rand } * 20; var oscs = freqs.collect{|f| Pulse.ar(freq: f, width: 1.0.rand) }; Out.ar(0, oscs.mean) })

  7. StaticText Doc

    ... 0, 300, 150)).front; a = StaticText(w, Rect(45, 10, 200, 20)).background_(Color.rand); a.string = " Current Frequency "; Button.new(w, Rect(45, 70, 200, 20)).states_([["close", Color.black, Color.rand]]).action_({ w.close }); s.waitForBoot( ...

  8. Array2D Doc

    ... ve . rows . with ( aarray ) Examples // "a" is an array-of-arrays a = { { 100.0.rand }.dup(100) }.dup(100); // "b" is an equivalent Array2D, made using the "fromArray" class method b = Array2D.fromArray(100, 100, a.flat); // Accessing a[15] ...

  9. Kind of music box by rukano (rukano) Code

    ... = Mix(Ringz.ar(decay, freq*[1,2], sustain)); snd = snd + Mix(SinOsc.ar(freq*[Rand(1,1.1),Rand(1.4, 1.6), Rand(1.9,2.1), Rand(3.9, 4.1)], mul:Decay2.ar(trig, 0.01,hdur))); snd = BLowPass.ar(snd, ffreq * decay.linexp(0,1,1,famt), 0.1) ...

  10. 13 Doc

    ... // 最初はCombフィルターで次がAllpassフィルター(パラメータは同じ)。両者を比較せよ。 ( { CombN.ar( SinOsc.ar(500.rrand(1000), 0, 0.2) * Line.kr(1, 0, 0.1), 0.3, 0.25, 6 ) }.scope; ) // 前の例とそんなに大きな違いは無い ( { AllpassN.ar( SinOsc.ar(500.rrand(1000), 0, 0.2) * Line.kr(1, 0, 0.1) ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow