Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    LinLin: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Maths'>Maths LinLin : Object Map a linear range to another linear range Source: Line.sc See also: ...

  2. DUGen Doc

    ... s Inherited instance methods Undocumented instance methods expexp explin linexp linlin Help template Classes | Undocumented classes DUGen : UGen : AbstractFunction : Object (Undocumented class) Source: Demand.sc Subclasses: DNoiseRing , Dbr ...

  3. 210-patterns_and_particles Doc

    ... 5, 12, 0]), Pseq([5, 2, 3])), \finish, Pfunc{|ev| ~createObj.value(y: ev.degree.linlin(0, 15, 0.75, 0.25), vx: ev.dur.linlin(0.08, 0.5, 10, 1).rand2, dur: ev.dur.linlin(0.08, 0.5, 30, 50))}).play Pbind(\dur, 0.125, \amp, Pn(Pshuf([0.1, 0.1, ...

  4. UGenPatterns Doc

    ... ate PHasher PHPZ1 PHPZ2 PInRange PInRect PIntegrator PLastValue PLatch PLinExp PLinLin PLPZ1 PLPZ2 PMantissaMask POnePole POneZero PPeak PPulseCount PRunningMax PRunningMin PSchmidt PTDelay PToggleFF PTrig PTrig1 PWrap Examples s.boot //slo ...

  5. particle_system_with_sound Doc

    ... 0, x= 0, y= 0, a= 1, d= 0| var freq= y.linexp(0, height, 2000, 50); var amp= a.linlin(0, maxAge, 0.1, 0).lagud(0, 0.1); var pan= x.linlin(0, width, -1, 1); var src= SinOscFB.ar(freq+d, (d*0.01).clip(0, 1), amp); DetectSilence.ar(src, doneA ...

  6. OSCMapperElement Doc

    ... will transform the received values. // add +20 to all values {|v| v+20} // use linlin to map [0, 1] to [20, 200] linlin(_, 0.0, 1.0, 20.0, 200.0); ⧉ ✔ callback A function which will be called. First argument is the received value. {|v| "re ...

  7. 261-oscillators_clocks Doc

    ... 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2pi)*0.8).linlin(-1, 1, 0, width-1); var y= (cos(i/n*2pi)*0.8).linlin(-1, 1, 0, height-1); RedOscillator(world, RedVector2D[x, y], nil, nil, 0, 1/n*width) .coupling_(0.1/ ...

  8. Exercise_04_HOA_plane_versus_spherical_waves Doc

    ... Rect(20, 20, 260, 260)) .action_({|sl| var position; position = Cartesian(sl.y.linlin(0,1,-5,5), sl.x.linlin(0,1,5,-5), 0); [\x, position.x, \y, position.y].postln; position = position.asSpherical; [\radius, position.rho, \azimuth, positio ...

  9. 140-mouse_listening_synth Doc

    ... et( \freq, (height-o.loc[1]/height).linexp(0, 1, 200, 2000), \beat, (10-o.mass).linlin(1, 10, 0.5, 5), \lp, (10-o.mass).linexp(1, 10, 200, 2000), \pan, o.loc[0]/width*2-1, \amp, (width-o.loc.distance(w.mouse)/width).pow(8)*(o.mass).linlin(1 ...

  10. SolarSystem Doc

    ... r the LFO freq = p.mass.expexp(0.055,317.8,2000,100); modFreq= p.rotationPeriod.linlin(0,243.0185,10,0,1); modAmp = p.rotationPeriod.linlin(0,243.0185,0.5,0,1); ~synths.add(p.name -> Synth(\planet,[\out,~numAudioOutputs+i,\freq,freq,\modFre ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow