-
... d file. You can select portions of the sound file in two different ways: a) directly on the waveform (click and drag); b) using the Selection Slider just below the waveform display. You can also zoom in and out the waveform with Shif ...
-
... do{ |i| QPen.fillColor = boidcolour[i]; QPen.use{ QPen.fillOval( Rect(theseboids[i][0].linlin(0,1,0,400), theseboids[i][1].linlin(0,1,0,400), theseboids[i][2].linlin(0,maxvel/2,10,100), theseboids[i][3].linl ...
-
... eDur}, {view.frameRate})} stop {isPlaying= false} resize {|redVec| view.bounds= Rect(view.bounds.left, view.bounds.top, redVec[0], redVec[1]); } isOpen {^view.isClosed.not} clear {view.clearDrawing} mouseDownAction_ {|func| view.mouseDownAc ...
-
... ack, Color(1, 0.7, 0)]]); but.action_(func); } ); butZone = CompositeView(zone, Rect(0,0, 110, bounds.height - (skin.margin.y * 2))); butZone.addFlowLayout; buttons = numItems.collect { Button.new(butZone, Rect(0,0, 100, skin.buttonHeight)) ...
-
... depends on column in array 1 ) ); }).add; w=Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, {arg v; for (1, ...
-
... u have to add functionality to an already existing one. ( w = Window("move me", Rect(300, 300, 600, 40)).front; w.addFlowLayout; a = Slider(w, Rect(0, 0, 580, 30)); a.action = a.action.addFunc { "I am moved".postln }; ) a.action = a.action. ...
-
... ( var w, addslider, speedslider, synth; w=Window("freq modulation", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); synth={arg x=0, addz = 100, speed = 5; (60..100).do{|f| x=SinOsc.ar(f+[0,f ] ...
-
... ed internally name a String or a Symbol , added to the window's title. bounds a Rect , denoting position and size shortcutsDict a Dictionary shortcuts (keys and actions) to be displayed in the editor showMods whether to expose modifier-keys ...
-
... put x.gui; // gui without styling y.gui; ( // gui with styling w = Window( "x", Rect( 300,25,200,300 ) ).front; RoundView.useWithSkin( ( labelWidth: 40, font: Font( Font.defaultSansFace, 10 ), hiliteColor: Color.gray(0.33) ), { x.gui(w); }; ...
-
... ; }; } init { |inParent, score| if( inParent.isNil ) { parent = Window( bounds: Rect(530, 580, 390, 140) ).front; parent.addFlowLayout; } { parent = inParent; }; this.makeViews( score ); } makeCurrent { current = this } close { var win; win ...