Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (110) Code (7) Doc (28) Help (3) Quark (62) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. timer Quark

    /* \timer This UMap measures the elapsed time between triggers. Every time a trigger is received, the UMap will output the time between that and the previous trigger. The value can be scaled from a within a time range to the output range of ...

  2. timer Quark

    /* \timer This UMap measures the elapsed time between triggers. Every time a trigger is received, the UMap will output the time between that and the previous trigger. The value can be scaled from a within a time range to the output range of ...

  3. envTrigger Quark

    ... c), env = EnvFollow.kr(mic, 0.999), trig = amplitude > envTrigger_triggerLevel, timer = Timer.kr(trig), filteredTrig = (timer > envTrigger_debounce); SendTrig.kr(filteredTrig, 0, env); }; ~setup = nil;

  4. p_sine Quark

    ... q = 0.1, phase = 0, min = 0.0, max = 1.0, timeBase = \seconds| { var i = 0; var timer = UPattern.deltaTimer; if( timeBase.next === \seconds ) { i = freq.next * UPattern.startPos; }; loop { (((i % 1) * 2pi) + phase.next).sin.linlin(-1,1,min. ...

  5. p_sine Quark

    ... q = 0.1, phase = 0, min = 0.0, max = 1.0, timeBase = \seconds| { var i = 0; var timer = UPattern.deltaTimer; if( timeBase.next === \seconds ) { i = freq.next * UPattern.startPos; }; loop { (((i % 1) * 2pi) + phase.next).sin.linlin(-1,1,min. ...

  6. CodingDojo Quark

    ... dr, <serverPort; var <oscrouter, <syncText; var <>turnTime = 300, <remainTime, <timer; var <order, <pilot, <copilot, <nextCopilot, <myStatus; var <win, <uv; *new { arg userName, groupName = \codingDojo, serverAddr = "bgo.la", userPassword, ...

  7. sKeyCpad Quark

    ... rialPortNames.any{|name| name.matchRegexp(path)} }.do{|path| var str= "", byte, timer; if(portFound.not, { port= try{SerialPort(path, 38400, crtscts: true)}; if(port.notNil, { timer= Main.elapsedTime; while({byte!=10 and:{Main.elapsedTime-t ...

  8. p_envelope Quark

    ... = 1, loop = \loop| { var current = UPattern.startPos, direction = 1, delta; var timer = UPattern.deltaTimer; var envx; inf.do { |i| envx = env.next; switch( loop.next, \loop, { current = current.wrap( 0.0, env.duration ); direction = 1 }, \ ...

  9. p_envelope Quark

    ... = 1, loop = \loop| { var current = UPattern.startPos, direction = 1, delta; var timer = UPattern.deltaTimer; var envx; inf.do { |i| envx = env.next; switch( loop.next, \loop, { current = current.wrap( 0.0, env.duration ); direction = 1 }, \ ...

  10. p_line Quark

    ... , loop = \loop, delay = 0| { var current = 0, direction = 1, ttime, ddelay; var timer = UPattern.deltaTimer, now, endDur; current = UPattern.startPos; now = current; ddelay = delay.next; while { current < ddelay } { if( loop.next === \backw ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow