Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (274) Code (17) Doc (32) Help (12) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SayBuf Doc

    ... 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, ...

  2. Git Doc

    ... 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; ⧉ ✔ ...

  3. SWDataNetworkLog Quark

    ... 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 ...

  4. extColPen-PostScript Quark

    ... Script( pageSize, *args ), true, // overwrite any existing doneAction: { |file, pathName| File.checkDo( path, "", doneAction: { |file, finalPath| ("/tmp/" ++ path.basename.replaceExtension( "ps" )) .ps2pdf( finalPath, true ); }); }); } } + ...

  5. RedSampler Quark

    ... 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 ...

  6. ModFile Quark

    ... {thisPath = filesPath}, {thisPath = mainPath});}; dir = (thisPath ++ modPath); PathName(dir).files.do{|item| existFiles = existFiles.add(item.fileNameWithoutDoubleExtension.asSymbol); }; classString = class.asString.firstToUpper; if(existF ...

  7. XiiPoolManager Quark

    ... 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, ...

  8. panflute sampler by nicolaariutti (nicolaariutti) Code

    ... 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 ...

  9. Dorota Quark

    ... // quark was installed via Quarks.install or dropped into Extensions. *root { ^PathName(this.filenameSymbol.asString).pathOnly.dirname } *coreDir { ^this.root +/+ "Core" } // --- server ----------------------------------------------------- ...

  10. wfsXMLSupport Quark

    ... 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; } ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow