Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. TestFloat Quark

    TestFloat : UnitTest { test_storeOn { var stored; stored = String.streamContents({ arg stream; stream <<< 1e-05}); this.assert(stored != "1e-05.0", "scientific notation should not have a .0 at the end"); this.assertEquals(stored , "1e-05", ...

  2. sFormant Quark

    ... Rect); win.layout= HLayout( VLayout( //--amplitude control section StaticText().string_("Amplitude control"), VLayout( HLayout( StaticText().string_("AmpHi").fixedWidth_(50), [ampHiElement.addView(Slider().orientation_(\horizontal)), stretc ...

  3. extServer-makeView Quark

    ... topped; var recorder, scoper; var countsViews, ctlr; var dumping=false; var infoString, oldOnClose; var font; var cpuMeter, composite; font = Font(Font.defaultSansFace, 10); onColor = onColor ? Color.new255(74, 120, 74); if (window.notNil, ...

  4. SCMMultiStepView Quark

    ... Integer(); }, { value = value.asSymbol; }); valueOff = value; textFieldValueOff.string = value; this.mapSteps(); } valueOn_ { |value| // duplicate code. reformat this if (value.asSymbol() == value.asInteger().asSymbol(), { value = value.asI ...

  5. SCFont Help

    ... name or size. Creation / Class Methods *new (name, size) name - An instance of String. Must coincide with the name of a font on the system. See * availableFonts size - An Instance of Float. g = Font .new("Helvetica", 12); *availableFonts R ...

  6. Readme Quark

    # Path-to-RegExp Turn an Express-style path string such as `/user/:name` into a regular expression. **Note:** This is a legacy branch. You should upgrade to `1.x`. ## Usage ```javascript var pathToRegexp = require('path-to-regexp'); ``` ### ...

  7. extNatSort Quark

    ... with lower leading digits are sorted before lower numbers: (1..11).collect(_.asString).scramble.postcs.sort.cs; // -> [ "1", "10", "11", "2", "3", ... ] ////////// natLess can be used to sort "naturally": (1..11).collect(_.asString).scramb ...

  8. MagicPreset Quark

    ... ); *at { arg key, doc = Document.current; var docstr, strs, bounds; key = key.asString; MagicPreset.prCheckKey(key); docstr = doc.string; bounds = MagicPreset.prFindPreset(docstr,key); if (bounds.notNil) { ^docstr[bounds[0]..bounds[1]].inte ...

  9. ModMap Quark

    ... gs, func, mul, add, min, val, warp, lag]); if(lag.notNil, { this.lag(ndef.key.asString.divNumStr[1], key, lag); }); ^modMap; } *unmap {arg ndef, key, value; var indexNodes, thisArr, num; if(key.isInteger, { key = ndef.controlKeys[key]; }); ...

  10. plusSpec-makeView Quark

    ... n.settings[ i ] ); }); Menu( CustomViewAction( operation.comp ) ).title_( key.asString ) }, Function, { MenuAction( key, { var res; res = operation.value( inView[ \val ] ); if( res.notNil ) { action.value( res ); if( this.respondsTo( \unmap ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow