Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 2831, 3252, 3446, 4547, 4600, 4832, 5863, 6813, 8683, 11196]; klank_freq_array.size.do { |i| klank_freq_array[i] = Clip.kr( pitchScaler * klank_freq_array[i] * TRand.kr(0.95, 1.05, t_trig), 5, 22050); }; // freqscale = (pitchScaler * klank ...

  2. SamplerPrepare Quark

    ... = 0; rate = 1; position = 0; expand = nil; } //SynthDef env controls are fixed-size; oversized arrays make scsynth read //garbage ("envelope went past end of inputs") — resample on the way in. ampenv_ {|envArray| ampenv = SamplerQuery.fitE ...

  3. SimpleMIDIFile Quark

    ... dT & 127 - 128] ++ dTArray; dT = dT >> 7; }); ^dTArray; } convertToInt8 { |val, size=2| ^Array.fill( size, { |i| ( (val / (2** (i * 8) ) ) % 256).floor }).reverse; } getVl { arg file; var accum = 0, cur = 0; while ( {(cur = file.getInt8) < ...

  4. Example of morphing (interpolating) between two Signals/Wavetables by totalgee (totalgee) Code

    ... morph to... a.plot; c = a[0].asWavetable; b.free; b = Buffer.alloc(s, c.size); // 1024: twice the size of the 512-element signal! s.sync; b.setn(0, c); x = Synth(\oscplayer, [\bufnum, b]); }; ) ( // Do interpolation f ...

  5. LatoocarfianC Doc

    ... ang code translation: ( var a = 1, b = 3, c = 0.5, d = 0.5, xi = 0.5, yi = 0.5, size = 64; plot(size.collect { var x = xi; xi = sin(b * yi) + (c * sin(b * xi)); yi = sin(a * x) + (d * sin(a * yi)); xi }); ) ⧉ ✔ NOTE: This UGen is experiment ...

  6. ATK Quark

    ... stln; }, { //assuming linux/macOS if("which curl".unixCmdGetStdOut.replace($\n).size.asBoolean, { cmd = format("curl -L % --output % -# --fail 2>&1", url, (path.asString).shellQuote); }, { if("which wget".unixCmdGetStdOut.replace($\n).size. ...

  7. SWDataNetworkClient Quark

    ... | if ( nodes[it].notNil ){ this.addExpected( it, spec.findNode( it ), nodes[it].size, nodes[it].type ); }{ this.addExpected( it, spec.findNode( it ) ); }; }; }{ "Unregistered as client at DataNetwork".postln; }; } addResponders{ responders ...

  8. GMSymbolSlider Quark

    ... ZSlider { var thisSymbol = \circle; var thisSymbolRatio = 0.8; var thisSymbolMinSize = 24; var thisSymbolMaxSize = 96; var symbolPosition = 0; var thisDisplayLine = \full; var thisDisplayValue = true; var thisFontRatio = 0.3; var thisRoundV ...

  9. HOAAmbiDecoderHelper Quark

    ... ons = this.speakerPositions.deepCopy; } */ calculateCenterOfGravity{ var array, size; size = speakerPositions.size; array = speakerPositions.collect({|item,i| item }).deepCopy; centerOfGravity = array.sum / size; } setSweetSpot{|sweet| // t ...

  10. MoscaBase Quark

    ... graphicpath, <>graphicImage, <>graphicOrigin, <>window, <>zoomfactor = 1, <>fontsize = 14, <graphicScale = 100, <maxundo; var <>orient; //origin with respect to graphic pixels var <mark1, <mark2, <>gnssLat, <>gnssLon; var <>lat = 0, <>lon = ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow