-
+ WavesetsEvent { *tutorial { Document.open(PathName(this.filenameSymbol.asString).navigateUp(1) +/+ "intro.scd") } } + PathName { navigateUp { |levels = 1| ^this.asAbsolutePath[..this.colonIndices.drop(levels.neg).last] } }
-
... | ^super.new.init(fn).fileClass_( fc ? TabFileReader ); } init{ |fn| var path = PathName(fn); fileName = path.fileNameWithoutExtension; tarBundle = (path.extension == "tar"); pathDir = PathName(path.asAbsolutePath).pathOnly; // pathDir = pa ...
-
... eNames.pelog, instNoteNames.neutral (e.g. drums) // could be refined later. var pathnames, missingNames, prefixSize; dir = dir ?? { this.defaultDir }; pathnames = (dir ++ "*.wav").pathMatch; if (pathnames.size == 0) { "VGSamp - NO FILES FOU ...
-
... ateTemplateScoreWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Score files should contain a Function that takes an instance of Opus and fileKey that is generated for you from the file name. Saving th ...
-
... ateTemplateEventWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Event files should contain a Function that takes an instance of Opus and fileKey that is generated for you from the file name. Saving th ...
-
... ateTemplateSynthWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Synth files should contain a Function that returns a CtkSynthDef. These can be used in your CtkPMods that are created from the Functions ...
-
... 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); }; ...
-
... 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_ ...