Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ileName, overwrite= false, ask= true; var theFile; newFileName = newFileName ?? pathName; newFileName = newFileName.standardizePath; newFileName = PathName(newFileName).extension_("mid").fullPath; //force mid extension File.checkDo( newFile ...

  2. SCMBufferPoolView Quark

    ... { var canRecieve = false; if (View.currentDrag.isKindOf(String), { canRecieve = PathName(View.currentDrag).isFile; }); }; scrollViewBufferPoolItemViews.canvas.receiveDragHandler = { |view, x, y| this.addBufferPoolItem(View.currentDrag); }; ...

  3. Interpreter Help

    ... ( z = this .compile( "(123 + 4000).postln" ); z.postln; z.value; ) compileFile(pathName) Reads the file at pathName, compiles it and returns a Function. The file must contain a valid SuperCollider expression, naturally. This will not compi ...

  4. Opus+Process Quark

    ... eTemplateProcessWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Process files should contain a Function that takes an instance of Opus, and unique eventID to use for the new instance of CtkPMod and ad ...

  5. SCLOrkPD Quark

    ... resets; window.front; } prParsePresets { var parseFailCount = 0; var rootPath = PathName.new(presetSearchDir); rootPath.filesDo({ | pathName | if (pathName.isFile and: { pathName.extension == "scd" } and: { pathName.fileName.beginsWith("PD_ ...

  6. Module Quark

    ... arguments = arguments.add(\modules); arguments = arguments.add(modules); path = PathName(modulePath +/+ name); if(File.exists(path.fullPath), { soundProcess = this.runFile(path, "run"); },{("Module"+name+"not installed.").error}); } stop { ...

  7. FileListView Quark

    ... filtered = argfiltered; basePath = argbp ? (String.scDir ++ "/sounds/"); path = PathName(basePath); f = { var ci; filename = listbox.items[listbox.value]; if (filename.last == $/, { // a dir if (filename == "../", { // one dir up ci = path. ...

  8. SGME_Path Quark

    ... llider. Es modo standalone también. No es ni extensión ni quark /* { var path = PathName(PathName(Platform.classLibraryDir).pathOnly).pathOnly; File.exists(path +/+ name +/+ "SynthiGME.quark")} { var synthiPath = PathName(PathName(Platform. ...

  9. MIDIEventRecorder Quark

    ... = 0| ^events.collect({ |event| [trackNumber] ++ event }); } asSimpleMIDIFile { |pathName, pitchBendMode = \int8| var midiFile; pathName = pathName ? "~/scwork/eventRecorder.mid"; pathName = pathName.standardizePath; midiFile = SimpleMIDIFil ...

  10. SS_SCMIRZArchive Quark

    ... Cache,<>path,<>version=1.0; var lastItem,count=0,stringCacheStart; *write { arg pathName; ^super.new(pathName, "wb").path_(pathName).check.initStringCache } *read { arg pathName; ^super.new(pathName, "rb").path_(pathName).check .getStringCa ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow