Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Exercise_12_HOA_NRT_using_scores_and_SynthDefs Doc

    ... erver \freq, i.linexp(0, numNotes, 500, 5000).rand, // mapping frequency \az, i.linlin(0,numNotes, -pi*1.5 , pi*1.5).mod(pi), // mapping azimuth \el, i.linlin(0,numNotes, -pi, pi), // mapping elevation \dur, i.linexp(0.0, numNotes, 100, 800 ...

  2. VoicerMIDISocket Doc

    ... to an amplitude using Latch and some range mapping: e.g., Latch.kr(gate, gate).linlin(0, 1, 0.1, 0.5) . The note data are also provided to an event pattern that supplies arbitrary arguments for each note. See -noteOnArgsPat . Class Methods ...

  3. SamplerQuery Doc

    ... from MIDI CC callbacks: SamplerQuery.playing[0].do{|voice| voice.set(\amp, ~cc7.linlin(0, 127, 0, 1))}; ⧉ ✔ Voices remove themselves when they end. . releaseGesture Gate off every playing voice tagged with one of the given gesture IDs (0.1 ...

  4. SpecFlatness Doc

    ... atness.kr(chain); flatdb = 10 * flat.log; // Convert to decibels flatdbsquish = LinLin.kr(flatdb, -45, -1.6, 0, 1).max(-10); // Rescale db roughly to 0...1. flat.poll(10, "flatness: "); flatdb.poll(10, "flatness (db): "); [flat, flatdbsquis ...

  5. 175-springs_interconnected2 Doc

    ... 1), \freq, obj.vel.minItem, \phase, obj.loc.distance(cent)*50, \pan, obj.loc[0].linlin(0, width, -1, 1) ); }; }; w.play; CmdPeriod.doOnce({w.close}); } )

  6. UGen Doc

    ... lag2 lag3 lagud lag2ud lag3ud varlag slew degreeToKey minNyquist snap softRound linlin linexp explin expexp lincurve curvelin bilin prune checkBadValues if binaryValue isPositive isStrictlyPositive isNegative |==| @ asComplex dumpArgs Other ...

  7. 174-springs_interconnected Doc

    ... \freq, obj.size, \phase, obj.vel.abs.maxItem*1000, \amp, 0.01, \pan, obj.loc[0].linlin(0, width, -1, 1) ); //--render objects Pen.addOval(Rect.aboutRedObject2D(obj)); }; Pen.fill; }; w.play; CmdPeriod.doOnce({w.close}); } )

  8. Fb1_ODE Doc

    ... = Fb1_ODE.ar(\MSD, [f, mass, spring, dampen], leakDC: false ); SinOsc.ar(sig[0].linlin(0, 0.005, [100, 101], 700), 0, 0.1) }.play ) x.release // for audible sound production take a time multiplier and a scaling factor // and get a decaying ...

  9. 102-particle-system_fountain_synth Doc

    ... onding synth \freq, newPart.size.linexp(0, 3, 10000, 3000), \amp, newPart.accel.linlin(-5, -10, 0, 0.2), \rel, newPart.size*0.05, \pan, world.gravity[0] ]); }; //--system sys= RedParticleSystem.new; sys.removeAction= makeParticle; //--loop ...

  10. LinExp Doc

    ... n : Object Map a linear range to an exponential range Source: Line.sc See also: LinLin Description Converts a linear range of values to an exponential range of values. Class Methods LinExp. ar ( in: 0.0 , srclo: 0.0 , srchi: 1.0 , dstlo: 1. ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow