-
... { // 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( \ ...
-
... 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 ...
-
... 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; ...
-
... 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 ...
-
... 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 ( ...
-
... 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 ...
-
... 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; ...
-
// 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 ...
-
... 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 ...
-
... ; 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 ...