Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ion ); switch( mode, \mainmenu, { MainMenu.registerNoUpdate( menuAction, name.asString, 'unitlib' ); }, \toolbar, { if( toolBar.isNil ) { toolBar = ToolBar().minWidth_(300).font_( font ).front; }; if( menuCreated ) { toolBar.addAction( Menu ...

  2. customTypeGui Quark

    ... artesian = false; if (anOssiaParameter.unit.notNil) { if (anOssiaParameter.unit.string == "position.cart2D") { isCartesian = true }; }; if (isCartesian) { var specs = [ControlSpec(), ControlSpec()]; event = { | param | { if (param.value != ...

  3. asPluggable-ext Quark

    ... ths and: { event.notNil and: { x.isKindOf(Plug) } }) { event.doForPrefix((key.asString ++ "/"), { |k, v| sub = sub.add(k).add( if(v.isArray) { v.wrapAt(i) } { v } ) }); sub = sub.processPlugArgs(event, usePaths); out = out.mergePairs(sub); ...

  4. VarDiff Quark

    ... s = []; this.diff0; } display { |tokens, deletions, newSynthList| var display = String.fill(prevTokens.size, $_); deletions.do { | i | display[i] = prevTokens[i] }; display.postln; display = tokens.collect { | token, i | var synthIndex = ne ...

  5. Color Doc

    Color: Filter: Description Class methods new new255 fromArray fromHexString black white clear gray grey red green blue cyan magenta yellow rand hsv Inherited class methods Instance methods red green blue alpha hexString == scaleByAlpha blen ...

  6. EventListPlayer Doc

    ... istPlayer and each event is saved so it makes for a much more efficient compile string. Returns: am EventListPlayer Inherited class methods Instance Methods . beat get current beat while playing Returns: Float . addEvent add a new Event. th ...

  7. TestRational Quark

    ... lizes sign", isVerbose); this.assertEquals("1/-2".asRational, Rational(-1, 2), "String input normalizes negative denominator", isVerbose); this.assertEquals( Rational(1, 2) * Rational(1, -1), Rational(-1, 2), "Operation-created negative den ...

  8. Synth Doc

    ... ediately start the corresponding synth node on the server. Arguments: defName A String or Symbol specifying the name of the SynthDef to use in creating the Synth. args An optional Array specifying initial values for the SynthDef 's argument ...

  9. TempoClockGui Quark

    ... dow mainLayout.recursiveResize; this.update; // set initial display value namev.string_(name); updater.isNil.if({ updater = Routine.new({ // routine to update every beat var waitTime; { model.isRunning }.while({ this.updateCounter; if(metro ...

  10. Freesound Quark

    ... parseJSON{|jsonStr| var parsed = jsonStr; var a,x; jsonStr.do({|char,pos| var inString = false; char.switch( $",{(jsonStr[pos-1]==$\ && inString).not.if({inString = inString.not})}, ${,{ if(inString.not){parsed[pos] = $(} }, $},{ if(inStrin ...

prev 181 182 183 184 185 186 187 188 189 190 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow