-
... ileName, overwrite= false, ask= true; var theFile; newFileName = newFileName ?? pathName; newFileName = newFileName.standardizePath; newFileName = PathName(newFileName).extension_("mid").fullPath; //force mid extension File.checkDo( newFile ...
-
... { var canRecieve = false; if (View.currentDrag.isKindOf(String), { canRecieve = PathName(View.currentDrag).isFile; }); }; scrollViewBufferPoolItemViews.canvas.receiveDragHandler = { |view, x, y| this.addBufferPoolItem(View.currentDrag); }; ...
-
... ( z = 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 compi ...
-
... eTemplateProcessWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Process files should contain a Function that takes an instance of Opus, and unique eventID to use for the new instance of CtkPMod and ad ...
-
... resets; window.front; } prParsePresets { var parseFailCount = 0; var rootPath = PathName.new(presetSearchDir); rootPath.filesDo({ | pathName | if (pathName.isFile and: { pathName.extension == "scd" } and: { pathName.fileName.beginsWith("PD_ ...
-
... arguments = arguments.add(\modules); arguments = arguments.add(modules); path = PathName(modulePath +/+ name); if(File.exists(path.fullPath), { soundProcess = this.runFile(path, "run"); },{("Module"+name+"not installed.").error}); } stop { ...
-
... filtered = argfiltered; basePath = argbp ? (String.scDir ++ "/sounds/"); path = PathName(basePath); f = { var ci; filename = listbox.items[listbox.value]; if (filename.last == $/, { // a dir if (filename == "../", { // one dir up ci = path. ...
-
... llider. Es modo standalone también. No es ni extensión ni quark /* { var path = PathName(PathName(Platform.classLibraryDir).pathOnly).pathOnly; File.exists(path +/+ name +/+ "SynthiGME.quark")} { var synthiPath = PathName(PathName(Platform. ...
-
... = 0| ^events.collect({ |event| [trackNumber] ++ event }); } asSimpleMIDIFile { |pathName, pitchBendMode = \int8| var midiFile; pathName = pathName ? "~/scwork/eventRecorder.mid"; pathName = pathName.standardizePath; midiFile = SimpleMIDIFil ...
-
... Cache,<>path,<>version=1.0; var lastItem,count=0,stringCacheStart; *write { arg pathName; ^super.new(pathName, "wb").path_(pathName).check.initStringCache } *read { arg pathName; ^super.new(pathName, "rb").path_(pathName).check .getStringCa ...