Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... str.parseYAML} }{ parseFunc = {|str| Freesound.parseJSON(str)}; }; tokenFile = PathName(Freesound.class.filenameSymbol.asString).pathOnly; tokenFile = tokenFile ++ Platform.pathSeparator++"token.json" } *uri{|uri_key,args| ^(uris[\BASE] ++ ...

  2. CollidingControl Quark

    ... h ++ "/" ++ fname; app.buffers[i].write(filePath); } }); } loadBuffers{|folder| PathName(folder ++ "audio/").folders.do({|f| if("^[0-7]$".matchRegexp(f.folderName)){ app.loadBuffer(f.folderName.asInt, f.files[0].fullPath,{}) } }); } savePro ...

  3. CactusTemplateManager Quark

    ... "/templates/" } runTemplate { arg templateName, options = (); var path; path = PathName.new(templatesDir ++ templateName); this.copyTemplateBaseFiles(path, options); this.copyTemplateSubFolderFiles(path, options); } copyTemplateBaseFiles { ...

  4. SampleDescript copy Quark

    ... o({|thisBuffer, index| thisBuffer.free; }); buffer = nil; activeBuffer = []; if(PathName(filename).pathOnly == Platform.defaultTempDir) { filename.asString + "has been deleted".postln; File.delete(filename) }; } /* //load sound file into bu ...

  5. Timeline Doc

    ... 3.5, {"test 3".postln} ]) ); t.play; // Using a path t = Timeline.newFromPath( PathName(CuePlayer.class.filenameSymbol.asString).parentPath +/+ "HelpSource/Classes/timeline" +/+ "t-score.scd" ); t.play; // An Array or String can also be co ...

  6. WsImage Doc

    ... rnally a symlink is created for each image d = WsImage.new(a, Rect(0, 0, 1, 0), PathName(Platform.helpDir).parentPath ++ "/HelpSource/images/icon.supercollider.png"); //0 for width or height will default to default image's w-h ratio d = WsI ...

  7. ScalaTunings Quark

    ... ing; tuning = Tuning.at( tuningName ); if( tuning.isNil ) { var scalaFileName = PathName( ScalaTunings.filenameSymbol.asString ).pathOnly +/+ "archive" +/+ "%.scl".format( tuningName ); ^Tuning.fromScalaFile( tuningName, scalaFileName ) }; ...

  8. Atk Doc

    ... rnally but listed here in the case you find them useful. . getAtkOpPath Get the PathName of the op directory ( 'kernels' or 'matrices' ), in either the "built-in" ATK support directory or the user extension subdirectory ( isExtension = true ...

  9. SimpleMIDIFile Quark

    ... and vv. SimpleMIDIFile { classvar <>tempoScale = 1024; var <tempo = 120; var <>pathName; var <>midiEvents; // format: [trackNumber, absTime, type, channel, val1, val2] var <>metaEvents; // format: [trackNumber, absTime, type, [ values ] / ...

  10. AbstractFaustPackage Quark

    ... ^package } *thisPackageName{ ^this.thisPackage().name } *compiledFilesFolder{ ^PathName(Platform.userExtensionDir) +/+ (this.thisPackageName() ++ "FaustPlugins") } *folderExists{ ^this.compiledFilesFolder().isFolder } *makeFolder{ File.mkd ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow