Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... e exists // - closes the file afterwards // - function can also be a string arg pathName, function, overwrite = false, ask = true, mode = "w", doneAction; var theFile; var renameFunc, writeFunc, newNameFunc, savePanelFunc; pathName = pathNa ...

  2. DocumentFile Quark

    ... r_ { arg path; dir = path.standardizePath(path); } *standardizePath { | p | var pathName; pathName = PathName(p.standardizePath); ^if(pathName.isRelativePath) { dir ++ pathName.fullPath } { pathName.fullPath } } *abrevPath { | path | if(pat ...

  3. MultiFileWriter Quark

    ... ew{ |fn| ^super.new.init(fn).fileClass_(TabFileWriter); } init{ |fn| var path = PathName(fn); fileName = path.fileNameWithoutExtension; extension = path.extension; pathDir = PathName(path.asAbsolutePath).pathOnly; if ( PathName(pathDir).fil ...

  4. Opus Quark

    ... t".postln; createIfMissing = argCreateIfMissing; server = argServer; basePath = PathName(path); basePath.isFolder.not.if({ ("No folder was found at " ++ basePath.absolutePath).warn; createIfMissing.not.if({ ^nil; }) }); audioRoutePath = Pat ...

  5. SCMFileHelper Quark

    ... SourcesInDirectory { |directory, pathMatchPattern="*\.scd", recursive=true| var pathName = PathName(directory); pathName.files do: { |path| try { if (pathMatchPattern.matchRegexp(path.fileName), { "Loading %".format(path.fullPath).postln(); ...

  6. WindowsPlatform_extension Quark

    ... .initPlatform; // Obtenemos el path superior a la carpeta de SC: path_general = PathName(Platform.resourceDir).pathOnly; // Directorio de grabaciones en "Recordings" recordingsDir = path_general +/+ "Recordings" +/+ "Audio"; } // Con estos ...

  7. pathUtilities Quark

    + PathName { *documentDir { ^Crucial.documentDir } *standardizeDocumentPath { | p | /** * expand path relative to the documentDir */ var pathName, path; pathName = PathName(p.standardizePath); if(pathName.isRelativePath) { path = this.docum ...

  8. Opus+AudioRoute Quark

    ... nnels, this.server); this.addInputForKey(key, audioBus); }) }, { force.if({ var pathName; pathName = this.createTemplateAudioInRoute(force); pathName.notNil.if({ "Created a template audio input file..".postln; this.prLoadAudioInRoutes(false ...

  9. ResonatorNetwork Quark

    ... tMatrix } } } } calcModalData { arg minFreq=25,maxFreq=22050,minT60=0.01,gain=1,pathname=pythonScriptPath ++ "/modalData.json",incl="ynnn",async=false; var cmdSeq; this.prCheckMatrixDimensions; this.prParseArgsAsJSON(minFreq,maxFreq,minT60, ...

  10. Opus+Init Quark

    ... h); } createTemplateInitProcess{arg force = false; var fileStr, file, filePath, pathName; fileStr = "/* This is a special instance of CtkPMod that will include code that should be run whenever the piece starts, regardless of what event you ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow