-
... s, n, skip); } plot {|width= 400, height= 400| var win= Window(this.class.name, Rect(100, 200, width, height)); var img= Image.color(width, height, Color.white); var color= Color.black; var w2= width*0.5, h2= height*0.5; matrices2= matrices ...
-
... | initValues[i] ? 0 }!nC; window = SCWindow(nC.asString ++ " x " ++ windowName, Rect(windowOffset.x, windowOffset.y, (nC * 40) + 30, windowH), false); this.midiRecorder = MIDIEventRecorder.arm.isRunning_( false ); busMessage = { |chan, val| ...
-
... textViewDescription, textViewExample, textViewCredits, textViewTags; var windowRect, updateButton, previewButton, installButton, hackButton; var winWidth, winHeight, rawPath = path; winWidth = 815; winHeight = 653; path = PathName(path); w ...
-
... ave fun making noise. ( var win = Window.new( "MiniXul - Dirty Sound Maker", Rect( 0, 0, 1200, 800 ) ); var draw_h_slider; var margin = 10; var lfo_value = 0; var lfo_rate_value = 1.explin( 0.03125, 32, 0, 1 ); var reverb_valu ...
-
... prand (0.0, 1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Plprand" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the values c.histo(500).plot ...
-
... prand (0.0, 1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Phprand" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the values c.histo(500).plot ...
-
... ; i.dump; j.dump; [i, j].do( _ .plot); [i, j].do( _ .free); *fromWindow(window, rect) Creates a new SCImage from a portion of a SCWindow . this can be used to capture either a window or a specific SCView. window - the SCWindow object. rect ...
-
Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code
... ).asInteger, width = (screen.width - 120).asInteger, win = 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, ...
-
... y) }); } initInstances // graphical elements of GUI { // set classvars XiiSlicerRect.canvasBounds = canvas.bounds; XiiSlicerRect.players = Ref(players); // as ref! XiiSlicerDisplay.win = win; //set classvar XiiSlicerDisplay.canvasBounds = c ...
-
... and (0.0, 1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Pmeanrand" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the values c.histo(500).plot ...