Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Pfinval Help

    ... ({ rrand(3, 5)}, Pseq ([1, 2, 3, 4, 5, 6], inf )*4+65), inf ); b = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , b.next.midicps]); 0.12.wait; }) }).play; )

  2. GUI-Overview Help

    ... rved for high priority sound related tasks. If you want to control a gui with a Routine or Task, then you must either use the AppClock to play them, or use the defer mechanism, which schedules a Function in the AppClock : ( w= Window .new.f ...

  3. Prand Help

    ... ar(freq, 0, env)) }).add; ) ( a = Prand (#[60, 61, 63, 65, 72], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.2.wait; }) }).play; )

  4. Simple Trapset by codepool (codepool) Code

    ... nSeqs@1, snSeqs@2, snSeqs@3, snSeqs@4], Prand([0,1,2,3,4], inf)).asStream; Routine({ OSCSched.global.tdeltaTillNext(4.0).wait; loop({ s.sendMsg(\s_new, \kickTrig1, -1, 1, 0, \t_trig, kSeq.ne ...

  5. CtkObj Doc

    ... s too low will result in inconsistent timing of events scheduled with Tasks and Routines (and "late" messages from the server). However, when set to 0 , events from external controllers (MIDI, GUI etc.) will be processed as soon as possible ...

  6. SimpleController Help

    ... , 38)).front, Rect (5, 5, 320, 20)); view.onClose_{controller.remove}; // run a routine to change the model's value: r{ 100.do{ model.value_(1.0.rand.postln).changed( \value ); 0.5.wait; } }.play( AppClock ) )

  7. Re: Launchpad Spiral by 0-2U (grirgz) Code

    ... rotate }; }; list; }.value.collect({ arg x; x[0]+(x[1]*16) }); r = Routine({ inf.do{ var velocity = [127, 120, 107].choose; path.do{|note, i| ~lpOut.noteOn(~lpChan, note, velocity); 0.015.wait; ~lpOut.noteOf ...

  8. ClearDragSink Quark

    ... { this.task.stop; view.background = this.color.copy.alpha_( 0.33 ); this.task = Routine({ var n; n = (this.time / 0.2).asInteger; n.do({ |i| view.background = this.color.copy.alpha_( i.linlin(0,n-1,0.33,0) ); 0.2.wait; }); }).play( AppClock ...

  9. TempoClockGui Quark

    ... // set initial display value namev.string_(name); updater.isNil.if({ updater = Routine.new({ // routine to update every beat var waitTime; { model.isRunning }.while({ this.updateCounter; if(metro.notNil and: { metro.synth.notNil }) { curre ...

  10. sound_gui_example_filters_and_fft Quark

    ... r.dataAction= {|num, data, accel| s.bind{~synth.set(\data, data[~channel])}; }; Routine.run({ inf.do{ fftArray= bus.getnSynchronous(numBins); (1/61).wait; //a tiny bit faster than framerate }; }); win= Window("fft", Rect(10, 100, width, hei ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow