-
... { this.cleanupElementsAndCollectives; destination.notNil.if { if ( thisProcess.platform.name == \linux ) { midiOut.disconnect( MIDIClient.destinations.indexOfEqual(destination) ) }; midiOut = nil; }; source = nil; destination = nil; } // o ...
-
... Path; *initClass { dict = IdentityDictionary(); GlobalPathDict.put( \resources, Platform.resourceDir ); } *put { |key, path| dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getPath { |path| var index, key; if( path[0] == replaceCha ...
-
... Path; *initClass { dict = IdentityDictionary(); GlobalPathDict.put( \resources, Platform.resourceDir ); } *put { |key, path| dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getPath { |path| var index, key; if( path[0] == replaceCha ...
-
... ? Server.default.defaultGroup; Routine.run{ var files= ["sounds/a11wlk01.wav", Platform.resourceDir+/+"sounds/a11wlk01.wav"]; sfGrp.server.bootSync; files.do{|x| if(buf.isNil and:{File.exists(x)}, { buf= Buffer.read(sfGrp.server, x); }); } ...
-
... sde una terminal: sclang ./SGME.scd */ ( /* Routine({ var myPath = PathName.new(Platform.systemExtensionDir); wait(3); 10.do("".postln); if (myPath.entries.select({|path| "SC3".matchRegexp(path.asString)})[0] == nil, { "No está instalado SC ...
-
... 7), \numControlBusChannels: (\type: NumberBox, \pos: 8) ); // TODO Win support Platform.case( \osx, { simpleViewOptions.add( \inDevice -> (\type: PopUpMenu, \pos: 0) ); simpleViewOptions.add( \outDevice -> (\type: PopUpMenu, \pos: 1) ); }, ...
-
... f (doc.isNil ){ switch( target, \doc, { doc = Document.new( "Verbosity" ); if ( Platform.ideName == \scapp ){ doc.bounds_( Rect(300, 500, 500, 100) ); }; doc.onClose_({ this.closedDoc }); }, \win, { doc = Window( "Verbosity", Rect(300, 500, ...
-
... hod is automatically evaluated during startup. var cockpitStatePersistanceDir = Platform.userAppSupportDir ++ "/ExtensionsWorkdir/SCM_CaACLib/" ++ this.class.asString ++ "/"; File.mkdir(cockpitStatePersistanceDir); // Create if not exists. ...
-
... ry to SC's path or placing the source code folder inside the Extensions folder (Platform.systemExtensionDir)
-
... entPath; classvar <redirectText, <fileExt = ".scd"; *defaultPath { ^thisProcess.platform.startupFiles.last } *initClass { startupPath = this.defaultPath; filesDir = (startupPath.dirname +/+ dirname); examplesDir = this.filenameSymbol.asStri ...