Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (783) Code (80) Doc (245) Help (61) Quark (379) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. gendyfyre Quark

    ... cutoff(0.001).kr(2); var env = Env([0] ++ levels ++ [0], samps * (timescale / s.sampleRate), curve); OffsetOut.ar(out, Pan2.ar(EnvGen.ar(env, doneAction: 2), pan, amp) ); }).add; /* (instrument: 'envGendy1').play; (instrument: 'envGendy1', ...

  2. DataSequencer Doc

    ... for data and one for accelerometer, and they both run on the SystemClock . The samplerate for the data routine is the board's sample rate, and the accelerometer routine run at 25Hz. These samplerates can be tuned to run slightly slower wit ...

  3. RedGrainController Quark

    ... tion {|pos, i| var buf, step; buf= redGrain.buf; step= delta/(buf.numFrames/buf.sampleRate)/buf.numChannels*positionSpeed.value(pos, i); ^positionStart.value(pos+step, i)%1.0; } prFuncAmplitude {|pos, i| var bufnum, amp, boost; bufnum= redG ...

  4. RedLoopDisk Doc

    ... iskIn . NOTE: Soundfiles with sample rate that differ from the server's current samplerate will play back at wrong speed. This because of how DiskIn works. Class Methods . new Creates a new instance. If Server.default is not booted, then th ...

  5. TestMcldUGens Quark

    ... ].do{|stuff| stuff[0].loadToFloatArray(rnddata.size * stuff[2] / Server.default.sampleRate, action: { |array| this.assertFloatEquals(array.last, rnddata.perform(avgcalc), "average from %.% should match val calculated in language".format(avg ...

  6. RedRamp Doc

    ... lfo= LFNoise1.kr(5).exprange(0.05, 1); var pha= RedRamp.ar(lfo*(BufFrames.ir(b)/SampleRate.ir)); Splay.ar(BufRd.ar(b.numChannels, b, pha*BufFrames.ir(b))); }.play; ) a.free b.free ⧉ ✔ helpfile source: /tmp/scquark_hs/redSys/HelpSource/Class ...

  7. LFDClipNoise Help

    ... pNoise, as well as LFNoise0,1,2 quantize to the nearest integer division of the samplerate, and they poll the freq argument only when scheduled; thus they often seem to hang when freqs get very low). If you don't need very high or very low ...

  8. sound_example_simple Quark

    ... xuV, ~maxuV, 100, 10000), \t_trig, 1); }; }; ~openbci= board; ) ~openbci.currentSampleRate ~openbci.setSampleRate(4) //with wifi shield one can increase the samplerate ~openbci.softReset; ~openbci.start; ~openbci.stop; SerialPort.listDevice ...

  9. Radicles Quark

    ... ffers = 512, <>numBuses = 1024, <>numControlBuses=16384, <>memorySize=409600, <>sampleRate=41000, */ *new { this.setColors; ^super.new.initRadicles; } initRadicles {var dash; dash = "/"; Platform.case( \windows, {dash = "\\"; } ); mainPath ...

  10. extBuffer-uSendCollection Quark

    ... { newBuf = Buffer( buffer.server, numFrames, numChannels, buffer.bufnum, buffer.sampleRate ); OSCFunc({ |msg, time, addr| action.value( newBuf ); }, '/done', newBuf.server.addr, argTemplate: [ '/b_alloc', newBuf.bufnum ]).oneShot; buffer.fr ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow