-
... ybuf".standardizePath); var starttime = Main.elapsedTime; var delta, sfdur; var pathnames = Say.voices.collect { |dict| var path = "~/Desktop/saybuf/%.aiff".format(dict.name).standardizePath; "preparing : %\n".postf(dict.name); (type: \say, ...
-
... ark directory g = Git(Quarks.all.choose.localPath); // alternatively, provide a pathname to a local git repository: g = Git("/path/to/local/repo"); // get all available tags g.tags; // return local path g.localPath; // return url g.url; ⧉ ✔ ...
-
... ileClass( fn ); this.open( fn ); } checkFileClass{ |fn| var tar,txt; var path = PathName(fn); tar = (path.extension == "tar"); txt = (path.extension == "txt"); if ( tar ){ fileClass = MultiFilePlayer; }{ if ( txt ){ fileClass = TabFilePlaye ...
-
... Script( pageSize, *args ), true, // overwrite any existing doneAction: { |file, pathName| File.checkDo( path, "", doneAction: { |file, finalPath| ("/tmp/" ++ path.basename.replaceExtension( "ps" )) .ps2pdf( finalPath, true ); }); }); } } + ...
-
... of all your soundfiles in your sounds directory s.boot; ( a= RedSampler (s); p= PathName ( "sounds" ).deepFiles.select{ |x| var sf= SoundFile .openRead(x.fullPath); if(sf.notNil, { sf.close; true ; }, { false ; }); }; p.do{ |x| var sf= Soun ...
-
... {thisPath = filesPath}, {thisPath = mainPath});}; dir = (thisPath ++ modPath); PathName(dir).files.do{|item| existFiles = existFiles.add(item.fileNameWithoutDoubleExtension.asSymbol); }; classString = class.asString.firstToUpper; if(existF ...
-
... lue].asString) .loadBuffers( bufferDict.at(selPool.items[selPool.value])[0], // pathnames bufferDict.at(selPool.items[selPool.value])[1] // selections ); ); }); }); // if the manager is created from a save button in the pool if(pool.notNil, ...
-
... samples from a folder extracting only one channel from the stereo files path = PathName(~sample_path); path.entries.do{ |item| if( item.fileName.contains(), { // load only a single channel from the audiofile (MONO) tmp_buff ...
-
... // quark was installed via Quarks.install or dropped into Extensions. *root { ^PathName(this.filenameSymbol.asString).pathOnly.dirname } *coreDir { ^this.root +/+ "Core" } // --- server ----------------------------------------------------- ...
-
... ndChild(nameTag); this.asDOMElement( d, root ); if(path.notNil) { File.checkDo( PathName(path).extension_( "xml").fullPath, //force xml extension { |f| d.write(f); }, overwrite, ask) // output to file with default formatting }; ^d.format; } ...