Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. SequenceableCollection Help

    ... sDo({ arg a, b; [a, b].postln; }); doAdjacentPairs(function) Calls function for every adjacent pair of elements in the SequentialCollection. The function is passed the two adjacent elements and an index. [1, 2, 3, 4, 5].doAdjacentPairs({ ar ...

  2. TextSequencer Quark

    ... sopen, pos, queue, cutAt; // first count the elements of each bracket, counting every // subracket as one entry in its parent. // Record them in a tree structure of bracket levels // and order of occurence within each level. tree = List(); ...

  3. JITView Quark

    ... l.isKindOf(Number)) { ^1 }; if (val.isKindOf(SequenceableCollection) and: { val.every(_.isKindOf(SimpleNumber)) }) { ^2 }; ^0; // not a numerically displayable value } makeBounds { |inbounds| bounds = inbounds ?? { Rect(0, 0, 200, 24) }; } ...

  4. modalElectricGuitar Quark

    ... different locations, from the bridge at pickPos = 0 to the nut at pickPos = 1. Everything else inside ampArray, as well as the line after it, model a pickup with a certain width (parallel to the string) and position, once again from the br ...

  5. Livecode setup, with comments by 0-91 (tedthetrumpet) Code

    ... \amp, 0.5).play(t, quant:4) // very useful syntax, create a new random rhythm every four bars Pbindef(\z, \buf, Pn(Plazy({Pseq({~bufs.choose}!16,4)})))

  6. KeyCodeResponder Doc

    ... wnAction = { "you touched me".postln; }; ) ⧉ ✔ focus on the slider. notice that every key stroke is passed, the slider does not swallow them. or you can use KeyCodeResponder kcr = KeyCodeResponder.new; kcr.option( 36 -> { "option 36".postln ...

  7. JITView Quark

    ... l.isKindOf(Number)) { ^1 }; if (val.isKindOf(SequenceableCollection) and: { val.every(_.isKindOf(SimpleNumber)) }) { ^2 }; ^0; // not a numerically displayable value } makeBounds { |inbounds| bounds = inbounds ?? { Rect(0, 0, 200, 24) }; } ...

  8. ServerOptions Doc

    ... le servers with the same options, or to archive different sets of options, etc. Every Server has an instance of ServerOptions created for it if one is not passed as the options argument when the Server object is created. (This is the case f ...

  9. Gendy4 Doc

    ... have fast frequencies, the CPU cost goes up a lot because a new CP move happens every sample! Class Methods Gendy4. ar ( ampdist: 1 , durdist: 1 , adparam: 1.0 , ddparam: 1.0 , minfreq: 440 , maxfreq: 660 , ampscale: 0.5 , durscale: 0.5 , i ...

  10. ServerTiming Help

    ... y works, we need to understand the concepts of logical time and physical time . Every clock in SuperCollider has both a logical time and physical time. Physical time: always advances, represents real time. Logical time: advances only when a ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow