Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (14) Doc (370) Help (95) Quark (257) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. TestOscCommunication Quark

    ... ay = [100.0, 200.0, 300.0]; addr.sendMsg('/satie/process/setvec', 'myProcess', 'floats', array[0], array[1], array[2]); server.sync; this.assertEquals( satie.processInstances[\myProcess].at(\floats), array, "/satie/process/setvec called the ...

  2. RedKCS Quark

    ... frameLen, {|i| i.div((sampleRate/oneFreq).div(2))%2}); } initSine { arrayClass= FloatArray; sampleRate= sampleRate?Server.default.sampleRate?44100; frameLen= sampleRate.div(baudRate); mul= 0.5; add= 0; zeroBits= arrayClass.fill(frameLen, {| ...

  3. Automation Quark

    ... luate input args server = iserver; length = 0.0 + ilength; // make sure it is a float showLoadSave = ishowLoadSave; showSnapshot = ishowSnapshot; minTimeStep = iminTimeStep; if (server == nil){ server = Server.default; }; clients = List.new ...

  4. DrawGrid Doc

    ... ctively. Returns: Self. . opacity . opacity = value Get/set opacity. Returns: A Float . . smoothing . smoothing = value A Boolean which turns on/off anti-aliasing. See Pen: *smoothing . Returns: A Boolean . . linePattern . linePattern = val ...

  5. AY Doc

    ... signals). They vibrate as follows (note that their sum is scaled down to valid floating-point signal range): Oscillator Low value High value A 0 4 B 0 2 C 0 1 NOTE: There is always DC offset with this UGen. It's strongly recommended to use ...

  6. PLIdev Doc

    ... 5, \loDev, \hiDev, \lookBack, \thr ).trace(prefix: "midi "), ).play; ) // close floats can occur here ~thr = 0.01 // not here ~thr = 2 p.stop ⧉ ✔ Ex. 6: Multichannel expansion // larger pitch range and lookBack in upper voice // as with mos ...

  7. SOMTrain Plugin

    ... is string we write to disk. if(action.isString){ sombuf.write(action, "AIFF", "float") }{ action.value(sombuf) }; // Then wait a bit and sync before tidying up 0.6.wait; server.sync; "trainFromFile: done".postln; 0.2.wait; [databuf, sombuf ...

  8. OssiaAutomationProxy Quark

    ... AutomationProxy(0.0); scale = OssiaAutomationProxy(parent_node, "Scale_factor", Float, [0.01, 10], 1, 'clip', critical:allCritical); } setAction { | sources | var halfPi = MoscaUtils.halfPi(); ossiaOrient.callback_({ | num | sources.get.do( ...

  9. Segmentation Quark

    ... temClock.sched(sflength+1.0, { //Post << "transfer" << nl; analysisbuffer.loadToFloatArray(action: { arg array; var num; //Post << array << nl; num= array[0]; this.prepareData(num, array); }); }); }); } prepareData {arg num, array; lengths= ...

  10. DissonanceCurve Doc

    ... ll generate a midinote based on the degree chosen and the scale. This will be a floating point number. When we use this number in the synthDef, it will give us a useful ratio and generate the correct notes. helpfile source: /tmp/scquark_hs/ ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow