-
... = { |i, periode=2pi| sin((i/n)*periode) }; var lastValues = { 0 }.dup(n); uv.background = Color.black; uv.animate = true; uv.frameRate = 120; uv.drawFunc = { |uv| var values = Array.fill(n, { |i| sinFunc.((i-1) + (uv.frame/100), uv. ...
-
... window window = Window.new("test", Rect(100,100,150,100)).front; window.view.background_(Color.new(153,255, 102)); chordview = UserView(window); chordview.drawFunc = { |uview| var viewwidth = uview.bounds.width; var viewheight = ...
-
... out some stuff to get some melodies/pads out of feedback and some beats in the background. Ndef(\a, { var src, loc, delay=0.01; src = Decay2.ar(Impulse.ar(1/8), LFNoise2.kr(4).range(0.001, 0.0001), LFNoise2.kr(4).range(0.005, 0.05))! ...
-
... states_number = states.size; var binded_function = nil; multi_button_view.background_( Color.black ); multi_button_view.drawFunc = { | view | var margin; var color_border_ratio = 0.5; var button_size; if( orientation ...
-
... ize_(7) .strokeColor_(Color.new(1,0,0)) .editable_(false) .alpha_(0.4) .background_(Color.new(1,1,1,0.1)) .curves_(-3) .minWidth_(170) .mouseOverAction_({helpView.string = "envelope view of oscillator a´s amplitude is a visual ...
-
... { w.refresh; t = t.not; u.animate = t; } }; u = UserView(w, w.view.bounds); u.background = Color.black; u.animate = t; u.frameRate = 30; u.clearOnRefresh = false; u.drawFunc = { |view| var i = view.frame; var ypos = i % 500; var ...
-
... set(x, (y / 512) * 2 - 1); }; // animate, to cope with the mouse changes u.background_(Color.black); u.animate_(true); u.drawFunc = { |u| Pen.strokeColor = Color.white; Pen.moveTo( Point(0, a[0]) ); a[1..].do{ |value, index| Pe ...
-
... ize_(7) .strokeColor_(Color.new(1,0,0)) .editable_(false) .alpha_(0.4) .background_(Color.new(1,1,1,0.1)) .curves_(-3) .minWidth_(170) .mouseOverAction_({helpView.string = "envelope view of oscillator a´s amplitude is a visual ...
-
... w=Window("Confetti2X", Rect(400, 300, z*~maxIndex, z*~maxIndex)).front; w.view.background_(Color.white); w.front; //function for drawing array on screen w.drawHook = { for(0, ~maxIndex-1, { arg v; for(0, ~maxIndex-1, {arg h; ...
-
exploring of morphing cycled envelopes (i.e. kind of grains) as a sound source; give it some tries - there are possibly interesting ones ( Ndef(\ro_v19, { var freq = 40.rrand(90).debug('base freq'); var seed = thisThread.randSeed = 100 ...