-
... Name = unixCmdGetStdOut("whoami").select(_.isAlphaNum).asSymbol; q.hostName = { Platform.case(\osx, { unixCmdGetStdOut("hostname").split($-).first.select(_.isAlphaNum).asSymbol; }, // works on raspi, hope on linux and windows too? { unixCmd ...
-
... } *thisPackageName{ ^this.thisPackage().name } *compiledFilesFolder{ ^PathName(Platform.userExtensionDir) +/+ (this.thisPackageName() ++ "FaustPlugins") } *folderExists{ ^this.compiledFilesFolder().isFolder } *makeFolder{ File.mkdir(this.c ...
-
... xtensión //if (SynthiGME.isExtensionInstalled.(name)) { var userExtensionPath = Platform.userExtensionDir +/+ name; var systemExtensionPath = Platform.systemExtensionDir +/+ name; var extensionPath = if (File.existsCaseSensitive(userExtensi ...
-
... logPosts = true; classvar <appAsDir, <appName, <appDir; *initClass { appAsDir = Platform.resourceDir.dirname.dirname; appDir = appAsDir.dirname; appName = appAsDir.basename.splitext[0]; dirPath = appDir +/+ "Logs_" ++ appName; if (on) { thi ...
-
... , fmod) * 0.1 }; f.asBuffer(time, fadeTime:0.1, action: { |buffer| buffer.write(Platform.resourceDir +/+ "sc-wavesets-test-mono.aiff"); "... finished writing ....".postln; buffer.free; } ); ) // load two files for wavesets ( a = WavesetsEve ...
-
... //tempdir = SS_SCMIR.filenameSymbol.asString.dirname++"/scmirtemp/"; tempdir = Platform.defaultTempDir; //user should always have write permission here? SS_SCMIR.initGlobalFeatureNorms; lamelocation = "/usr/local/bin/lame"; nrtoutputfilena ...
-
... ansFace, 11); if( ULib.allServers.size == 1 ) { width = 430; }; if( thisProcess.platform.name == \windows ) { windowBottom = 58; // make room for the taskbar }; w = Window(name ? "ULib servers", Rect(10, windowBottom, width, 24 + ULib.serve ...
-
... ipRate = true; classvar <>minRate = 90, <>maxRate = 720; *killAll { thisProcess.platform.killAll("say") } *initClass { Platform.case(\osx, { fxVoiceNames = [ "Agnes", "Albert", "Bad", "Bahh", "Bells", "Boing", "Bubbles", "Bruce", "Cellos", ...
-
... { this.free } cmdPeriod { this.free; } makePath { var path; path = thisProcess.platform.recordingsDir +/+ player.asString.select(_.isFileSafe); if(thisProcess.platform.name == \windows) { path = path ++ Main.elapsedTime.round(0.01) } { pat ...
-
... { this.free } cmdPeriod { this.free; } makePath { var path; path = thisProcess.platform.recordingsDir +/+ player.asString.select(_.isFileSafe); if(thisProcess.platform.name == \windows) { path = path ++ Main.elapsedTime.round(0.01) } { pat ...