Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nds; 1.yield; win.endFullScreen; 0.3.yield; win.close; newBounds.postln; }.fork(AppClock); } *win2Left {arg fullScreen, menuSpacer=40; var rect, newHeight; fullScreen ?? {fullScreen = this.screenBounds}; newHeight = (fullScreen.height - men ...

  2. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... // overlap 1 sample for interpolation }; action.value(bufs); }.fork(AppClock); bufs } { "% could not be opened.".format(path).warn; }; }; ) b = ~loadChunks.value(s, "your-file.aiff", action: { "done".postln }); ...

  3. RedMRCM Doc

    ... 1; }; w.front; Routine({while({w.isClosed.not}, {u.refresh; (1/2).wait})}).play(AppClock); ) //--animation #2 ( var width= 400, height= 400, cnt= 0; var f= {Pen.fillOval(Rect.aboutPoint(Point(0, 0), width*0.15, height*0.15))}; var m= [ [0.5 ...

  4. gui_example_userview_accelerometer Quark

    ... alue; win.refresh; }); (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ~openbci= board; ) ~openbci.softReset; ~openbci.start; ~openbci.stop; SerialPort.listDevices;

  5. MixerRecorder Quark

    ... e; CmdPeriod.remove(this); // does not need to respond to cmd-. any more }.fork(AppClock); } }

  6. Blink_view Quark

    ... parpadeo está activo Routine({ wait(blinkDuration); isBlinking = false; }).play(AppClock); // Pasar la función blink como referencia usando una función anónima //view.action_({ this.blink }); } blink { if (isBlinking.not) { // Verificar si ...

  7. sDrone Quark

    ... i, amp); }); }; ampRandRateSpec.map(ampRandRateElement.value).wait; }; }).play(AppClock); }, 2, { //ramp ampTask= Routine({ inf.do{|i| var rfre= ampRampFreqSpec.map(ampRampFreqElement.value); var rcur= ampRampCurvSpec.map(ampRampCurvElemen ...

  8. Hadron Quark

    ... d_(Color(1, 0.2, 0.2)); 4.wait; statusView.background_(Color.gray(0.8)); }.fork(AppClock); }, 0, {//neutral //nothing }, 1, {//success text { statusView.background_(Color(0.2, 1, 0.2)); 4.wait; if(win.isClosed.not, { statusView.background_( ...

  9. RedGIF Doc

    ... control.duration*0.01).max(0.01).wait; index= index+1; win.refresh; }); }).play(AppClock); }); win.front; }; ) //or another animation template using the Image class (faster and can resize) ( var scale= 2; var action; var a= RedGIF.read("~/D ...

  10. gui_example_fft Quark

    ... ); //0.1-100 uV }); }; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ~openbci= board; ) ~makeNotchFilters.value('50'); ~makeNotchFilters.value('60'); ~makeNotchFilters.value(nil); ~makeBandpassFilters.value('1-50'); ~m ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow