Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. PeriodicUpdater Quark

    ... freq=0.1, delegate, clock| var new = super.newCopyArgs(object, method, clock ?? AppClock).freq_(freq).name_(method); new.delegate = delegate ?? new; ^new } freq_{ |inFreq| freq = inFreq; process.stop(); process = SkipJack({ this.pull() }, d ...

  2. Butz Quark

    ... // flipped, so this restores orig top Butz.w.bounds.bottom_(origBottom) ) ) }, AppClock); } *blankState { ^[ " . . . ", style.fontCol, style.butCol ] } *setButton { |index| var but, name, actions, action; actions = curr.actions; but = butz ...

  3. Pen Doc

    ... 40)); Pen.stroke; }; }; }; { while { run } { w.refresh; 1.0.rand.wait } }.fork(AppClock) ) ⧉ ✔ ( var w, run = true; w = Window("my name is... panel", Rect(128, 64, 800, 500)); w.view.background = Color.white; w.onClose = { run = false }; w ...

  4. sKeyDpad Quark

    ... top; if(port.notNil, { port.close; }); oscResponders.do{|x| x.free}; }; }).play(AppClock); //--button functions blackButtons.do{|but, i| but.action= {|view| if(view.value==1, { sendOsc.value([ [\sOBS, \scene, i+1], ]); {view.value= 0}.defer ...

  5. XiiTrigRecorder Quark

    ... arg time, responder, msg; if(msg[2]==666, { {sensibang.setState_(true)}.defer; AppClock.sched(0.25, { win.isClosed.not.if({ sensibang.setState_(false)}); }); if(recbuttOn==true, { // if we are recording if( endRecTimer == 0, { {recbang.set ...

  6. SCPen Help

    ... 0)); Pen .stroke; }; }; }; { while { run } { w.refresh; 1.0.rand.wait } }.fork( AppClock ) ) ( var w, run = true ; w = Window ( "my name is... panel" , Rect (128, 64, 800, 500)); w.view.background = Color .white; w.onClose = { run = false ; ...

  7. Canvas3D Quark

    ... } { func.value(frame); this.refresh; (1/rate).wait; frame = frame + 1; } }.play(AppClock); } { animator = nil; } } //matrix stuff by redFrik 050703 *mIdentity { ^[ #[1, 0, 0, 0], #[0, 1, 0, 0], #[0, 0, 1, 0], #[0, 0, 0, 1]]; } *mTranslate { ...

  8. Log Doc

    ... ingColor_(Color.black); 0.2.wait; ~error.stringColor_(Color.red); 0.2.wait; }}, AppClock); ) Log(\myproject).error("Something's wrong!"); Log(\myproject).error("A big error has occurred!"); Log(\myproject).error("This is really a mess!"); ⧉ ...

  9. graphParser Quark

    ... nds-startTime).asTimeString) ; 1.wait }) // a clock refreshing once a second }, AppClock).start ;//.play(AppClock) ; tempoView = GUI.staticText.new (w, Rect( (bound*3)+(inWidth)-70, bound+30+bound, 70, 20 ) ); tempoSlider = GUI.slider.new(w ...

  10. SCLOrkSamples Quark

    ... ove node from currentSynth button.value = 0; currentSynth = nil; }).play(clock: AppClock); // end of routine code }, { [key, "either buffer or numChannels was nil"].postln; }); }, { // if user turns off a button directly, // stop currently ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow