-
... // This method is automatically evaluated during startup. var persistanceDir = Platform.userAppSupportDir ++ "/ExtensionsWorkdir/SCM_CaACLib/" ++ this.class.asString ++ "/"; File.mkdir(persistanceDir); // Create if not exists. persistanceF ...
-
... this.setColors; ^super.new.initRadicles; } initRadicles {var dash; dash = "/"; Platform.case( \windows, {dash = "\\"; } ); mainPath = Quark("Radicles").localPath; libPath = Quark("RadiclesLibs").localPath; /* mainPath = (Platform.userExten ...
-
... which parts/feature-sets to install + GUI? + as Class? */ var q = (); q.slash = Platform.pathSeparator; // put path basePath for your setup here // this path must exist. q.basePath = ("HOME".getenv +/+ "tmp").pathMatch.first; // your projec ...
-
... ry to SC's path or placing the source code folder inside the Extensions folder (Platform.systemExtensionDir)
-
... nce the class library is finished compiling the interpreter looks for a file at Platform.userConfigDir +/+ "startup.scd" and if such a file exists, executes any code within it (this happens within Main: -startup ). By creating a file in thi ...
-
... lang application-level menu. Application-level menus may not exist depending on platform — in particular, macOS and some Linux window managers have it, but Windows does not. On platforms without this feature, the methods in this class simpl ...
-
... methods Examples s.boot; // load a file and save it to a buffer a = PVFile.new(Platform.resourceDir +/+ "sounds/cl-c4.pv", s).loadToBuffer; ( x = SynthDef(\helpPVSynth, {arg scale = 1; Out.ar(0, Pan2.ar( PVSynth.ar(a.buffer, a.nBins, 0, 1, ...
-
... s; selectorViews.add(newView); ^newView; } initialized { this.addBufferPoolItem(Platform.resourceDir +/+ "sounds/a11wlk01.wav"); this.addBufferPoolItem(SCMAudioHelper.fullpathAudiofile("amen-loop.wav")); this.updateDependantViews(); } initi ...
-
... puts ) Inherited instance methods Examples s.boot; ( s.sendMsg(\b_allocRead, 0, Platform.resourceDir +/+ "sounds/a11wlk01-44_1.aiff", 0, -1); SynthDef(\monograinbf, {arg buffer = 0; var w, x, y, z, out, winsize, grainrate, azimuth, azrand; ...
-
... up'], { var extensions= #[".scd", ".rtf"]; extensions.do{|x| var path= PathName(Platform.userExtensionDir).pathOnly++"startup"++x; if(File.exists(path), { Document.open(path); }); }; } ]; RedToolsMenu.listToMenuLibrary; }); } //--add tools ...