Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... or,args) Forwards any methods (e.g. writing data to the file) to the fileClass. Example 1 - zip and bundle m = MultiFileWriter .new( "testfile14.txt" ); Task ({ 3.do{ m.open; 20.do{ m.writeLine( Array .fill( 10, { 1.0.rand })); 0.25.wait; } ...

  2. cheappiano Quark

    ... adata: ( credit: "based on something posted 2008-06-17 by jeff, based on an old example by james mcc", tags: [\casio, \piano, \pitched] ) )

  3. WFSFocusDetectorSynthDefs Quark

    ... ys = 4, <>maxArrays = 24; *prefix { ^"wfsfd" } *getDefName { |numArrays = 4| // example: "wfsf_8" : focus detection def for 8 arrays ^[ this.prefix, numArrays ].join("_"); } *generateDef { |numArrays = 4| ^SynthDef( this.getDefName( numArra ...

  4. Fact Quark

    ... creation A factory creates an object that depends on other support objects. For example, a voicer may use buffers as wavetables or samples. The factory for this voicer is responsible for creating the buffers and returning the voicer. Requir ...

  5. Fact Quark

    ... creation A factory creates an object that depends on other support objects. For example, a voicer may use buffers as wavetables or samples. The factory for this voicer is responsible for creating the buffers and returning the voicer. Requir ...

  6. sound_example_filters_and_scope Quark

    //sound+scope example - performing notch and bandpass filtering with scsynth and play out in stereo //note: this is more like a template showing how to get and use the bci data in scsynth ( ~openbci= CytonSerial("/dev/tty.usbserial-DM00DRM0 ...

  7. CCIn Quark

    ... have more hardware plugged into the system int - default nil allows all sources Examples: // simple example m = CCIn .new; // listen to all midi in ports and all midichannels x = { SinOsc .ar(m.kr(0, 0, \freq ), 0, 0.2)}.play // MIDI Chan = ...

  8. Plimitsum Quark

    ... total value is exactly equal to the desired sum. *new(sum, pattern, tolerance) Example: p = Plimitsum (10.0, Pwhite (0.5, 1.5, inf )).asStream; q = p.nextN(30); q.reject( _ .isNil).sum // compare to Pconst, whose sum should be exactly 10.0 ...

  9. Plimitsum Quark

    ... total value is exactly equal to the desired sum. *new(sum, pattern, tolerance) Example: p = Plimitsum (10.0, Pwhite (0.5, 1.5, inf )).asStream; q = p.nextN(30); q.reject( _ .isNil).sum // compare to Pconst, whose sum should be exactly 10.0 ...

  10. basicSynthChooser Quark

    ... d. If you need to share the same argument stream across multiple synthdefs (for example, to realize a single pitch contour but switch synthdefs on each note), use BPStream in the arguments arrays as a reference to this same environment vari ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow