Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. preprocessor-generators Quark

    ... ~articString = ~artic.keys.as(Array).join; ~articNonAccentString = ~articString.select { |ch| ch != $> }; ~isValidArtic = { |artic| if(artic.tryPerform(\isClGen) ?? { false }) { if(artic.tryPerform(\canBePool) ?? { false }) { artic.poolArgs ...

  2. SphericalDesign Quark

    ... clusive) { '<=' } { '<' }; thresh = spread.half; ^this.vectorAngles(theta, phi).selectIndices({ |angle| angle.perform(lessThan, thresh) }) } pointsWithin { |theta = 0, phi = 0, spread = 0.5pi, inclusive = true| ^this.points.at( this.indices ...

  3. WFSPoint Quark

    ... />. */ // copy and modification of "Space" by Raviv // for help file: type WFS, select it and press command-? WFSPoint { var <>x = 0, <>y = 0, <>z = 0; *new { arg x=0, y=0, z=0; ^super.newCopyArgs(x,y,z); } *newAZ { arg a = 0, d = 0, z = 0; ...

  4. SmoothSlider Quark

    ... in( 0 , 6 , 0.2 , 0.8 ) ) }); ) ( // random pictures :: OSX only // downloads a selection of (free) patterns from the web // ... might take a while ... p = [ 1 , 16 , 18 , 30 , 35 , 67 , 72 , 77 , 118 , 119 , 120 , 124 , 125 , 126 , 128 , 1 ...

  5. UChainGUI Quark

    ... ) { units[ii] = nil; units.insert( i, View.currentDrag ); this.setUnits( units.select(_.notNil) ); } { this.setUnits( units.insert( i, View.currentDrag.deepCopy ) ); }; } { View.currentDrag.isUdef } { this.setUnits( units.insert( i, U( Vie ...

  6. startup00-ddwSynths Quark

    ... , connect = 1| var env = \env.kr(0 ! 40); // enough for 10 breakpoints env[0] = Select.kr(connect > 0, [env[0], In.kr(outbus, 1)]); ReplaceOut.kr(outbus, EnvGen.kr(env, 1, levelScale, levelBias, time, doneAction: 2)); }).perform(Library.at( ...

  7. DoNotation Quark

    ... ard guard.collect{ |guard| string[(arrowPos+2)..(guard-1)].stripWhiteSpace ++ ".select { "++variable++string[(guard+3)..(semicolons[0]-1)]++" }" }.getOrElse( string[(arrowPos+2)..(semicolons[0]-1)].stripWhiteSpace ), //variable name to the ...

  8. ProxyPreset Quark

    ... lse| // for all missing specs, ask user ... var missingSpecNames = namesToStore.select {|name| var spec; proxy.getSpec(name).isNil; }; if (missingSpecNames.notEmpty) { "// % for % is missing specs for % parameters!\n" "// Please supply them ...

  9. DirtSoundLibrary Quark

    ... aths.isString) { paths.pathMatch } { paths.asArray }; folderPaths = folderPaths.select(_.endsWith(Platform.pathSeparator.asString)); if(folderPaths.isEmpty) { "no folders found in paths: '%'".format(paths).warn; ^this }; memory = this.memor ...

  10. FilePathView Quark

    ... owseSingle { |action| ULib.openPanel( { |path| action.value( path ); }, multipleSelection: false); } copyOrMove { |pth, mode = \copy, action, toPath| // \copy, \move, \saveAs var func; func = { |path| var res, newName; if( mode != \saveAs ) ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow