-
... th = scale * 2; Pen.color = selectColor; selected.do({ |item| if( item < curves.size ) { Pen.moveTo( curves[item][0] ); Pen.addArc( curves[item][0] , 4 * scale, 0, 2pi ); }; }); Pen.fill; }; }); // show position if( pos.notNil ) { pospt = t ...
-
... romRange = unit.get( \fromRange ); if( endPoint.isNil or: { unit.get( \device ).size == 0 or: { endPoint.device.find( unit.get( \device ) ).notNil; } }) { if( endPoint.isNil or: { unit.get( \port ).size == 0 or: { endPoint.name.find( unit.g ...
-
... buttonHeight); } { minHeight = (skin.headHeight * 2 + 8); }; defPos = 10@10; minSize = 380 @ minHeight; } makeViews { |options| var butHeight = skin.headHeight; var flow = zone.decorator; // top line StaticText(zone, Rect(0,0, 30, butHeight ...
-
... o(_.send(server)); } *initSynthDefs { |doneFunc| var numArgs = VGTuning.busKeys.size; var maxPartials = VGSynth.maxPartials; var partialNumbers = IdentitySet.new; // quick and dirty: dont add numPartials to synthdefname. VGSound.synthEngine ...
-
... new grain. If ar, grains after the start of the synth are sample accurate. dur Size of the grain. Polled at creation time. freq The freq of the grain generators internal oscillator. Polled at creation time. mul add Inherited class methods ...
-
... 3;\ \ window = SCWindow .new( "Virtual Ambient Lights" , Rect (400, 400, colors.size*(i_width+pad) + (2*pad), i_width+50)).front;\ window.view.background_( Color .black);\ window.drawHook = \\ var j;\ Pen .use \\ Pen .translate(10, 10);\ co ...
-
... sc See also: File , Buffer Description The SoundFile class is used to check the size, format, channels etc. when the sclang client needs this information about a SoundFile. Soundfile data can be read and modified. Soundfile data can also be ...
-
... /--window var win= Window("focus widget", Rect(10, 100, 512, 320)); win.view.minSize= Size(410, 220); win.background= Color.white; win.drawFunc= { Pen.color= Color.black; Pen.stringAtPoint("Focus Widget", Point(10, 10), f0); }; win.front; C ...
-
... \gcSanity, \canCallOS, //printing \asString, \asCompileString, //accessing (?) \size, \indexedSize, \flatSize, // class membership \class, \isKindOf, \isMemberOf, \respondsTo, \performMsg, \perform, \performList, \functionPerformList, \supe ...
-
... synth.org/t/what-is-the-best-way-to-plot-a-synth/5160 . s.boot; ( var bufferSize = s.sampleRate * 1; // Buffer size is fixed. s.sampleRate * seconds makes sense. if( ~plotterIn == nil, { ~plotterIn = Bus.audio( s, 2 ) } ); // Declare ...