Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ess : UnitTest { test_equalFalse { this.assert("a1x".natLess("a1x").not, "equal strings are not less by default.") } test_equalTrue { this.assert("123".natLess("123", true), "equal strings are less if equal flag is true.") } test_substring ...

  2. CVWidgetMSEditor Quark

    ... *new { |widget, tab| ^super.new.init(widget, tab); } init { |widget, tab| var cvString; // var oscTabs, midiTabs; var staticTextFont, staticTextFontBold, staticTextColor, textFieldFont, textFieldFontColor, textFieldBg; var maxNum, msrc = "s ...

  3. OssiaBase Quark

    ... m); 2.do({ res.removeAt(index) }); }); }; ^res } find { | nodePath | var array, string = this.prCheckPath(nodePath); array = this.prPath2Array(string); ^this.findFromArray(array); } findFromArray { | namesArray | if (namesArray.size == 1) { ...

  4. ServerRecordWindow Quark

    ... ).front; w.decorate; w.onClose = { all.remove( this ) }; StaticText( w, 60@20 ).string_( "#channels" ).align_( \right ); nCha = NumberBox( w, 40@20 ).value_( server.recChannels ) .clipLo_( 1 ) .action_({ |v| server.recChannels = v.value.asI ...

  5. TextSequencer Quark

    ... ithout any arguments // x = TextSequencer(); // or provide parameters as for addString(). *new {|sounds=nil, string=nil, speed=1, at=0| ^super.new.initSequence(sounds, string, speed, at); } initSequence {|sounds, string, speed, at| list = n ...

  6. extString-fileManagement Quark

    ... ion { ^false } standardizePath { ^nil } } + Symbol { isValidExtension { ^this.asString.isValidExtension } } + SequenceableCollection { flatNoString { // flat everything but the Strings var list; list = this.species.new; this.do({ arg item, ...

  7. HrDIYSynth Quark

    ... , numOuts, argCanvasXY).init; } init { window.background_(Color.gray(0.8)); helpString = "In1/In2 audio inputs, given as args to function. You must return 2 channels of audio inside function."; { codeView = TextView(window, Rect(10, 10, 430 ...

  8. RedMstGUI Quark

    ... tMetro(size); win.view.decorator.nextLine; StaticText(win, (size*4)@(size*1.5)).string_("sect:"); guiSection= StaticText(win, (size*2)@(size*1.5)); guiMaxSection= StaticText(win, (size*3.25)@(size*1.5)); win.view.decorator.nextLine; StaticT ...

  9. extString-findReplace Quark

    // wslib 2005 // find and replace functionality for Strings / arrays of strings // slightly different from joshlib // 03/2008 -- some of there may be obsolete in SC3.2, will look at it later + String { replaceAt {arg replaceString, pos = 0, ...

  10. ProteinBioSynthesis_examples Quark

    ... \ , Prand ([0.3, 0.2, 0.8], inf )\ ).play;\ \ )\ \ \ //______mutation \ (\ var string, list, pat;\ string = "ggaacgggtactattatttattataaccagggc" ;\ //mutation by replacing a single nuclein acid by another: \ //list = Array.fill(4, \ string ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow