Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5266) Code (160) Doc (3338) Help (578) Quark (1166) Plugin (24) SCDoc ↗ Forum ↗ Google ↗
  1. TabbedView2plus Quark

    ... ***/ /******* Part of TabbedView2 Quark *******/ + TabbedView2{ // use these as examples to make your own class extentions according to your needs *newBasic{ arg parent, bounds; var q; q=this.new(parent, bounds); if( GUI.id !== \swing) { q. ...

  2. 0_setDirs Quark

    ... POOL"; NTMI.dir.userSoundfiles = NTMI.dir.user +/+ "soundfiles"; NTMI.dir.userSFExamples = NTMI.dir.user +/+ "soundfiles/examples"; // check for user dir and make it if needed if (File.exists(NTMI.dir.user).not) { while { File.exists(NTMI.d ...

  3. UC33Ktl Quark

    ... ns for all mapped controllers. See also: UsingMIDI , CCResponder , MIDIIn First example // make a ProxySpace and a mixer for it, map the NanoKtl to it p = ProxySpace .push(s.boot); m = ProxyMixer (p, 16); // put some proxies in it ( 8.do { ...

  4. particle_system_with_sound Quark

    //example particle system with sound ( s.latency= nil; s.waitForBoot{ var width= 640, height= 360, maxAge= 150; var win= Window("ps", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse ...

  5. Entity Quark

    ... ); // update the heading and side (only if velocity is greater than *from AI by example book*) if (velocity.magSq > 0.00000001) { heading = velocity.normalize; side = heading.perp; }; } }

  6. modalMarimba Quark

    ... h shortcuts pretty funny; this particular beam is totally ignoring gravity, for example. The decay coefficient (decCoef) does a lot to determine the timbre, position simulates the position on the beam in which it's hit (0.5 is the middle), ...

  7. Event patterns and array args Quark

    ... ome use cases of array args, especially passing arrays to synths with patterns. Examples 1.) Alternative writing of arrayed args in SynthDefs ( s = Server .local; Server .default = s; s.boot; ) // SynthDef with array of overtone weights, // ...

  8. PLswitch1 Quark

    ... ironment). Dictionary to be taken for variable reference. Defaults to \current. Examples ( s = Server .local; Server .default = s; s.boot; ) // definition for future reference in arbitrary Environments p = PLswitch1 ( \a , \w ); // run Pbin ...

  9. RoundSlider Quark

    ... stringOrientation methods can be used to customize the label further. //// //// example 1: orientation and styling ( w = Window ( "string" , Rect ( 100 , 100 , 216 , 180 ) ).front; w.addFlowLayout; c = RoundSlider ( w, 50 @ 150 ); d = Round ...

  10. SCDraw Quark

    ... drawing every frame. Use the symbol identifier in the event to use it. See the example below. SCDraw does have a realtime preview to allow for a faster workflow. Class Methods *new(list, start, end, rate, sort, frameMode, onCompletion) - r ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow