Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. SpaceMap Quark

    ... scaleX, <scaleY; var <locColor, <selColor; var <isDrawing = false, <drawStart, <lines; var <>drawLines = true; var <drawSettings; var <selectedLoc; // these methods should be overridden in subclasses: setDefaults { |options| if (parent.isNi ...

  2. SpaceMap Quark

    ... scaleX, <scaleY; var <locColor, <selColor; var <isDrawing = false, <drawStart, <lines; var <>drawLines = true; var <drawSettings; var <selectedLoc; // these methods should be overridden in subclasses: setDefaults { |options| if (parent.isNi ...

  3. MultiFilePlayer Quark

    ... ip and tar for unzipping and unbundling MultiFilePlayer : MultiFileReader{ var <lineMap; var <>headerSize = 0; *new{ |fn,fc| ^super.new(fn, fc ? TabFilePlayer ).myInit; } myInit{ lineMap = Order.new; lineMap.put( 0, 0 ); } fileClass_{ |fc| ...

  4. posting Quark

    // radpost / radpostcont review (28 Oct): list posting, line wrapping, OSC on // both channels and a GUI window for the continuous channel. GUI windows are // stood in for by an Event that records what it is given. ~radFakeWindow = { (lines ...

  5. ProcessTools Quark

    ... o see what these do... + String { unixCmdInferPID { |action| var cmdname, pipe, line, lines, prepids, postpids, diff, pid; Task({ // cmdname is the command name we'll be monitoring cmdname = this.replace("\\ ", "").split($ ).first.basename; ...

  6. DiffString Quark

    ... prWriteTempFile(oldTokens); var path2 = this.prWriteTempFile(newTokens); var cmdLine = "diff --minimal --side-by-side" + path1 + path2; var res = unixCmdGetStdOut(cmdLine); protect { // sometimes, the unixCmd can return fails silently, retu ...

  7. draw crossfades Quark

    ( c = WFSSpeakerConf.default ? WFSSpeakerConf.rect( 48, 48, 5, 5 ); m = \lines; a = \point; p = (0@0); w = ScaledUserView.window( "WFSSpeakerConf", Rect( 128, 64, 400, 400 ), Rect.aboutPoint( 0@0, 20, 20 ); ); w.keepRatio = true; w.drawFunc ...

  8. NB-_publishing_&_syntax Quark

    ... ariable (by default) is initialized during creation of NB objects to true. Each line of code writes by default to a file.\ \ (\ n = NB ( "xample1" , 400, 300, true , "mov" , 5, 10); \ n.background(0.1, 0, 1);\ n.fill(0.84, 1, 1); \ n.oval(1 ...

  9. PlaybackData Quark

    ... ctime.stripWhiteSpace; } //--private prTask { (fileData.size-offset).do{|i| var line= fileData[i+offset]; var nextLine; var num= line[0].asInteger; var time, nextTime; switch(version, 5, { time= line[line.size-2].asFloat; ctime= line[line.s ...

  10. GLOBOL Quark

    ... sdict).putAll(methdict) // METHODS OVERRIDE CLASSES } *process { | string | var lines = split(string, Char.nl); string.postln; // GLOBOL REPL ^join(collect(lines, { | line | var newline = String.new; line = line.replace(":?", ".playN(%);".f ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow