Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (274) Code (17) Doc (32) Help (12) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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 ); }); }); } } + ...

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

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

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

  6. Dorota Quark

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

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

  8. ReaperBatch Quark

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

  9. HelpFile2.scd Quark

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

  10. TestWaveNumber Quark

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow