Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (14) Code (1) Doc (2) Help (3) Quark (8) SCDoc ↗ Forum ↗ Google ↗
  1. ToggleTextField Quark

    ... ly switchable on or off // when on, keyboard input goes into the string and is "trapped" // (no key bubbling) // when off, keyboard input bubbles up without going into the string // a button enables/disables -- green light, type your string ...

  2. ToggleTextField Quark

    ... ly switchable on or off // when on, keyboard input goes into the string and is "trapped" // (no key bubbling) // when off, keyboard input bubbles up without going into the string // a button enables/disables -- green light, type your string ...

  3. Shane Demo by phrontist (Bjorn Westergard) Code

    Something I whipped up talking to my buddy Shane. SynthDef(\guitar2, { arg freq, amp, pan = 0; var out, pluck, period, string; freq = freq * [0.99,1,2,0.98]; pluck = PinkNoise.ar(Decay.kr(Line.kr(1, 0, 0.05), 0.05)); period = freq.recip ...

  4. ChuckBrowserKeyController Quark

    ... ction when a modifier // is pressed -- I need to ignore those events // doesn't trap caps-lock, though... getKeySpec { var next; while { next = true.yield; next[1].ascii == 0 and: { next[2] > 0 } // ignore empty modifier keystrokes }; ^next ...

  5. ChuckBrowserKeyController Quark

    ... ction when a modifier // is pressed -- I need to ignore those events // doesn't trap caps-lock, though... getKeySpec { var next; while { next = true.yield; // ignore empty modifier keystrokes (next[1].isNil or: { next[1].ascii == 0 }) and: ...

  6. Environment Help

    ... any of the superclasses of environment (or event). Object prototyping works by trapping method selectors that are not already defined as class library methods. Using a generic method selector such as 'stop' or 'reset' will cause the corres ...

  7. Writing-Classes Help

    ... toreArgs { arg stream; ^[x,y] } } MyTestPoint (2,3).asCompileString; Tricks and Traps "Superclass not found..." In one given code file, you can only put classes that inherit from each Object, each other, and one external class. In other wor ...

  8. Environment Doc

    ... any of the superclasses of environment (or event). Object prototyping works by trapping method selectors that are not already defined as class library methods. Using a generic method selector such as 'stop' or 'reset' will cause the corres ...

  9. SCView Help

    ... ocoa: most command modifiers ctl-tab ctl-escape tab and shift tab are currently trapped by SC itself for cycling the focus through the views. keyUpAction keyDownAction keyUpAction_(arg1) keyDownAction_(arg1) This is where you define your ke ...

  10. startup21-clientfft Quark

    ... Class.new(~midiTriggerChan, ~midiTriggerCtlNum, e { |value| // seems we need to trap very rapid triggers (value > 0 and: { (Main.elapsedTime - ~lastTrigTime) > 1.0 }).if({ ~sendTrigger.value; }); }); }; ~sendTrigger = { s.makeBundle(nil, { ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow