Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ( f = { 12.collect({ |i| var evt; evt = UChain(i/2,i+1,rrand(3.0,10.0),false,\sine, \output).fadeOut_(1).fadeIn_(1); evt.units[0].set(\freq,rrand(200.0,600.0) ); evt; }) }; z = UScore(*(12.collect({ |i| var evt; evt = BufSndFile("@resources ...

  2. GetMouseX Quark

    ... that is evaluated when an update happens see also: GetMouseY MouseY , MouseX // example s.boot; ( a = GetMouseX (20, 40); b = GetMouseY (300, 400); fork { loop { 0.1.wait; [a.value, b.value].postln } } )

  3. SynthBoxNumberBoxView Quark

    ... CRIPTION: Simple numberbox with a lable AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: SynthBoxNumberView(bounds:400@50).front().action_({ |sender| sender.postln }); */ SynthBoxNumberView : View { var <name, <value; var <mainLayout, <labe ...

  4. mass edit example Quark

    // MassEditU: // create 10 similar units y = 10.collect({ U( \sine, [ \freq, 220 rrand: 880, \amp, 0.1 rrand: 0.5 ] ) }); // show them all in a window w = Window("mass-edit", Rect(571, 101, 264, 381)).front; w.addFlowLayout; y.do(_.gui(w)); ...

  5. README Quark

    ... elopes which can all be easily used in patterns etc. __For more information and examples, see the AllBuf help file. __ ### Installation Open up SuperCollider and evaluate the following line of code: `Quarks.install("https://github.com/madsk ...

  6. switchElement-simple Quark

    // basic example on how to swap one action from one control element to another. k = MKtl(\nk2, "*nanokontrol2"); k.gui; ( // function that should be linked to some element var setFunc = {|el ... args| "(%) % [%].\n".postf(el.parent.elemInde ...

  7. mass edit example Quark

    // MassEditU: // create 10 similar units y = 10.collect({ U( \sine, [ \freq, 220 rrand: 880, \amp, 0.1 rrand: 0.5 ] ) }); // show them all in a window w = Window("mass-edit", Rect(571, 101, 264, 381)).front; w.addFlowLayout; y.do(_.gui(w)); ...

  8. JitGui_tests Quark

    ... ned are compatible with pre-3.8 and post 3.8 versions of SC. This file contains examples to test whether everything works in all combinations. */ // Tests for EnvirGui / ParamGui: // simple example g = EnvirGui.new(nil, 5); // empty with 5 ...

  9. Readme Quark

    # escape-html Escape string for use in HTML ## Example ```js var escape = require('escape-html'); var html = escape('foo & bar'); // -> foo & bar ``` ## Benchmark ``` $ npm run-script bench > escape-html@1.0.3 bench nodejs-escape-html > nod ...

  10. README Quark

    ... bug output for different parts of your module as well as the module as a whole. Example _app.js_: ```js var debug = require('debug')('http') , http = require('http') , name = 'My App'; // fake app debug('booting %s', name); http.createServe ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow