Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2907) Code (102) Doc (606) Help (209) Quark (1973) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. SPlayFileDisk Quark

    //related SPlayFileDiskView, SPlayFile SPlayFileDisk : AbstractSPlayFile { const id= 2223; //magic number to use as VDiskIn sendID var <>bufferSize= 8192; //decrease for faster frame updates, increase for disk dropout safety frame { if(voic ...

  2. NTP Quark

    ... unInTerminal; } // sync to addr, and then slave to it *client {|serverAddr| var file, path = "/tmp/SCntpclient.conf", string; file = File.new(path, "w"); string = "# Point to our network's master time server\nserver " ++ serverAddr.ip ++"\n ...

  3. SWMiniHiveConfig Quark

    ... gLabels.put( config.label.asSymbol, cidAllocator.alloc ); } */ save{ |name| var file; var thisf = folder ? thisProcess.platform.userAppSupportDir; name = name ? "SWMiniHiveConfig"; file = File.open( thisf +/+ name, "w" ); file.write( hiveMa ...

  4. DotViewer Quark

    ... sc - (c) rohan drape, 2004-2007 // Class to store the location to write the dot file to and the name // of the viewer invoked to see the file. The draw method requires a // <SynthDef> object as its only argument. DotViewer { classvar <>dire ...

  5. JSONFileReader Quark

    JSONFileReader { *read { | path | var file, dict; file = File(path, "r"); dict = file.readAllString.parseJson; file.close; ^dict; } }

  6. SVGFile Quark

    SVGFile Part of wslib see also: SVG ** requires DOMDocument classes v0-2 from the swiki ** http://swiki.hfbk-hamburg.de/MusicTechnology/750 The SVGFile object contains all data of an SVG file. SVGFile can read and write SVG files and the da ...

  7. MultiFilePlayer Quark

    MultiFilePlayer reading back multiple files as created by MultiFileWriter with a FilePlayer Inherits from: : Object : MultiFileReader This class allows you to read back files that you created with MultiFileWriter. It reads the files back wi ...

  8. CoverMe Quark

    CoverMe { classvar <>backupsFolder, <activeDocs, <boundFiles, <covering, kdFunc; //writes a backup file each time code is ran via cmd-c //the folder for written files is ~/Documents/SCBackups/MM-DD-YY //and never cleaned by this class. The ...

  9. log-osc Quark

    /* out of order, needs fixing */ ( thisProcess.removeOSCRecvFunc(~oscFunc); ~oscFile !? { ~oscFile.close }; ~oscFile = File("~/osc-log.txt".standardizePath, "w"); ~oscFunc = { |x, time| if(x[0] == '/play2') { ~oscFile <<<* ([time] ++ x[1..] ...

  10. UMIDIFile Quark

    UMIDIFile { classvar <>all; classvar <>allNoteSustainEvents; // sorted note sustain events per path var <path; *initClass { all = IdentityDictionary(); allNoteSustainEvents = IdentityDictionary(); } *new { |path, reload = false| ^super.newC ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow