Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... } freeBuffer { |buf, action| if( buf.notNil ) { if( UEvent.nrtMode != true ) { OSCFunc({ |msg, time, addr, recvPort| buf.freeMsg; // cleans up internally action.value( buf ); }, '/done', buf.server.addr, nil, ['/b_free', buf.bufnum ] ).one ...

  2. InputMetersCP Quark

    ... (" " ++ (i+1+options.monitorInOffset), 20).align_(\center); }; oscInputLevels = OSCFunc({arg msg; var curMsg = 3; { options.monitorInChannels.do{ arg chan; inLevelArray[chan].value = msg[curMsg].ampdb.linlin(-75, 0, 0, 1); inLevelArray[chan ...

  3. SharedOut Doc

    ... er use the get method of Bus (or /c_get in messaging style) or SendTrig with an OSCFunc . Class Methods SharedOut. kr ( bus , channelsArray ) Arguments: bus The index of the shared control bus to write to. channelsArray An Array of channels ...

  4. osc_multioutput_example Quark

    ... eate the output ) ); ); ); m = MKtl( \example, ~desc ); m.mktlDevice.destDevice OSCFunc.trace( true ); m.elementAt( \motor ).value_( 1 ); m.elementAt( \led, 0 ).value_(0.3) m.elements m.elementAt( \led, 0 ).value_( 0.5 ); m.elementAt( \led, ...

  5. Debugging-tips Doc

    Debugging tips: Filter: Debugging synthdefs SendTrig / OSCFunc Polling Trace control signals using a control bus Server-side trace Debugging client-to-server communication Debugging client code Errors Debug output using post statements dump ...

  6. chord-vc Quark

    ... \exponential], [0, 2*pi], [0.1, 10, \exp, 0, 1]]); ( { var makeSynth = { |name, oscfunc, n(6)| SynthDef(name, { |out, /*gate = 1,*/ freq = 440, detun = 1.008, // pWidth = 0.254, ffreq = 2000, gain = 0, fegRatio = 3, fAtk = 0.005, fDcy = 0.2 ...

  7. PG_Cookbook03_External_Control Doc

    ... can occur in an action function for many different kinds of objects: GUI, MIDI, OSCFunc, HID actions. This allows triggering patterns from a variety of interfaces. It's very unlikely that an action function would be triggered exactly in syn ...

  8. loopr by lfsaw (LFSaw) Code

    ... order, [\inBus, Ndef(\sound).bus.index, \recBuf, q.recBuf], 0, \addToTail); OSCFunc({ arg msg, time; q.recLength = msg[3]; q.recLengthSamples = (q.recLength * s.sampleRate).trunc; q.playbackBuf[q.recTo] = Buffer.alloc(s, q.recL ...

  9. Scanned Synthesis Visualisation by matthew-kane (Matthew Kane) Code

    ... pdateSelector.free}); if ( ~updateSprings != nil, {~updateSprings.free}); o = OSCFunc({|msg, time, addr, recvPort| ~sel = msg[3..]; }, '/sel'); n = OSCFunc({|msg, time, addr, recvPort| // ~springs = msg[3..]; msg[3..].do { |item, ...

  10. TestChannelLayout Quark

    ... 'addToTail'); // when recorder synth sends /n_end message, unhang the condition OSCFunc({ cond.unhang }, '/n_end', server.addr, argTemplate: [recorder.nodeID]).oneShot; server.sync; timeout = fork { 3.wait; cond.unhang }; // trigger the rec ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow