-
... _(0.25); if( viewRect.width < (this.view.bounds.width/4) ) { width.do({ |i| Pen.line( (i + left) @ top, (i + left) @ bottom ); }); Pen.stroke; } { if( viewRect.width < (this.view.bounds.width/0.4) ) { (width/10).ceil.do({ |i| i = i*10; Pen. ...
-
... s, {arg freq=220, out=0, amp=0.7, res=0.5; var sig, env; sig = LFPulse.ar(Line.ar(freq, freq/4, Rand(0.01, 0.1)), 0, Rand(0.01, 0.99), amp); sig = RLPF.ar(sig, freq*5*Line.kr(1, 0, Rand(0.1, 0.9)), res); env = Env.perc(0.001, Ra ...
-
... floor Pen.addRect(Rect.aboutPoint(0@0,f*world.dim.y/2,f*world.dim.x/2)); //wall lines Pen.line(Point(world.dim.y/2,world.dim.x/2),Point(f*world.dim.y/2,f*world.dim.x/2)); Pen.line(Point(world.dim.y/2.neg,world.dim.x/2),Point(f*world.dim.y/2 ...
-
... *[1,2,4].choose)).exprange( {200.rrand(400)}!2, {500.rrand(1100)}!2 * Line.kr(0.5.rrand(2), 3.rrand(8.0),dur) )); [freq, freq/[2,4].choose + SinOsc.kr([10,25],0,5), XLine.kr(0.1,1.rrand(3.0),dur/1.rrand(2.0))] }.()).sum ...
-
... t Basic psychoacoustic amplitude compensation (ANSI A-weighting curve). Source: Line.sc See also: AmpComp Description Higher frequencies are normally perceived as louder, which AmpCompA compensates. Following the measurements by Fletcher an ...
-
... will not fit nicely on button. One or two short words are best. You can force a line break in the string using \n if needed. // examples for help file: /* ( z.changeButtonLabel(midinote: 36, string: "POPCORN \n WOW"); z.changeButtonLabel(mi ...
-
... 10-1301, USA. */ CollidingControl{ var ctlKeys; var <>view; var colorIsSet; var lineIsNew; var synths; var <app; *new{|app, player| ^super.new.init(app) } init{|anApp| app = anApp; this.initMIDI; } initMIDI{ MIDIClient.init; MIDIIn.connectA ...
-
... dict, path| var string, file; string = "---\nlayout: controllers\n" ++ //single line [ \title, \hwInterface, \vendorURI, \manual, \type, \imageFilename, // \hasScribble, \descEditPath, \scribbleFilename ].inject("", {|last, key| var val = d ...
-
... z Description Two channel equal power panner. Pan2 takes the square root of the linear scaling factor going from 1 (left or right) to 0.5.sqrt (~=0.707) in the center, which is about 3dB reduction. With linear panning (LinPan2) the signal i ...
-
... used for debugging purposes. // examples: s.boot; { Poll .kr( Impulse .kr(10), Line .kr(0, 1, 1), \test ) }.play(s); // multichannel expansion: { Poll .kr( Impulse .kr([10, 5]), Line .kr(0, [1, 5], [1, 2]), [ \test , \test2 ]) }.play(s); / ...