Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. LinearSystem Quark

    ... er triangular matrix lowerTriangularSolve { arg b; var n = this.cols, i, k, x = Array.newClear(n); k = 0; while({ k < n }, { if(this[k, k] == 0.0, { Error("Singular matrix.").throw }); x[k] = b[k]; i = 0; while({ i < k }, { x[k] = x[k] - (x ...

  2. README Quark

    ... oa) for general use. In addition to negotiator, it allows: - Allows types as an array or arguments list, ie `(['text/html', 'application/json'])` as well as `('text/html', 'application/json')`. - Allows type shorthands such as `json`. - Ret ...

  3. Pbjorklund2 Quark

    ... Romero // Based on the Bjorklund Quark // gives ratios for durations instead of arrays with binaries Pbjorklund2 : Pbjorklund { embedInStream {|inval| var kStr= k.asStream; var nStr= n.asStream; var kVal, nVal; length.value(inval).do{ var o ...

  4. GShaderProgram Quark

    ... cify the index of a shaderprogram to use. The number of values in the // values array must match the referenced attribute. Max size is 4. arg index = 0, values = [0]; ^this.multiNewList (['audio'] ++ index ++ values.size ++ values.flat); } ...

  5. ProxyChainPreset Quark

    ... (key, List[], ".pcpreset"); } slotsToStore { var slotsToStore = chain.slotNames.array.copy; slotsToStore.removeAll(exceptedSlots); ^slotsToStore } settingNames { ^settings.names } settingIndex { |setName| ^settings.indexOf(setName) } getCur ...

  6. SCView-multiNew_Cocoa Quark

    + SCView { *multiNew { |parent, boundsArray| ^boundsArray.collect({ |bounds| this.new(parent, bounds) }); } *arrayNew { |parent ... argsArray| ^this.multiNew(parent, Rect.multiNew(*argsArray) ); } *series { |parent, bounds, size = 4, step| ...

  7. Writing-Hadron-Plugins Quark

    ... uments, you should parse the argExtraArgs argument passed into *new which is an Array of String arguments and use them. For example, if you want your plugin to have variable number of inputs and / or outputs whose count will be determined b ...

  8. cloth Quark

    ... ound= Color.white; physics= TraerParticleSystem(gy: 0.1, drag:0.01); particles= Array.fill(gridSize, {Array.newClear(gridSize)}); //physics.integrator.postln; //physics.setIntegrator(\MODIFIED_EULER); //physics.integrator.postln; gridStepX= ...

  9. PLser Quark

    ... ment ~a = (67..70); ~r = 6; ) x = p.play; // replace repeats ~r = 3; // replace array elements ~ a[0] = [77, 93.5]; ~ a[2] = Pseq ((94..96)); // replace whole array ~ a = [55, 52]; x.stop; ////////////////////// // placeholder may also get ...

  10. PLIdev Quark

    ... pitch range and lookBack in upper voice // as with most patterns, no automatic array expansion of pattern arguments ( ~src = Pseg ( Pseq ([65, 85], inf ), 5, \sin ).round; p = Pbind ( \dur , 1/7, \midinote , Ptuple ([ PLIdev ( \src , 1, -1 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow