Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 140-mouse_listening_synth Quark

    ... 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 ...

  3. listening-mod-rms Quark

    ... ar sig, rms; sig = SoundIn.ar( (in-1).max(0) ); rms = RMS.ar(sig).min(1).max(0).linlin(0, 1, -1, 1); (rms * mul).exprange(20.0, 20000.0) + add}); Ndef('block1').xset('freq', Ndef('mod1')); == radpostcont == (none)

  4. A3 - Granular Sampling by bbates (bbates) Code

    ... ls: 1, bufnum: ~buf1, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; SynthDef("2", {arg rate = 1, ...

  5. XiiMasterEQ Quark

    ... [ "low shelf", "peak 1", "peak 2", "peak 3", "high shelf" ], { |i| Color.hsv( i.linlin(0,5,0,1), 0.75, 0.5).alpha_( 0.25 ); }!5 ) .font_( eq[ \font ] ) .resize_( 7 ); eq[ \tvw ].focusActions = { |i| { eq[ \selected ] = i; eq[ \uvw ].refresh ...

  6. ChordtrisPreferenceDialog Quark

    ... slider = Slider(v, Rect(0,0,200,20)).action_{ |slider| var value = slider.value.linlin(0, 1, setting.values[0], setting.values[1]).round(setting.parameter); text.string_(value); setting.value_(value); }; text = StaticText(v, Rect(0,0,50,20) ...

  7. Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code

    ... .moveTo(pt); pt = Point(x * (width / sampPts), sin(x * freq / sampPts * 2pi).linlin(-1, 1, height, 0)); Pen.lineTo(pt).stroke .fillRect(Rect.aboutPoint(pt, 3, 3)); }; Pen.color_(sinColor) .moveTo(Point(0, height/2)); (1 ...

  8. point_axis Quark

    ... (rotate).asArray; value = Select.kr( which, point ++ point.neg ); value = value.linlin( *fromRange ++ [-1,1, \none ] ); value = Select.kr( clipMode, [ value.softclip2(1, clipSoftness ), value.softfold2(1, clipSoftness ), value.wrap2(1), val ...

  9. SGME_Invertor Quark

    ... //////////////////////////////////////////////////// gain_ {|g| gain = g; g = g.linlin(-5, 5, -1, 1); // gain no es otra cosa que un factor de multiplicación por 1 y -1 en sus valores extremos. synth.set(\gain, g); } offset_ {|o| offset = o ...

  10. main-fx-convrev1 Quark

    ... * Line.kr(0,1,0.1); output = \convrev; (output*mix.max(0).min(1)) + (input*mix.linlin(0,1,1,0)); }); == radpostcont == (none)

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow