Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1204) Code (149) Doc (369) Help (93) Quark (575) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. CtkControl Quark

    ... = Control .names([ \env ]).kr( Env .newClear(8)); envgen = EnvGen .kr(env, timeScale: dur, doneAction: 2); src = SinOsc .ar(freq, 0, amp * envgen); Out .ar(0, Pan2 .ar(src, Rand (-1.0, 1.0))); }), SynthDef ( \control , { arg outbus, rate, ...

  2. InputRouterGUI Quark

    ... ssion( i, ii, amt: sl.value ); }); if( GUI.scheme == \cocoa ) { el.amt.skin_( ( scale: Color.clear, center: Color.gray(0.5, 0.5), level: Color.black.alpha_(0.7) ) ) }; StaticText( parent, 20 @ rowHeight ) .applySkin( skin ) .string_( "db:" ...

  3. AlgaProxySpace Quark

    ... def | var wasPlaying = node.isPlaying; var playChans = node.playChans; var playScale = node.prevPlayScale; var interpTime = node.connectionTime; var interpShape = node.interpShape; var playTime = node.playTime; var defBeforeMod = def.copy; ...

  4. XiiSpectralEffects Quark

    ... r_{arg slidernum=0, val=0.5; xiigui.setSlider_(slidernum, val) } } // shift and scale the position of the bins XiiBinShift { var <>xiigui; *new { arg server, channels, setting = nil; ^super.new.initBinShift(server, channels, setting); } ini ...

  5. CtkGroup Doc

    ... c; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGen.kr(env, timeScale: dur, doneAction: 2); src = SinOsc.ar(freq, 0, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }), SynthDef(\control, {arg outbus, rate, low, hi; ...

  6. Order-of-execution Doc

    ... ), ffreq, 0.3); Out.ar(bus, Pan2.ar(sig, pan) * EnvGen.kr(Env.perc(0.1, 1), timeScale: noteLen, doneAction: Done.freeSelf)); }).add; SynthDef("LFNoise1", { arg freq, mul, add, bus; Out.kr(bus, LFNoise1.kr(freq, mul:mul, add:add)); }).add; ) ...

  7. SCImageFilter Doc

    ... t applying them in place // convenient for RT use / test or whatever... // here scale down the image otherwise with the zoomblur it will take your computer // to its knees using addFilter and not applyFilter // kinda fast swapping test a = ...

  8. WFSPathView Quark

    ... rent, bounds ); } *initClass { icons = ( \select: { |bt, rect| // \select //var scaleAmt; Pen.width = 1; Pen.lineDash_( FloatArray[ 1,1 ] ); Pen.addRect( rect.insetBy( rect.width * 0.25, rect.height * 0.25 ) ); Pen.stroke; }, \move: { |bt, ...

  9. pbell1 Quark

    ... when instatiated, // muteSecs: mutes output and sets the decay to zero and then scales back to normal during the first muteSecs of the synth's life ~name = \pbell1; ~description = "a variant of a synthesized bell (unstable)"; ~channelLayout ...

  10. openbci_gui_accelerometer Quark

    ... .start; var fps= 60; var usr, pop1, pop2, pw, po; var img, imgFunc; var verticalScale, horizontalScale; var f0= Font("Helvetiva", 16); var f1= Font("Helvetiva", 14); var f2= Font("Helvetiva", 10); var f3= Font("Helvetiva", 20); var colors= ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow