Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... . beatDur (beat) Returns the duration of a given beat in an XMLMeter. // inline example g = XMLMeter (4, 4); g.beatDur(1); g = XMLMeter([3, 2, 3, 2], 8); g.beatDur(1); g.beatDur(2); g.measureDur; measureDur Returns the duration of a full me ...

  2. doepfer-pocketfader.desc Quark

    ///////// Example for an external MIDI device /////// /* Doepfer Pocket fader box has 16 sliders. // For a usage example, see "Tutorials/Connecting_external_MIDI_devices".openHelpFile; thisProcess.nowExecutingPath.basename.split($.).first.p ...

  3. SWDataNetworkSpec Quark

    ... Network is created, and most methods are accessible directly from that class. - Example - // define the network x = SWDataNetwork .new; // add some keys to the spec (SWDataNetwork forwards these methods to the spec): x.add( \accelerometer , ...

  4. LSys Quark

    ... is not represented in the sequential string representation naturally). See the examples in this document. To learn more about L-Systems and the syntax, you might want to check out the book The Algorithmic Beauty of Plants which can be obta ...

  5. 1_Interfaces_to_Instruments Quark

    ... sical instrument. */ // Different protocols: // - HID, or Human Input Device // examples are joysticks, gamepads, mice, keyboards, ... // ( - WiiMote... uses a special interface using BlueTooth ) // - MIDI, or Musical Instrument Digital Int ...

  6. gui_example_userview_accelerometer Quark

    //gui example with userview / pen graphics //only plotting accelerometer data ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiSh ...

  7. Polynomial Quark

    ... il it matches the other coefficient array in size. See the '/' operation for an example. Creation / Class Methods *new(coefs) Creates a new instance of Polynomial. Returned is a polynomial of a degree equal to the number of coefficients min ...

  8. cmc_fd_example Quark

    // /* example for the Steinberg CMD-FD hi-res faderbox. * use 4 faders of FD to set values of four sliders in a grid of 16x4: */ // make a dict for this example ~fdex = ~fdex ? (); // make a window with 4 x 16 faders to control ~fdex.w = Wi ...

  9. SETOJugglingInteraction Quark

    ... stance { /** action evaluated if a head and a club are involved in the action. @example {|distance, isValid, head, club| distance.postln;} */ classvar <>headClubAction; /** action evaluated if only clubs are involved in the action. @example ...

  10. Readme Quark

    ... PI I found out that `safe-buffer` is itself causing problems in some cases. For example, consider the following snippet: ```console $ cat example.unsafe.js console.log(Buffer(20)) $ ./node-v6.13.0-linux-x64/bin/node example.unsafe.js <Buffe ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow