-
... 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 ...
-
... // creating a dictionary with samples. ( d = Dictionary.new; d.add(\tam -> PathName("/Users/bernhardzitz/Music/SUPERCOLLIDER/buffers/tamsolo/").entries.collect({ arg sf; Buffer.read(s, sf.fullPath); });); d.add(\kranz2 -> PathN ...
-
... 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 ...
-
... ocumentedClasses, classesStartIndex; var documented, documentedIndex; paths = [ PathName ( "Help/" ), PathName ( "/Library/Application Support/SuperCollider/Extensions" ), PathName ( "~/Library/Application Support/SuperCollider/Extensions" ...
-
... 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; ...
-
... writing files. Not sound files. see also the superclass for further docs. *new(pathname, mode) Create a File instance and open the file. If the open fails, isOpen will return false. pathname a String containing the path name of the file to ...
-
// 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 ...