-
... ".format(this.name).error }); } *prMakeFileListTXT{|configString| var outFile = PathName.tmp +/+ "filelist.txt"; "%: Creating % file containing:\n%".format(this.name, outFile, configString).postln; File .open(outFile, mode:"w") .write(confi ...
-
... ~hf .addDescription( \new , "Create an instance of HelpFile2, with the path <em>pathName</em>" , \class ); ~hf .addDescription( \createInstanceMethods , "creates the instance methods. Is called when the classname is set." ); ~hf .addDescrip ...
-
... .order; report = AtkTests.report; floatWithin = AtkTests.floatWithin; dataDir = PathName(AtkTests.filenameSymbol.asString).parentLevelPath(1) +/+ "TestData"; // When checking many values in reference file, just exit after numerous failures ...
-
... eAndLoadView.actionChanged = { |sender| this.name = "PatternBox Launcher - " ++ PathName(sender.projectfile).fileName; }; projectSaveAndLoadView.actionClearAll = { this.clearAll(); }; projectSaveAndLoadView.actionNewItem = { this.invokeEven ...
-
... ndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepath); sndfile.writeData(data); sndfile.close; } save {arg path; var fil; path.notNil.if({ fil = F ...
-
... analyze // actually this isn't really needed, but I leave it in here. oscpath = PathName.tmp +/+ UniqueID.next ++ ".osc"; score.recordNRT(oscpath, "/dev/null", //path, sampleRate: soundFile.sampleRate, options: options, action: { cond.unhan ...
-
... { // if the fie isn't found, look in the project parent directory var preset = PathName(file.auto.presetDir).parentPath; SoundFile.openRead(preset ++ Pathname(file.value).fileName); if (sf.isNil) { ^Error("incorrect file path").throw } }; ...
-
... =======================================*/ ( ~chords = Array.new; ~folder = PathName.new(""); // Load your path name here ~folder.entries.do({ arg path; ~chords = ~chords.add(Buffer.read(s,path.fullPath)); }); ) ~chords[rand(7 ...
-
... ndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepath); sndfile.writeData(data); sndfile.close; } save {arg path; var fil; path.notNil.if({ fil = F ...
-
... = 1/24; // don't collide with main SC process (dammit) Archive.archiveDir = PathName.tmp; MIDIClient.init; // synchronous devices = MIDIClient.destinations.collect { |ep| ep.device + " : " ++ ep.name }; if(thisProcess.argv.size ...