Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (16) Doc (79) Quark (171) SCDoc ↗ Forum ↗ Google ↗
  1. basic_telepathy_test Quark

    ... at_d, q.cycle ); (1/4).wait; } }.play(q.master_clock, quant: 1) }; /* Part A */ OSCFunc({ |msg| var time, bpm, beat_n, beat_d, cycle; if(q.is_master) { # time, bpm, beat_n, beat_d, cycle = msg[1..]; q.broadcast.sendMsg("/clock/bpm/update", ...

  2. sFormant Quark

    ... rk setupOscResponders= { oscResponders= [ //--from sKeyBpad and sQWERTYKeyboard OSCFunc({|msg| {win.view.keyDownAction.value(win.view, msg[1].asAscii, 0)}.defer; }, \keyboard, recvPort:oscPort), //--from sKeyCpad OSCFunc({|msg| onElement.va ...

  3. osc_set Quark

    ... e part of the Unit lib default UMapDefs set */ ValueUMapDef( \osc_set, { |unit, oscfunc| var message, spec; oscfunc.free; spec = unit.getSpec( \value ); message = unit.get( \message ); if( message.size == 0 ) { message = unit.unitArgName; u ...

  4. osc_set Quark

    ... e part of the Unit lib default UMapDefs set */ ValueUMapDef( \osc_set, { |unit, oscfunc| var message, spec; oscfunc.free; spec = unit.getSpec( \value ); message = unit.get( \message ); if( message.size == 0 ) { message = unit.unitArgName; u ...

  5. CytonWifi Quark

    ... Addr("OpenBCI_WifiShieldOSC.local", 13999)}; CmdPeriod.add(this); responders= [ OSCFunc({|msg, time, addr, port| "% shield ready (%)".format(this.class.name, addr.ip).postln; initAction.value(this, addr); accel= #[0.0, 0.0, 0.0]; }, \ready, ...

  6. NMLAuthenticate Quark

    ... cator { classvar <>timeOut = 5; var challenge, oscPath, challInds, challResponseOSCFunc; *new {|challenge, oscPath = '/challengeAuth'| ^super.newCopyArgs(challenge, oscPath).init; } init { // OSC sends Strings as Symbols, which is a minor p ...

  7. PushPullOSC Quark

    ... l; "newMax(%) = %".format(i, val).inform; }; }; } pr_makeResponders { capResp = OSCFunc( {|msg| var arr = msg[1].collect(_.asAscii).join; try({ capRawVals = arr.split($ ).asInteger; trace[\cap].if{ "caps:\t%".format(capRawVals).inform; }; c ...

  8. 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..] ...

  9. OSCBus Doc

    ... an incoming OSC message onto a bus Location: NOT INSTALLED! See also: DataBus , OSCFunc Description OSCBus creates an OSC responder for a specific OSC tag, and puts incoming data onto a bus. The data is assumed to be all floats or integers. ...

  10. SyncCenter Quark

    ... erCounts, <master; classvar <>recSynths; classvar <>masterCountTime; classvar <>oscFunc; classvar <>global; classvar <>ready; classvar <>inBus = 0, <>outBus = 14; classvar <>latency = 0.2; classvar <>current; classvar <>checkForServerQuit = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow