-
... thDefs { classvar <>synthDefs; classvar <>defaultDir; *initClass { defaultDir = Platform.userAppSupportDir +/+ "wfs_synthdefs"; } *checkIfExists { |dir| ^((dir ? defaultDir ? SynthDef.synthDefDir) +/+ this.prefix ++ "_*.scsyndef" ).pathMatc ...
-
... dColor_ (color) y y_ (val) Examples // execute these in succession // the cross platform syntax for SCScope is ScopeView ( s = Server .internal; s.boot; ) ( f = Buffer .alloc(s,1024,2); b = Bus .audio(s,1); w= Window .new.front; c = ScopeVi ...
-
... { path.debug("Loading driver").load; match = registery[class.name] }, { path = Platform.userExtensionDir +/+ "quarks" +/+ "*" +/+ "mxdrivers" +/+ class.name.asString ++ ".scd"; path.pathMatch.any { arg p; p.debug("Loading mx driver").load; ...
-
... s //you must have run this line before any of the examples below f= BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff",8); //defaults BBCut2(CutBuf2(f), RecursiveCutProc1.new).play(2); (//20 recursion levels with simple user defined f ...
-
... odules this.browseFromPath(modulesPath); } // Private *initClass { globalPath = Platform.userAppSupportDir ++ "/CactusModules"; } init { envir = (); this.runInits; } runFile { arg folder, file; var path; path = (folder.fullPath+/+file.asStr ...
-
... the degree of noiseness. Inherited instance methods Examples e = SampleDescript(Platform.resourceDir +/+ "sounds/a11wlk01.wav", loadToBuffer: false) e.play; e.play(2); e.sampleRate; e.onsetIndex; e.file.onsetdata; e.startIndex; e.endIndex; ...
-
... flag if any chars were changed ^badCount > 0; } *initClass { all = (); logDir = Platform.userAppSupportDir +/+ "SyncText_logs/"; if (logDir.pathMatch.isEmpty) { File.mkdir(logDir) }; } *new { |textID = \syncText, userID, relayAddr| var user ...
-
... ently relevant for sc.app on osx only // so this whole bit should be skipped if(Platform.ideName == "scapp") { ~codedoc = Document.new("type code").bounds_(~codedocBounds); Document.listener.bounds = ~postwindowBounds; composeDocKeyResp = { ...
-
... _makeProcessInstance_arglist_bufnum { var process; satie.loadSample('mySample', Platform.resourceDir +/+ "sounds/a11wlk01.wav"); server.sync; process = satie.makeProcessInstance(\foobar, \dummy, [\bufnum, \mySample]); this.assertEquals( pro ...
-
... <source; var <enabled = true; var <hidElemDict, <hidElemFuncDict; *initClass { Platform.case(\osx, { showAllDevices = false; deviceProductNamesToHide = List[ "Apple Internal Keyboard / Trackpad", "Apple Mikey HID Driver", "Apple IR", "Head ...