Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (274) Code (17) Doc (32) Help (12) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. FoaMatrix Quark

    ... Rate, score); } initPath { var kernelLibPath; var decodersPath; kernelLibPath = PathName.new( Atk.userKernelDir ); if(kernelLibPath.isFolder.not, { // is kernel lib installed for all users? PathName.new( // no? set for single user Atk.syste ...

  2. MoscaEffects Quark

    ... olutionDef.asClass })); effectList = effectList.collect({ | item | item.key }); PathName(irBank).entries.do({ | ir | if (ir.extension == "amb") { effectList = effectList.add(ir.fileNameWithoutExtension); } }); }; } setup { | server, sourceG ...

  3. RadTest Quark

    ... variables only; nothing here is compiled into the class library. ~radTestDir = PathName(thisProcess.nowExecutingPath).pathOnly; ~radTests = ~radTests ? []; // Register a test. Used in Tests/cases/*.scd: // ~radTest.("vol-track", setup: ["s ...

  4. quark_makehelpfile Quark

    ... ing = ""; (Quarks.local.path +/+ q.path +/+ "Help/*.*").pathMatch.collect{ |it| PathName( it ).asRelativePath( Quarks.local.path +/+ q.path +/+ "Help" ); }.do{ |it| ~string = ~string + "<A href=\""++it++"\">"++it++"</A><br>\n"; }; ); f = Fi ...

  5. RedToolsMenu Quark

    ... oc.documents.choose.path.help; } {Main.versionAtLeast(3, 5)} { files= List.new; PathName(Help.dir).filesDo{|x| if(x.extension=="html", {files.add(x)})}; files.choose.fileNameWithoutExtension.openHelpFile; } { Document.open(PathName("Help"). ...

  6. Freesound Quark

    ... str.parseYAML} }{ parseFunc = {|str| Freesound.parseJSON(str)}; }; tokenFile = PathName(Freesound.class.filenameSymbol.asString).pathOnly; tokenFile = tokenFile ++ Platform.pathSeparator++"token.json" } *uri{|uri_key,args| ^(uris[\BASE] ++ ...

  7. CollidingControl Quark

    ... h ++ "/" ++ fname; app.buffers[i].write(filePath); } }); } loadBuffers{|folder| PathName(folder ++ "audio/").folders.do({|f| if("^[0-7]$".matchRegexp(f.folderName)){ app.loadBuffer(f.folderName.asInt, f.files[0].fullPath,{}) } }); } savePro ...

  8. CactusTemplateManager Quark

    ... "/templates/" } runTemplate { arg templateName, options = (); var path; path = PathName.new(templatesDir ++ templateName); this.copyTemplateBaseFiles(path, options); this.copyTemplateSubFolderFiles(path, options); } copyTemplateBaseFiles { ...

  9. SampleDescript copy Quark

    ... o({|thisBuffer, index| thisBuffer.free; }); buffer = nil; activeBuffer = []; if(PathName(filename).pathOnly == Platform.defaultTempDir) { filename.asString + "has been deleted".postln; File.delete(filename) }; } /* //load sound file into bu ...

  10. ScalaTunings Quark

    ... ing; tuning = Tuning.at( tuningName ); if( tuning.isNil ) { var scalaFileName = PathName( ScalaTunings.filenameSymbol.asString ).pathOnly +/+ "archive" +/+ "%.scl".format( tuningName ); ^Tuning.fromScalaFile( tuningName, scalaFileName ) }; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow