Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. 062-angents-fm_synth Quark

    ... ; }; objsFunc.dup(n); //create n agents for startup //--sequence Tdef(\seq, { //play the state of the agents loop{ drums.do{|d, i| //all 4 instruments var amp= world.objects[i].state[\amp].next; world.objects[i].state[\level]= amp; if(amp>0 ...

  2. Silence Quark

    /* Silence is a player that doesn't have any output at all. */ Silence : SynthlessPlayer { *ar { |...args| ^Silent.ar(*args) } ar { ^Silent.ar } } PlayerInputProxy : Silence { // audio var <>spec,<>initValue = 0; var <patchIn; var inBus; *n ...

  3. Silence Quark

    /* Silence is a player that doesn't have any output at all. */ Silence : SynthlessPlayer { *ar { |...args| ^Silent.ar(*args) } ar { ^Silent.ar } } PlayerInputProxy : Silence { // audio var <>spec, <>initValue = 0; var <patchIn; var inBus; * ...

  4. SoftClock Quark

    ... c .ar(freq, 0, 0.2); OffsetOut .ar(0, Pan2 .ar(z*e, pan)); }).memStore; ); ) // play a pattern on clock t: ( Pdef ( \a , Pbind ( \instrument , \ping , \degree , Pseq ((0..7), inf ), \dur , 0.25, \pan , -0.5, \amp , 0.5 ) ).play(t); ) // fad ...

  5. p_index_soundFile Quark

    ... o set the soundFiles to 'global' so that they don't need to load during pattern playback. The UMap should not be used for an UChain that is not an UPattern, this will cause issues with the buffers loading especially when not set to 'global' ...

  6. SETOClub Quark

    ... ~height.kr * 1000), 0.1) * 0.75} ~b.clear ~b = { Impulse .ar(~a.kr) * 0.075} ~b.play ~b.playN([0,4,[8, 20]]); ~b = { BPF .ar( Impulse .ar(~a.kr), (~height.kr * 120 + 36).midicps, 0.1) * 2 } ( ~b = { BPF .ar( Impulse .ar(~a.kr), (~height.kr ...

  7. red03 Quark

    ... edTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ) //click and drag //press cmd+period to stop

  8. OrientationController Quark

    ... Azi; var <acceleration; var <gravity; var <logging = false; var logTime; var <isPlaying = false; var replayTask; var oscListener; var action; var logger; *new { ^super.new.initOC; } initOC { acceleration = Array.newClear(3); //[x,y,z] compo ...

  9. Ferrari Quark

    Ferrari a class for playing with the Thrustmaster Ferrari GamePad Ferrari is a subclass of GamePad. It knows the cookie numbers for the Thrustmaster Ferrari game controller. It knows how the scale the ctl values into a range of 0 - 1: GameP ...

  10. Phrand Quark

    ... ).plot2; // sound example: Pbind( \note, Phrand( (..12), 11, inf ), \dur, 1/8 ).play; // proof of concept x = Phrand( (..10), 1, inf ).asStream; ( y = x.value; 100.do({ var val; val = x.value; if( y == val ) { "repetition occurred! (%)\n".p ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow