Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (453) Code (93) Doc (110) Help (27) Quark (222) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Opus+Event Quark

    ... to create the unique event ID. All other arguments that follow are fed into the rest of your process Function template. Template below. The insance of opus, and an event ID generated from the event file name are passed in for you. */ {arg o ...

  2. ParallelStreams Quark

    ... m period. inval = Event.silent(delta).yield; } } { inval = outval.put(\degree, \rest).yield; } } { if(delta > 0) { inval = Event.silent(delta).yield; }; outval.put(key, nil); delta = 0.0; inval = outval.yield; }; } } } Pmerge : Ppar { var < ...

  3. 5_analogToInflux Quark

    ... * xtalkFactor, 1, 0, 1); }; q.osc.rawPads = values[8..]; // q.zero.pads is the rest state of the pads // use it to stretch to a range of 0-1 (8..15).do { |i| var rawval = values[i]; var zeroOffset = q.zero.pads.asArray.wrapAt(i); var stret ...

  4. WavesetsEvent Quark

    ... thod) } } WavesetsEvent : AbstractWavesetsEvent { var <buffer, <wavesets; var <>restDur = 0.01; // when waveset contains no frames *read { |path, channel = 0, startFrame = 0, numFrames = -1, onComplete, server, minLength| ^this.new.readChan ...

  5. SuperDirt Quark

    ... r allNames = modules.collect { |x| x.name }; var first = names.removeAt(0); var rest = difference(allNames, names); var firstIndex = rest.indexOf(first) ? -1 + 1; names = rest.insert(firstIndex, names).flatten; "new module order: %".format( ...

  6. CControl Quark

    ... type, you can list the type followed by as many nils as you need to fill up the rest. a = CControl .newArray([[5, 2], [6, 3], [9, 122], \pb ], [ \knob , nil , \slider , \pb ]); [ a CControl, a CControl, a CControl, a CControl ] a.do({ arg c ...

  7. CControl Quark

    ... type, you can list the type followed by as many nils as you need to fill up the rest. a = CControl .newArray([[5, 2], [6, 3], [9, 122], \pb ], [ \knob , nil , \slider , \pb ]); [ a CControl, a CControl, a CControl, a CControl ] a.do({ arg c ...

  8. startup13-adaptation Quark

    ... ame // issue: how to determine whether to sustain the previous note, or leave a rest? // for now just leave a rest #{ |source| var lo, hi, numToDrop, newNote; source = source.notes.copy; // must copy array before modifying lo = rand(source. ...

  9. NoteSequence Quark

    ... lues you want to use. Chords can be played by including an array in the stream. Rests should be written as an empty array (i.e. a chord of zero notes). durs : A Stream or Pattern returning the number of beats until the next note or chord sh ...

  10. NoteSequence Quark

    ... lues you want to use. Chords can be played by including an array in the stream. Rests should be written as an empty array (i.e. a chord of zero notes). durs : A Stream or Pattern returning the number of beats until the next note or chord sh ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow