Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (516) Code (14) Doc (192) Help (86) Quark (220) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. wavetable interpolation drone by elifieldsteel (eli.fieldsteel) Code

    ... ffer.freeAll; /* Function for interpolating between two values based on an interpolation value: 0 ==> old, 1 ==> new, 0.5 ==> halfway between old/new, etc */ ~interpFn = { arg old=20, new=10, bal=0.5; old + ((new - old) * bal ...

  2. Interpolate between Envs with Pseg by 0-2U (grirgz) Code

    For a long time, I thought it was impossible to use Pseg to interpolate between Envs like it does with simple values, but I discovered it only needs .asArray ( SynthDef(\sin, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; sig ...

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

    ... u don't hear any noise or clicking. (you would if you had too few steps in the interpolation, but even with 20-50 steps, it seems noise-free) ( // Set things up, and start the Synth s.waitForBoot { SynthDef(\oscplayer,{ arg out = 0, bu ...

  4. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... playback. Each buffer holds one extra sample, to try to give BufRd's linear interpolation enough information to work with. There may or may not be an off-by-one bug here. If you find a problem, let me know. ( ~loadChunks = { |server, p ...

  5. FM Patterns by elifieldsteel (eli.fieldsteel) Code

    ... \atk, Pwrand([0,Pexprand(0.02,0.1,1)],[0.99,0.01],inf), \rel, Pseq(Array.interpolation(64,0.03,0.25).mirror2,inf), \cAtk, 1, \cRel, Pseq(Array.interpolation(64,-4,3).mirror2,inf), \amp, Pseq([Pfin(64, Pseq([Pgeom(0.13,-3. ...

  6. Formant Synthesis Singers GUI Demo by bruno (Bruno Ruviaro) Code

    ... ]; fundamentalFrequency = 100; vibratoSpeed = 6; vibratoDepth = 7; // Interpolation between corners fxy = {arg x, y; 3.collect({arg e; 5.collect({arg i; ( f00[e][i] * (1-x) * (1-y) ) + ( f10[e][i] * x * (1-y) ...

  7. envio by vividsnow (vividsnow) Code

    ... prand(3)).normalizeSum) // * Line.kr() ), NamedControl.kr(\sub_pan, Array.interpolation(ha.size,-1,1)) * Line.kr(from,to,dur) ).sum * EnvGen.kr(Env.perc(atk, dur-atk, amp, curve).blend(Env.sine(dur), blend), doneAction:2); sig ...

  8. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    GUI animation for multiple wavetable interpolation ( //after running code, esc key to close window and abort animation var wt0, wt1, result, wt0view, wt1view, resultView, animateFn, wmean, numSteps, animate, wtIndex, win, wtPosBox, wt ...

  9. Graphical Tracker Functions by simon (Dindoléon) Code

    ... ( rythm_array.size + 1 * margin ) / ( rythm_array.size ); var steps = Array.interpolation( number_of_steps, min_val, max_val ); // Interpolation between min value and max value, returning an array which size is equal to the number of st ...

  10. Draw your waveform feat. silly pattern player by rukano (rukano) Code

    ... $1, { a.size.do{ |i| f.(i, 512.rand) } }, // random waveform $2, { Array.interpolation(1024, 0, 512).do{ |val, i| f.(i, val) } }, // linear ramp $3, { Array.fill(1024, { |i| sin(i/1024*2pi) * 256 + 256 }).do{ |val, i| f.(i, val) } ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow