Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... cument.text } name { var p; if(document.isNil, { p = this.path; if(p.notNil, { ^PathName(p).fileName }); ^((content?"").copyRange(0, 10) ++ "...") }); ^document.name } printOn { arg stream; stream << "Document:"; stream << (this.name ?? {th ...

  2. SampleDescript Quark

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

  3. PopUpTreeMenu Doc

    ... pn.pathMatch.do{|x| if(x.last.isPathSeparator, { arr= arr++deepPathMatch.value(PathName(x++"*")); }, { arr= arr++PathName(x); }) }; arr }; syms= deepPathMatch.value(PathName(path)).collect{|x| var pathNoRoot= x.fullPath.copyToEnd(root.with ...

  4. WFSOptionsGUI Quark

    ... .0.0.1" ) { last.ip = NetAddr.myIP; }; if( last.ip != "127.0.0.1" ) { last.ip = PathName(last.ip).nextName; }; last.name = PathName(last.name).nextName; } { last = WFSServerOptions(); if( object.masterOptions.notNil ) { last.ip = PathName( ...

  5. Object Help

    ... a Function which refers to variables from outside its own scope). writeArchive(pathname) Write an object to disk as a text archive. pathname is a String containing the resulting file's path. *readArchive(pathname) Read in an object from a ...

  6. BStore Quark

    ... type == \ir} { path = this.getIRPath; }; case {type == \play} { filesInFolder = PathName(path).files.collect{|item| item.fileNameWithoutExtension.asSymbol;}; if(filesInFolder.includes(settings), { typeStore = this.addPlay(settings, path, {| ...

  7. README Quark

    ... ver = http.createServer(function onRequest (req, res) { send(req, parseUrl(req).pathname, { root: '/www/public' }) .pipe(res) }) server.listen(3000) ``` ### Custom file types ```js var http = require('http') var parseUrl = require('parseurl ...

  8. HOABinaural Quark

    ... String++".wav", 0, 0, i ]],); }); } ) } *loadHeadphoneCorrections {|server| var pathname = PathName.new( HOA.kernelDirsFor("", "headphoneEQ")[0]); // collect all headpone model names headPhones = pathname.files.collect({|item,i| item.fileNa ...

  9. SFP Quark

    ... g }, save: { [~source.soundFilePath] }, load: { arg path; SFP(*path) }, name: { PathName(~source.soundFilePath ? "None").fileNameWithoutExtension }, beatDuration: { ~source.beatDuration }, gui: { arg layout; var l; l = layout ?? {PageLayout ...

  10. Vocal Clouds (work in progress) by emergent (emergent) Code

    ... ze_(65536 * 4); s.newBusAllocators; // global variables ~out = 0; ~path = PathName(thisProcess.nowExecutingPath).parentPath++"/vocal-samples/"; // expects folder "vocal-samples" with audio samples in the same folder as the project fil ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow