Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SynthiGME Quark

    ... preguntar guardar antes de salir. var <modifiedState = false; var <changingStateRoutine; // Routine que se está ejecutando si está cargando un patch o reseteando el patch. var <>openDialog = false; //Si hay diálogo abierto, no es nil. // In ...

  2. TestClothesline Quark

    ... 3); current.sched('test-02', 100, 400); current.sched('test-02', 1.12, 4); b = Routine { var t = 0; 0.yield; while { t = current.getNextBreakpoint(t); t.notNil } { t.yield; } }.all; this.assertEquals(b, [0, 1.12, 3, 4, 10]); }; } test_brea ...

  3. ddwPatterns Quark

    ... repeats).local_(local) } embedInStream { |inval| var stream, item; var func = { Routine { |inval| loop { list.scramble.do { |item| inval = item.yield; }; } } }; if(local) { stream = func.value; // new every time it's embedded } { if(itemStr ...

  4. HierSch Quark

    ... 0, 7, 12] + 52; quantArr = [b.rate, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]; r = Routine .new({ (beatsArr.size).do({ |i| quant = quantArr[i]; [ "Quant is" , quant].postln; beats = beatsArr[i]; b.sched(4, fn.value(freqsArr7, -0.5), durStrm.va ...

  5. PlayFileDiskView Quark

    ... wnAction= keyDownAction; busNumber.keyDownAction= keyDownAction; cursorUpdater= Routine({ var lastFrame= 0; inf.do{ if(spf.frame!=lastFrame, { lastFrame= spf.frame; waveView.timeCursorPosition= spf.frame; }); 0.01.wait; }; }).play(AppClock) ...

  6. gui_example_mindmirror Quark

    ... |x, i| notchFilters[i].filterN(x)}; s.bind{mindSynth.set(\data, d)}; }); }; }); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); win.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  7. ddwFilterPatterns Quark

    ... m; Pwhile1 embeds stream values singly Pwhile1 : Pwhile { asStream { |cleanup| ^Routine({ arg inval; this.embedInStream(inval, cleanup) }) } embedInStream { |event, cleanup| var stream = pattern.asStream, next; cleanup ?? { cleanup = EventS ...

  8. ServerLog Quark

    ... rverLogGui } getSortedEvents { arg tail,callback; // list in logical time order Routine({ var q,events,since,a,b; q = PriorityQueue.new; msgs.do({ |it| q.put(it.eventTime,it) }); events = Array.fill(msgs.size,{ |i| if(i % 25 == 0,{0.05.wait ...

  9. sGreybox2 Quark

    ... t= try{SerialPort(path, 115200, crtscts: true)}; var sendOsc; var on= true; var routineSerial, routineGui; var matchArr, matchArrCopy, matchFunc, matchIndex; var matchArr2, matchArr2Copy, matchFunc2, matchIndex2; var lastArr= Array.newClear ...

  10. SCPyduino Quark

    ... drate); } initSCPyduino{ |aPort, aBaudrate| port = aPort; baudrate = aBaudrate; Routine.new({ sp = SerialPort(port, baudrate, crtscts: true); 2.wait; // Allow 2 secs for Arduino auto-reset to happen firmataVersion = "None"; this.sp.put(repo ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow