Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... { // temp fix for SoundFile bug: avoid trying to open .psd files openRead { arg pathName, postExcluded = false, fileExtsToExclude; var fileext; fileExtsToExclude = fileExtsToExclude ? ["pic", "psd"]; path = pathName ? path; Platform.case( \ ...

  2. SS_SCMIRFile Quark

    ... little endian (Intel) = default *initClass { littleendian = true; } *new { arg pathName, mode; ^super.new(pathName, mode).initSCMIRFile(pathName, mode); } initSCMIRFile {|path1,mode1| //could try multiple times? if(not(this.isOpen)) { //tr ...

  3. SCLOrkSynths Quark

    ... for right path of SCLOrkSynths folder Quarks.installedPaths.do({ |p| var path = PathName.new(p); if( path.fileName.asString == "SCLOrkSynths", { folderPath = path.fullPath; }) }); // Construct main dictionary SCLOrkSynths.prCreateMainDict; ...

  4. ATKMatrix Quark

    ... attributeDictionary, overwrite = false| var pn, ext; var mtxPath, relPath; pn = PathName(fileNameOrPath); if(PathName(pn.parentPath).isFolder.not, { // check for an enclosing folder // ... no enclosing folder found so assumed // to be relat ...

  5. XMLScore Quark

    ... art, so you can set up your score structure before doing anything else. output (pathname) Output a MusicXML file based on the contents of an instance of XMLScore. pathname - the path to write a MusicXML file to Examples // simple example ( ...

  6. AlgaClassExtensions Quark

    ... ctionary.loadSamples(this, server) } } //Wrapper around Dictionary.loadSamples +PathName { loadSamples { | server | ^Dictionary.loadSamples(this, server) } } //Fix lincurve with .ir arg +UGen { algaLinCurve { arg inMin = 0, inMax = 1, outMi ...

  7. ReaCollider Quark

    ... k; chain.add(track); ^this; } write { arg path; var outPath, outFile; outPath = PathName.new(path); this.traverse(this); // File.mkdir() // File.exists() outFile = File.new(outPath.absolutePath, "w"); outFile.write(this.str); outFile.close; ...

  8. extPathName-realNextName Quark

    // wslib 2006 // better version of nextName + PathName { noRealEndNumbers { |withExtension = true| // support for files with extension var count = 0; var extension; var fileName; //pathOnly = this.pathOnly; fileName = fullPath.removeExtensi ...

  9. 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 ...

  10. 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow