Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. MT Quark

    ... actions slightly differently. In Cocoa dragging begins as soon as you click the mouse. In Swing, you must move the mouse before dragging commences. To trigger a process with Swing, you must drag a very short distance. Why is dragging involv ...

  2. FFTCrest Doc

    ... (s,2048,1); ( { // Example - vary mixture of white noise and pure tone with the mouse var in, chain, crest; in = XFade2.ar(WhiteNoise.ar, SinOsc.ar, MouseX.kr(-1,1)); chain = FFT(b.bufnum, in); Out.ar(0, in.dup * 0.1); crest = FFTCrest.kr(c ...

  3. 01_GuidedTour Quark

    ... er interfaces for JITLib style objects! Ndef(\mic).gui; // 2 - Interfaces - the mouse // mouse control of pitch: { SinOsc.ar(MouseX.kr(20, 2000, 1)) * 0.1 ! 2 }.play; // mouse theremin - pitch and volume! { SinOsc.ar(MouseX.kr(20, 2000, 1)) ...

  4. GrainSin Help

    ... sin_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise .kr( MouseY .kr(0, ...

  5. UserView-Subclassing Doc

    ... efine a drawing function for SCPen 5. Define typical widget methods 6. Override mouseActions 7. Define default key actions 8. Define default drag and drop actions Custom view template NOTE: This document only applies to Cocoa GUI . Subclass ...

  6. ArrayEditView Quark

    ... ec.unmap( inArray ); } spec_ { |newSpec| spec = newSpec.asSpec; view.refresh; } mouseEditSelected { |newPoint, mod| var pt; // returns true if edited if( mod.isKindOf( ModKey ).not ) { mod = ModKey( mod ? 0); }; switch( editMode, \move, { p ...

  7. NearestN Doc

    ... = Buffer.sendCollection(s, ~treedata.flat, 5); ~foundbus = Bus.control(s, 3); ~mousebus = Bus.control(s, 2); // lang-side cache of values which we'll poll from the server: ~mousepos = [0.5,0.5]; ~nearests = [0,1,2]; ); ( w = Window.new("po ...

  8. GrainFM Help

    ... \fm_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise .kr( MouseY .kr(0, ...

  9. vinil 10 by lambda (lambda) Code

    x mouse position allows us to 'scratch' 10 seconds of input // vinil 10 // Esta cosa tiene un delay de maximo 10 segundos. La posicion X controla el tiempo de delay. // nos permite hacer una especie de 'scratch' como el de los djs con lo ...

  10. Compander Doc

    ... 1, -0.3, 0.3)), 0.001, 0.3 ) * Mix.ar(Pulse.ar([80, 81], 0.3)); // apply gate (mouse x sets treshold) Compander.ar(z, z, thresh: MouseX.kr(0.001, 1), slopeBelow: 10, slopeAbove: 1, clampTime: 0.01, relaxTime: 0.01 ) }.play; ) ⧉ ✔ Compresso ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow