Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

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

  4. 'Require' class for code importing by whillas (whillas) Code

    ... elative, paths = Array.newClear() ; if(me.isNil.not) { relative = PathName(me).pathOnly; paths = paths ++ [relative]; } { "Current document has not path! Have you saved it?".warn }; paths = paths ++ Require.ge ...

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

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

  7. Show All Documented Classes Help

    ... xtensionFunc, extensionsRoots, extensionsFolders; var undoc, undocIndex; path = PathName .new( "Help/" ); headingIndices = List .new; titleString = "A Generated List of all Documented Classes" ; undoc = "*Show All Undocumented Classes" ; re ...

  8. SoundFile Doc

    ... ampleRate before calling SoundFile: -openWrite . Class Methods SoundFile. new ( pathName ) Creates a new SoundFile instance. SoundFile. writeArray ( array , pathName , headerFormat , sampleFormat , sampleRate ) Writes an array (or nested ar ...

  9. extSoundFileFixOpenRead Quark

    ... { // temp fix for SoundFile bug: avoid trying to open .psd files openRead { arg pathName, postExcluded = false, fileExtsToExclude; var fileext; fileExtsToExclude = fileExtsToExclude ? ["pic", "psd"]; path = pathName ? path; Platform.case( \ ...

  10. Show All Documented Extension Classes Help

    ... xtensionFunc, extensionsRoots, extensionsFolders; var undoc, undocIndex; path = PathName .new( "Help/" ); headingIndices = List .new; titleString = "A Generated List of all Documented Extension Classes" ; undoc = "*Show All Undocumented Cla ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow