-
... lectronic.com/media/1014018/skovenborg_nielsen_2007_loudness-meter_dafx.pdf for background. ( // This is entirely interchangeable with a loudness algorithm of your // choice. Just make sure that the values returned are in [0..1]. Synt ...
-
... vetica", 8)) .string_(i.asString) } ; u = UserView(w, Rect(0, 20, d, e)).background_(Color.white) ; f = {|v, f2, f1| StaticText(u, Rect(f2.linlin(500, 2500, d, 0), f1.linlin(200, 800, 0, e)-18, 40,40)) .string_(v).font_(Fo ...
-
... c.setSynchronous(50*(y/4)); }; w.onClose = { Ndef(\sound).end(1) }; u.background = Color.blue(0.5); u.animate = true; k = Rect(100, 100, 50, 50); u.drawFunc = { var osc = Ndef(\osc).bus.getSynchronous * 0.5 + 0.5; ...
-
... { t = t + 45; sz = sz + ((t/250).sin.abs * 5); ~sliders.do({ |i,n| i.background = 0.5.coin.if({ Color.rand }, { Color((t>>n).cos/2+0.5,(n&t).cos/2+0.5,(t|n).cos/2+0.5) }); i.knobColor = Color([0,1].choose,[0,1].choose,[0,1].c ...
-
... te.value; }; canvas = UserView(w, Rect(0, 30, 800, 300)) .background_(Color.white) .animate_(true) .mouseDownAction_(draw) .mouseMoveAction_(draw) .mouseUpAction_({ last ...
-
... older dragArea = DragSink() .string_("1b. Drag a folder") .align_(\center) .background_(Color.gray(0.8)) .receiveDragHandler_ { var path = View.currentDrag; if (path.isKindOf(String) and: { File.exists(path) } and: { File.typ ...
-
some sound exploring - [soundcloud](http://soundcloud.com/vividsnow/bin-aural-revolve) ( fork { loop { Ndef(\ae, { var gen = { |...par| [LFNoise2,LFNoise0,LFBrownNoise2,LFBrownNoise0,SinOsc,LFPar].choose.kr(*par) }; var sig = Media ...
-
... 160, 40, windowWidth, windowHeight)).front; u = UserView(w, w.view.bounds); u.background=Color.white; u.clearOnRefresh_(false); u.drawFunc={ Pen.fillColor = Color.black; Pen.addRect(Rect(p1, p2, 1, 1)); Pen.fill; }; r=Rout ...
-
Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code
... = Window(\aliasing, Rect.aboutPoint(screen.center, width / 2, height / 2 + 60)).background_(Color.white), sinPts = 400, sampPts = 20, sr, freq = 1, fsl, sinColor = Color.red, sampColor = Color.blue, lineColor = Color.grey; win.draw ...
-
... view = UserView(win, Window.screenBounds); view.clearOnRefresh = false; view.background = Color.white; //any click sets point as current mouse location //left-click does nothing special //right-click clears palette view.mouseDownAc ...