Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. API-old-help Quark

    ... asStream; a.exposeMethods(b,[ 'next' , 'reset' ]); s.boot; p = Pbind ( \freq , Prand ([300, 500, 231.2, 399.2], inf ), \dur , Prand ([0.1, 0.3], inf )); a = API ( 'p' ).exposeMethods(p,[ \play ]); // 6 methods a.functionNames // I have no d ...

  2. Purno Quark

    /* FILENAME: Purno DESCRIPTION: Pattern implementation of an urn based random selection principle from a list. AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: */ Purno : ListPattern { *new { arg list, repeats=1; ^super.new(list, repeats); ...

  3. dog Quark

    ... 10, resfreq = 500, ringtime = 0.01| var n = 15; var env = EnvGen.kr( Env({ 1.0.rand2 }!(n+1), {1.0.rand}!n, curve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * ...

  4. SCMMultiStepView Quark

    ... "test").front().action_({ |v| v.postln; }).labelText_("Label test").value_(1.0.rand).value.postln; * SCMMultiStepView() * * AUTHOR: Marinus Klaassen (2012, 2021Q3) * * EXAMPLE: a = SCMMultiStepView().front().editMode_(true) b = a.getState( ...

  5. organ_reed Quark

    ... 3, release = 0.3| var snd, blow; // pulse with modulating width snd = Pulse.ar((Rand(-0.03, 0.05) + freq.cpsmidi).midicps, 0.48 + LFNoise1.kr(0.06, 0.1), 0.2); // add a little "grit" to the reed snd = Disintegrator.ar(snd, 0.5, 0.7); // a l ...

  6. RedEfxTape Quark

    ... ; wet= OnePole.ar(OnePole.ar(wet, 0.4), -0.08); wet= Rotate2.ar(wet[0], wet[1], Rand(0.1, 0.25)); wet= DelayL.ar(wet, 2, rate.min(2)); wet= LeakDC.ar(wet); wet= ((wet+dry)*ff).softclip; LocalOut.ar(wet); ReplaceOut.ar(out, XFade2.ar(dry, we ...

  7. AmbientLight Quark

    ... lor .green) o.set([0, 1], Color .red) o.set o.set([0, 1, 2], { Color .green*1.0.rand}!3) o.set(2, { Color .blue}!3) o.set([0, 1, 2], { Color .red}!3) o.set([2], { Color .red}!3) o.set([0, 1, 2], Color .black) SerialPort.closeAll

  8. ProxyPresetGui Quark

    ... @ parent.bounds.bottom)) }); Button(zone, Rect(0,0,40, butHeight)) .states_([["rand", skin.fontColor, skin.foreground]]) .font_(font) .action_({ |but, modif| // cocoa and swingosc -alt mod. var rand = if (modif.isAlt) { object.setRand(expr ...

  9. CtkNote Quark

    ... F .ar( WhiteNoise .ar(amp), freq, 0.01, amp * envgen); Out .ar(0, Pan2 .ar(src, Rand (-1.0, 1.0))); }) ); /* REAL TIME USES */ // show the args a.args; // create a new instance of CtkNote based on this prototype b = a.new(1.0); // set value ...

  10. extStoredListDialogs Quark

    ... , (200@30)); var txt = EZText(nil, bounds, "store as:"); name = name ?? { Array.rand(8, 97, 122).collect(_.asAscii).join }; txt.textField.string = name; txt.textField.action = { |tf| "% - adding setting: ".postf(this); this.add(tf.string.as ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow