Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    + WavesetsEvent { *tutorial { Document.open(PathName(this.filenameSymbol.asString).navigateUp(1) +/+ "intro.scd") } } + PathName { navigateUp { |levels = 1| ^this.asAbsolutePath[..this.colonIndices.drop(levels.neg).last] } }

  2. MultiFileReader Quark

    ... | ^super.new.init(fn).fileClass_( fc ? TabFileReader ); } init{ |fn| var path = PathName(fn); fileName = path.fileNameWithoutExtension; tarBundle = (path.extension == "tar"); pathDir = PathName(path.asAbsolutePath).pathOnly; // pathDir = pa ...

  3. VGSamp Quark

    ... eNames.pelog, instNoteNames.neutral (e.g. drums) // could be refined later. var pathnames, missingNames, prefixSize; dir = dir ?? { this.defaultDir }; pathnames = (dir ++ "*.wav").pathMatch; if (pathnames.size == 0) { "VGSamp - NO FILES FOU ...

  4. Opus+Score Quark

    ... ateTemplateScoreWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Score files should contain a Function that takes an instance of Opus and fileKey that is generated for you from the file name. Saving th ...

  5. Opus+Event Quark

    ... ateTemplateEventWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Event files should contain a Function that takes an instance of Opus and fileKey that is generated for you from the file name. Saving th ...

  6. Opus+Synth Quark

    ... ateTemplateSynthWithName {arg name, force = false; var fileStr, file, filePath, pathName; fileStr = "/* Synth files should contain a Function that returns a CtkSynthDef. These can be used in your CtkPMods that are created from the Functions ...

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

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

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

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow