Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

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

  4. MIDIEventRecorder Quark

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

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

  6. SFP Quark

    ... g file; ^super.new.file_(loadDocument(file)) } *standardizePath { arg path; var pathName; pathName = PathName(path.standardizePath); ^if(pathName.isRelativePath,{ dir ++ pathName.asRelativePath },{ pathName.fullPath }) } *dir_ { arg path; d ...

  7. SFP Quark

    ... g file; ^super.new.file_(loadDocument(file)) } *standardizePath { arg path; var pathName; pathName = PathName(path.standardizePath); ^if(pathName.isRelativePath, { dir ++ pathName.asRelativePath }, { pathName.fullPath }) } *dir_ { arg path; ...

  8. file-management Quark

    ... ssing and testing general testing extensions on String isFile, isFolder same as Pathname:isFile / Pathname:isFolder isBundle test if it is a bundle "SuperCollider.app" .isBundle; // true isSoundFile test if path is a valid soundfile which c ...

  9. ZArchive Quark

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

  10. PlonkSoundSupport Quark

    ... bj, cue); }); }); } // does not test for existence pr_loadBufferFromPath {|key, pathname, cue| var action = {|buf| home.log(\PlonkSoundSupport, "Buffer % loaded".format(key)); }; var buf; cue.if({ var info = SoundFile.use(pathname, {|file| ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow