Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (716) Code (83) Doc (239) Help (94) Quark (285) Plugin (15) SCDoc ↗ Forum ↗ Google ↗
  1. openbci_gui_fftplot_with_neurofeedback-8ch+coherence Quark

    ... dapted by khofstadter to calculate same bandwith on all channels (theta below), phase coherence and example added for saving raw text file for plotting //draw 0 - pause all drawing to save cpu //draw 1 - only draw thresholds and average val ...

  2. Modulation Quark

    [ [ 'sin', {arg freq=0.1, phase=0, mul=1, add=0; SinOsc.ar(freq, phase, mul).map + add} ], [ 'saw', {arg freq=0.1, phase=0, mul=1, add=0, dir=0; Select.ar(dir, [LFSaw.ar(freq, phase, mul, add).range(-1,1), LFSaw.ar(freq, phase, mul, add).ra ...

  3. README Quark

    ... ss * 1.75 - added three scsynth examples and fixed some outdated links * 1.71 - phase coherence added to -8ch nf, nf_plotter.scd added (with audio player and 'PlayFile' folder) * 1.70 - neurofeedback-2ch and -8ch added * 1.63 - impedance te ...

  4. README Quark

    ... {|i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', 1.0.rand)}; // Draw a phase shifting sine p = 0; t = Task({ loop { p = p + 0.1; ((0..40) collect: { |i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', sin(i / 40 * 1 * pi + (p)) ...

  5. Ptafsiran Quark

    ... e = this.getTransformedValue(inval, match, list, offset); // correct the gongan phases transformedValue.do { |event| outval = list[offset].copy.putAll(event); // easy way. inval = outval.yield; if(inval.isNil) { nil.alwaysYield; }; }; ^[inv ...

  6. XiiSynthDefs Quark

    ... der --------------------- SynthDef.writeOnce(\xiiSine, {arg outbus=0, freq=440, phase=0, pan=0, amp=0.61; var env, sine; env = EnvGen.ar(Env.perc, doneAction:2); sine = sum(SinOsc.ar([freq, freq+1], phase, 0.5*env*amp*AmpComp.kr(freq, 65))) ...

  7. SimpleRepublic Quark

    ... patibility // the two 0's are for backwards compatibility (used to be beats and phase) ^[nickname, this.clientID, 0, 0] } makeSkip { this.statusFunc; // do once immediately skip.stop; skip = SkipJack({ this.statusFunc }, 1.0, name: republic ...

  8. ArgSpec Quark

    ... ar', 0.0, 0, "Hz")), ('unipolar' -> ControlSpec(0, 1, 'linear', 0.0, 0, "")), ('phase' -> ControlSpec(0, 6.2831853071796, 'linear', 0.0, 0, "")), ('delay' -> ControlSpec(0.0001, 1, 'exp', 0, 0.3, "sec")), ('amp' -> ControlSpec(0, 1, 'amp', ...

  9. PHSpar Quark

    ... = 0| XLine .kr(start, end, dur) + add; }, { |freq = 0.3, dev = 15, center = 60, phase = 0, add = 0| LFTri .kr(freq, phase, dev, center + add); } ]); ) // switch between two help synths // both help synths are run from the start (default hsS ...

  10. BufferBlock-autoload Quark

    ... // knob \ (chan == 8).if\ // global rate -> master (right-most) \ BufferBlock .phase.set( \ , val.linlin(0, 127, 0.5, 2).round(0.01).postln)\ \;\ (chan < 8).if\ // amps \ q.blockAmper.set( "amp%" .format(chan), val.linlin(0, 127, 0, 1));\ ...

prev 21 22 23 24 25 26 27 28 29 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow