Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rue; }; 0.001.yieldIfPossible; }; if (quarkPath.notNil) { report[\hasClasses] = PathName(quarkPath).deepFiles.detect({ |f| f.extension == "sc" }).notNil; report[\hasHelp] = PathName(quarkPath +/+ "HelpSource").deepFiles.detect({ |f| f.exten ...

  2. Sample Quark

    ... ; dir = p.standardizePath.withTrailingSlash; } *standardizePath { arg path; var pathName; pathName = PathName(path.standardizePath); ^if(pathName.isRelativePath,{ dir ++ pathName.fullPath; },{ pathName.fullPath }) } *abrevPath { arg path; i ...

  3. Sample Quark

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

  4. ActionMenu Quark

    ... ; newitem = this.prPathItem(item); newitem.notNil.if{items=items.add(newitem)}; PathName( item ).isFolder.if{returnpaths=returnpaths.add(this.prPathUp(item));}; } } }{ (item.class.name.asString != "True").if{ ("PathActionMenu: item"+item.cl ...

  5. Orchestral Sound texture v1 by nicolaariutti (nicolaariutti) Code

    ... samples from a folder extracting only one channel from the stereo files path = PathName("/home/nicola/Musica/samples/Sonatina Symphonic Orchestra/Samples/1st Violins/"); path.entries.do{ |item| if( item.fileName.contains("1st-violins- ...

  6. extPathName Quark

    + PathName { deepFolders { var out; this.entries.do { | item | if(item.isFolder) { out = out.add(item); out = out.addAll(item.deepFolders); } }; ^out } }

  7. CoverMe Quark

    ... ~/Documents/SCBackups/" ++ Date.getDate.format("%m_%d_%Y") ++"/"; } *start { if(PathName(backupsFolder).isFolder.not, {//"folder not present, creating...".postln; ("mkdir"+ backupsFolder).unixCmd; }); if(covering == false, { kdFunc = { arg ...

  8. SCMSynthDefAutoload Quark

    ... fAutoload { *initClass { StartUp.add({ SCMFileHelper.evaluateSourcesInDirectory(PathName(this.filenameSymbol.asString).pathOnly, "scm_synthdef_autoload.scd", false); }); } }

  9. Interpreter Doc

    ... = this.compile("(123 + 4000).postln"); z.postln; z.value; ) ⧉ ✔ . compileFile ( pathName ) Reads the file at pathName, compiles it and returns a Function. The file must contain a valid SuperCollider expression, naturally. This will not comp ...

  10. SCMImageHelper Quark

    ... ) */ SCMImageHelper { classvar <imagesDirectory; *initClass { imagesDirectory = PathName.new(this.filenameSymbol.asString).pathOnly; } *mixerFaderSprite { ^Image.openSVG(imagesDirectory ++ "MixerFadersSprite.svg", 50@50); } }

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow