-
... Set default for executable, if it isn't set already if(executableName.isNil, { Platform.case( \osx, { executableName = "/Applications/REAPER.app/Contents/MacOS/REAPER" }, \linux, { executableName ="reaper" }, \windows, { // TODO } ); }); } ...
-
... ize > 1 } { \multi } { path = paths[0]; path.isNil } { \empty } { (path.last == Platform.pathSeparator).not } { \file } // { path.pathIsBundle } { \bundle } { \folder } } // only if and when needed, better check this separately pathIsBundle ...
-
... mp, trig); [trig, avg] // records always the average before the peak }); path = Platform.resourceDir +/+ "sounds/a11wlk01.wav"; x = analysis.analyzeFile(path, callback: { "analysis completed".postln; }); ) x[\my_trig_amps].plot; // plot the ...
-
... recordings", Color.white, NTMI.g.butGrey] ]).font_(NTMI.g.font) .action_({ |bt| Platform.recordingsDir.openOS; });
-
... amplesFolder; *initClass { StartUp.add { if([\osx, \linux].includes(thisProcess.platform.name).not) { "sorry, preferences currently work only with OS X.".postln; ^this }; // for now, user dir only startupFilePath = startupFilePath ?? { this ...
-
... , fmod) * 0.1 }; f.asBuffer(time, fadeTime:0.1, action: { |buffer| buffer.write(Platform.resourceDir +/+ "sc-wavesets-test.aiff"); "... finished writing ....".postln; buffer.free; } ); ) s.boot; b = WavesetsMultiEvent.read(Platform.resource ...
-
... "/usr/local/bin/dotty"); cmd = viewer; if(cmd.isNil, {cmd = def.at(thisProcess.platform.name)}); name = directory.standardizePath ++ "/" ++ synthDef.name.asString ++ ".dot"; file=File(name, "w"); synthDef.dot(file); file.close; (cmd ++ " " ...
-
... uperCollider + select and install ```Modality-toolkit``` ### git + Evaluate ````Platform.userExtensionDir```` to get the path to the SuperCollider extension folder. + Clone the modality toolkit to that folder via ``` git clone https://githu ...
-
... standard-brightgreen.svg)](https://github.com/standard/standard) A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. ## Usage: ``` $ npm install --save ...
-
... atibility spatDifLoggerPath = mySpatDifLoggerPath ?? { var string = thisProcess.platform.userExtensionDir; string[..string.findBackwards("/")]++"SpatialRender" }; ("mkdir "++ spatDifLoggerPath).systemCmd; //just in case spatDifLogger = Spat ...