-
... eview section var previewHeight = 250; *new { ^super.new.init } *initClass { if(Platform.ideName == "scapp") { StartUp.add { this.createMenu } } } *createMenu { var menuGroup, startItem, preferencesItem, helpItem; menuGroup = SCMenuGroup(ni ...
-
... // This is because there is no Date.localtime.stamp on windows! if(thisProcess.platform.name==\windows, { // windows path = path ? ("sound" ++ Main.elapsedTime.round ++ ext); }, { path = path ? (Date.localtime.stamp ++ ext); }); bufnum = a ...
-
+NetAddr { *ifconfigPath{ |prefix=""| if ( prefix == "" ){ Platform.case( \linux, { prefix = "/sbin/"} ); }; if ( prefix == "" ){ ^"ifconfig"; }{ ^(prefix+/+"ifconfig"); }; } // check this again!! *myIP { |prefix="",device=""| var j, k, res ...
-
... "~/Library/Application\ Support/Chordtris".standardizePath; preferenceFolder = Platform.userAppSupportDir; preferenceFile = preferenceFolder +/+ "Chordtris.preferences"; } *getPreferences { if(preferences.isNil) { preferences = this.loadPr ...
-
... ePresets { |force = false| var write = { Library.at(\cl, \presets).writeArchive(Platform.userConfigDir +/+ "chucklibPresets.txarch"); }; if(force) { write.value } { if(Library.at(\cl, \presetsLoaded) == true) { write.value } { "Presets not ...
-
... ttps://github.com/vitreo12/AlgaLib")` OR - `git clone` this repository to your `Platform.userExtensionDir`. ### AlgaUGens For *AlgaLib* to work correctly, a set of specific `UGens` must be installed. To install them, follow these simple ins ...
-
... ore sounds & presets over time NTMI.defaults.usesRandomInit = true; // headless platform or regular desktop? NTMI.defaults.hasGui = \View.asClass.notNil; NTMI.defaults.hasSmallScreen = false; // tell NTMI my username, e.g. for automatic net ...
-
... s.outDevices; } { |err| // PrimitiveFailedError: primitive not bound on non-osx platforms if(err.isKindOf(PrimitiveFailedError).not) { err.throw }; ^this }; switch = PopUpMenu(layout, Rect(0,0, width, GUI.skin.buttonHeight)); switch.focusCo ...
-
... s.outDevices; } { |err| // PrimitiveFailedError: primitive not bound on non-osx platforms if(err.isKindOf(PrimitiveFailedError).not) { err.throw }; ^this }; switch = PopUpMenu(layout, Rect(0, 0, width, GUI.skin.buttonHeight)); switch.focusC ...
-
... ewCopyVars( this ); } } + Object { asReadWriteBufSndFile { ^BufSndFile.newBasic(Platform.resourceDir +/+ "sounds/a11wlk01-44_1.aiff", 107520, 1, 44100, 0, nil, 1, false) } }