-
... ath), { ^path.load.value(this); }); } runFilesForFolder{ arg path, file; path = PathName(path); // if(path.folders.size > 0){ // ("-> Running "++file++" files for all modules").postln}; path.folders.do({ arg folder; this.runFile(folder, fil ...
-
... e the synthdef is written somewhere for the server to read it synthdefbinpath = PathName.tmp;// +/+ "benchSystemCmd_%_%.scsyndef".format(synthdef.name, this.hash.asString); synthdef.writeDefFile(synthdefbinpath, true); synthdefbinpath = syn ...
-
... + "downloaded-quarks" +/+ "miSCellaneous*").pathMatch; dirs = dirs.select { |p| PathName(p).isFolder and: { PathName(p +/+ "Classes").isFolder } }; withWarnings.if { case { dirs.size == 0 }{ "\nWARNING: no directory beginning with name 'miS ...
-
... r cannot be a number *loadFile { |path, key| var buffer, extension; extension = PathName(path).extension; // only proceed if file is valid (allowed extension) if(allowedExtensions.includesEqual(extension), { // if a key is not provided, use ...
-
... ay; */ SCMAudioHelper { classvar <audioDirectory; *initClass { audioDirectory = PathName.new(this.filenameSymbol.asString).pathOnly; } *fullpathAudiofile { |file| ^audioDirectory ++ file; } }
-
... var <classname; var <>shortDescription; var <>longDescription; *new { arg name, pathName; pathName = pathName ?? (name++".html"); ^super.new(pathName, "w").init(name); } init{ |name| examples = Array.new; instanceMethods = IdentityDictionar ...
-
... File, fftMax = 65536; action ?? {action = {"done stretchin!".postln}}; inFile = PathName(inFile); if((inFile.extension=="wav")||(inFile.extension=="aif")||(inFile.extension=="aiff")){ sf = SoundFile.openRead(inFile.fullPath); numChans = sf. ...
-
... Mult=100, chanArray=nil, splits = 9, filterOrder=129, fftType=0| var fileName = PathName(inFile).pathOnly++PathName(inFile).fileNameWithoutExtension; if(chanArray==nil){chanArray = Array.fill(SoundFile.openRead(inFile).numChannels, {|i| i}) ...
-
... olonFileWriter See also: FileReader, FilePlayer . Creation / Class Methods *new(pathName,mode,stamp,del) Create a new instance of FileWriter stamp Whether or not to add a time stamp at the beginning of each line (default false) del The deli ...
-
... e as an argument. Similar to File:use, but with overwrite check. File:checkDo ( pathName, function, overwrite, ask, mode ) File .checkDo( "~/Desktop/testFile.txt" , { |file| file.putString( "test" ); } ); If you run this line for the second ...