Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... q).abs + bpr.at(2 * q + 1).abs) / 2 }); // odd degree? if(m.odd, { reX = reX ++ Array.with(bpr.last.real) }); // set number of SOS & FOS numSOS = absX.size; numFOS = reX.size - numSOS; } prox { |radius = (AtkHoa.refRadius), sampleRate, spee ...

  2. Solver Quark

    ... ation time step in seconds. t - initial time. y - initial position: a number or array of numbers. ( var time = 2.5, dt = 0.01, t0 = 1, y0 =1, min= 3.5.neg,max=2; f = { |t,y| ((2/t)+(y*y)).neg/(2*t*y) }; d = RK4 (f,dt,t0,y0); d.next; ) *newH ...

  3. SWDataNetworkOSCGui Quark

    ... extField.new( cw, Rect( 0, 0, xsize - 75, 16 )).string_( client.subscriptions.asArray.sort.asString ).font_( font ).align_( \left ).resize_(2); decorator.nextLine; GUI.staticText.new( cw, Rect( 0, 0, 65, 16 )).string_( "setters" ).font_( fo ...

  4. that Quark

    ... lyzerResults; var oscPayload; var summedTriggers; inputChannels = input.value.asArray; numInputChannels = inputChannels.size; analyzerResults = inputChannels.collect { |inputChannel, i| // .value is a call on a function that returns an even ...

  5. HierSch Quark

    ... e]}); finalData = finalData ++ tmpArr; }; ^[list[0], finalData] } // accepts an array (could contain duplciates) // rtns sorted arr (no duplicates) heirsChooser { |priorities| if (myMute, {^[]}); // UPDATED // take out muted hiers plus 0 fo ...

  6. UMIDIFilterSpec Quark

    ... , 0, if( useNum ) { 0 } { nil }, nil ] ); } constrain { |input| input = input.asArray.extend( 5, nil ); if( type.notNil && { input[1] != type }) { input[1] = type; }; if( useNum == false) { input[3] = nil; }; ^input; } storeArgs { ^[ type ] ...

  7. EventShortcuts Quark

    ... ent and pattern shortcuts // e.g. you can directly play a Pbind derived from an Array: ( [ n: Pshuf ((1..12)), // note d: 0.5, // dur l: 3, // legato o: Pwhite (4, 7) // octave ].pp ) // also possible with Pbindef, though you shouldn't chan ...

  8. Controller.help Quark

    ... e].postln;}); ) // Make the state modification follow a // constrained map. The array is given in // 'value' space and mapped immediately to // 'internal' space, subsequent changes to the // <Ctl> spec will keep the same 'shape' // stateMap ...

  9. SWBusNode Quark

    ... ){ // "adding setter hook".postln; network.addHook( id, { network.setData( id, Array.fill( bus.numChannels, 0 ) ); }, \expected ); network.addHook( id, { this.setLabel; this.setBus; }, \setter ); }{ network.setData( id, Array.fill( bus.num ...

  10. README Quark

    ... without it), frees every sample's server buffers (these leaked before — buffer arrays were "freed" with a no-op), and clears the global name registry. - **`SamplerDB` kd-trees no longer accumulate.** Every `load`/`add` used to duplicate al ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow