Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. TextSequencer Quark

    ... ]]); }; }; }; } append {|sequence, measure=16, speed=1| var start = 0; if (list.size > 0){ start = list[list.size - 1][0]; start = measure * ((start / measure).trunc + 1); }; this.addAt(start, sequence, speed); } clear { if (list != nil){ l ...

  2. HarmonicVector Quark

    ... 1) { ^this.vector = RealVector.newFrom([0, 0]) }{ if (q.includes(2)) { pow2 = q.size.neg }{ pow2 = p.size }; ^this.vector = RealVector.newFrom([pow2, 0]) }; }{ res = RealVector.newFrom({0} ! (maxP.indexOfPrime + 1)); }; p.collect{|x| var id ...

  3. XiiScale Quark

    ... scDegrees_(inDescDegrees ? inDegrees); stepsPerOctave = stepsPerOctave ? tuning.size; ^this.checkForMismatch } checkForMismatch { (stepsPerOctave != tuning.size).if({ ( "Scale steps per octave " ++ stepsPerOctave ++ " does not match tuning ...

  4. DMXDevice Quark

    ... es of DMXDevices DMXDevice : SerialPort{ sendDMX{ arg cue; var datablob; var cuesize = cue.size + 1; // Int8Array[0] is the DMX start code // datablob = this.createSendHeader(cuesize) ++ Int8Array[0] ++ cue.asInt8 ++ this.createFooter; if ( ...

  5. 1_loadGlobalUtils Quark

    ... **\n".postln; } { "/// loading % files from Folder'%'\n ... " .postf(soundfiles.size, folderPath.basename); buffers = soundfiles.collect { |soundfile| Buffer.readChannel(s, soundfile.path, channels: [0]) }; s.sync; buflistname = buflistname ...

  6. SynthiX Quark

    ... ke a CC or spline */ SynthiX { var <>outlets, <>inlets; var uv, pen; var <>labelSize = 100, <>on, <>off, <>cant, <>font, bigFont; var black, blue, faint, background; var gridRect, width, height; var ins, outs; var <updateRate=0.5, animator; ...

  7. UAudioDeviceSpec Quark

    ... as the primitive, just in // sclang to allow equality matrix = Array.iota(other.size + 1); if(str.isEmpty || other.isEmpty) { ^str.size; }; // use identity if not given another way to compare compareFunc = compareFunc ? { |a, b| a === b; }; ...

  8. StoredList Quark

    ... this.prettyList); file.close; "%: stored % settings at: \n%\n".postf(this, list.size, path.cs); } { "%: file store failed...".postln; } }); } read { |path, keep = false, doneFunc| var newList; path = path ?? { this.storePath }; newList = pa ...

  9. Orb Quark

    ... var floppedArgs; floppedArgs = [which, color, dt, action].flop; if (floppedArgs.size > 1, { floppedArgs.do{|args| this.performList(\set, args); }; ^this; }); { this.pr_set(which, color, dt); action.value(this); }.fork; colors[which] = color ...

  10. FreeVerb1 Plugin

    ... .00773243, 0.00510204 ]; // mix input down to mono if necessary: inMono = if(in.size > 0, { Mix.new(in) }, { in }); inMono = OnePole.ar(inMono, 0.6); // round off reverb signal. //// Create a multi-tap delay line: if (numTaps > 0, { #times, ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow