Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (12) Doc (41) Help (13) Quark (173) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. URecentScorePaths Quark

    ... em; item = dict.detect({ |pth| pth[1] == path }); if( item.notNil ) { item[0] = Date.localtime.stamp; } { dict = dict.add( [ Date.localtime.stamp, path ] ); }; dict = dict.sort({ |a,b| a[0] >= b[0] }); if( dict.size > maxSize ) { dict = dic ...

  2. SMPTE Quark

    ... [ inArray[0] % 32 ] ++ inArray[1..]; ^SMPTE.array( inArray, frameRate ); } *fromDate { |date| ^SMPTE( date.rawSeconds ); } *fromDateHours { |date| ^SMPTE[ date.hour, date.minute, 0,0,0].seconds_( date.rawSeconds % 60 ); } *localtime { ^this ...

  3. Clock Difference by codepool (codepool) Code

    ... , { arg inProcessTimeSync, sendToIP; var time, getAccurateTime, whenDate, whenProcess, thisProcessTimeSync, sender; ["clock difference ... instruction has been received and will be sent back to IP " ++ sendToIP.asString].po ...

  4. README Quark

    ... socket.org' }); ws.onopen = function open() { console.log('connected'); ws.send(Date.now()); }); ws.onclose = function close() { console.log('disconnected'); }); ws.onmessage = function incoming(data) { console.log(`Roundtrip time: ${Date.n ...

  5. PostLog Quark

    ... th); ^false } *start { on = true; if (this.checkLogDir) { filePath =dirPath +/+ Date.getDate.stamp ++ "_log.txt"; file = File(filePath, "a"); }; "% started logging at: %.\n".postf(this, filePath); ShutDown.add(this); } *stop { "% stopped lo ...

  6. HISTORY Quark

    ... / 2017-09-11 ================== * Fix handling of modified headers with invalid dates * perf: improve ETag match loop 0.5.0 / 2017-02-21 ================== * Fix incorrect result when `If-None-Match` has both `*` and ETags * Fix weak `ETag` ...

  7. record-mix Quark

    ... c(s, 65536.0, 2, bufnum: 1); ~buffer0.write("<RadiclesFiles>/SoundFiles/Record/<date_time> 0 spaceMaster.wav", "wav", "int16", 0, 0, true); ~buffer1.write("<RadiclesFiles>/SoundFiles/Record/<date_time> 1 Inputs 1-2.wav", "wav", "int16", 0, ...

  8. FileWriter Quark

    ... */ writeLine{ |array| if ( timeStamp ){ if ( timebase == \local ){ this.write( Date.localtime.stamp.perform( stringMethod ) ); }{ // gm this.write( Date.gmtime.stamp.perform( stringMethod ) ); }; this.write( delimiter ); }; array.do{ |it,i ...

  9. SpatDifLogger Quark

    ... e, <>deltaTime = 0.01;// default to 10 ms *new{ |fn,path,extensions,author,host,date,session,location,annotation| ^super.new.init( fn,path,extensions,author,host,date,session,location,annotation); } init{ |fn,path,extensions,author,host,dat ...

  10. RadCodeLog Quark

    ... is appended to a // file in RadiclesFiles/Logs (one file per session, named by date and time), // with the seconds since the log started and its source: // typed, menu, button, hidcmd posted on radpost (main document) // gui, hid, osc post ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow