-
//related SPlayFileDiskView, SPlayFile SPlayFileDisk : AbstractSPlayFile { const id= 2223; //magic number to use as VDiskIn sendID var <>bufferSize= 8192; //decrease for faster frame updates, increase for disk dropout safety frame { if(voic ...
-
... unInTerminal; } // sync to addr, and then slave to it *client {|serverAddr| var file, path = "/tmp/SCntpclient.conf", string; file = File.new(path, "w"); string = "# Point to our network's master time server\nserver " ++ serverAddr.ip ++"\n ...
-
... gLabels.put( config.label.asSymbol, cidAllocator.alloc ); } */ save{ |name| var file; var thisf = folder ? thisProcess.platform.userAppSupportDir; name = name ? "SWMiniHiveConfig"; file = File.open( thisf +/+ name, "w" ); file.write( hiveMa ...
-
... sc - (c) rohan drape, 2004-2007 // Class to store the location to write the dot file to and the name // of the viewer invoked to see the file. The draw method requires a // <SynthDef> object as its only argument. DotViewer { classvar <>dire ...
-
JSONFileReader { *read { | path | var file, dict; file = File(path, "r"); dict = file.readAllString.parseJson; file.close; ^dict; } }
-
SVGFile Part of wslib see also: SVG ** requires DOMDocument classes v0-2 from the swiki ** http://swiki.hfbk-hamburg.de/MusicTechnology/750 The SVGFile object contains all data of an SVG file. SVGFile can read and write SVG files and the da ...
-
MultiFilePlayer reading back multiple files as created by MultiFileWriter with a FilePlayer Inherits from: : Object : MultiFileReader This class allows you to read back files that you created with MultiFileWriter. It reads the files back wi ...
-
CoverMe { classvar <>backupsFolder, <activeDocs, <boundFiles, <covering, kdFunc; //writes a backup file each time code is ran via cmd-c //the folder for written files is ~/Documents/SCBackups/MM-DD-YY //and never cleaned by this class. The ...
-
/* out of order, needs fixing */ ( thisProcess.removeOSCRecvFunc(~oscFunc); ~oscFile !? { ~oscFile.close }; ~oscFile = File("~/osc-log.txt".standardizePath, "w"); ~oscFunc = { |x, time| if(x[0] == '/play2') { ~oscFile <<<* ([time] ++ x[1..] ...
-
UMIDIFile { classvar <>all; classvar <>allNoteSustainEvents; // sorted note sustain events per path var <path; *initClass { all = IdentityDictionary(); allNoteSustainEvents = IdentityDictionary(); } *new { |path, reload = false| ^super.newC ...