Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. vbap Plugin

    ... speakers[i].azi = speakers[i].azi * tmp; }); for (0, numSpeakers - 1, {|i| var index = 0; tmp = 2000; for (0, numSpeakers - 1, {|j| if (speakers[j].azi <= tmp, { tmp = speakers[j].azi; index = j; }); }); sorted_lss[i]=index; tmp_azi = (spe ...

  2. wfsSource Quark

    ... panner, \mode, true ) .dontStoreArgNames_([ \mode ]) .chooseFunc_( { |args| var index, plane, dynamic; index = args.indexOf( \point ); plane = args.indexOf( \type ); dynamic = args.indexOf( \dynamic ); if( plane.notNil ) { plane = args[ pla ...

  3. Sweep Doc

    ... , 1)); SinOsc.ar(Sweep.kr(trig, 700) + 500, 0, 0.2) }.play; ) // using sweep to index into a buffer b = Buffer.read(s, ExampleFiles.child); ( { var trig; trig = Impulse.kr(MouseX.kr(0.5, 10, 1)); BufRd.ar(1, b, Sweep.ar(trig, BufSampleRate. ...

  4. rand-n-step+ by vividsnow (vividsnow) Code

    ... er synthdef names var name = 'rstp'++i, pan = -1.0.rand2; SynthDef(name, { |index = 0, amp = 1, stretch = 1, pan = 0| // args: horizontal position in grid, amplitude and stretch correction, pan var sig = Pan2.ar( // tweak sig to get ...

  5. RepublicJITGui Quark

    ... s.getName } getName { ^try { object.republicName } ? "- none -" } switchSize { |index = 0| var newheight = heights[index]; var currTop = parent.bounds.bottom; parent.bounds = parent.bounds.height_(newheight).bottom_(currTop); } makeViews { ...

  6. Block Quark

    ... und(0.0001)}], carfreq= 440 -> [20,20000, \exp], modFreq=200 -> [1,1000, \exp], index= 1 -> [0.1,10], pan = 0 -> [-1,1]; GrainFM.ar(1, Impulse.kr(freq), dur, carfreq, modFreq, index, pan); }], ['formletfun', {arg my= 1000 -> [400,3200]; var ...

  7. TuningRatios Quark

    ... ase is always 1.0), and all ratios should be less than 2.0. calibrate(freq, noteindex) Behaves as in EqualTemperament. cps(noteindex) value(noteindex) Compute frequency in Hz for the given note index. If you use fractional indices, the offs ...

  8. TuningRatios Quark

    ... ase is always 1.0), and all ratios should be less than 2.0. calibrate(freq, noteindex) Behaves as in EqualTemperament. cps(noteindex) value(noteindex) Compute frequency in Hz for the given note index. If you use fractional indices, the offs ...

  9. HOAMirror8 Plugin

    ... (rate == 'audio', { 81.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(81 ...

  10. WFSArrayPan Quark

    ... ndices.collect({ |item| if( item < 0, 0, 1 ) }); } asSubArray { |division = 16, index = 11, minDivision = 16| // #speakers per sub, speakerindex to which sub is connected var newN, newPan; newN = (this.n / minDivision).ceil.asInteger; //if( ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow