-
... moveTo(0@0); Pen.lineTo(50@350); Pen.translate(10, 0); // shift 10 to the right every time Pen.stroke } }; w.refresh; ) ⧉ ✔ Pen. scale ( x: 0 , y: 0 ) Scales subsequent drawing. x and y are scaling factors (i.e. 1 is normal, 2 is double siz ...
-
... 5 lines 35.do { Pen .moveTo(0@0); Pen .lineTo(50@350); // shift 10 to the right every time Pen .translate(10, 0); Pen .stroke } }; w.refresh; ) *scale (x=0, y=0) Scales subsequent drawing. x and y are scaling factors (i.e. 1 is normal, 2 is ...
-
... as the first input to Out.ar . It is a good habit to provide an out control in every SynthDef. Review 04. Functions and Other Functionality for more about function arguments. SynthDefs vs. Functions This UGen Graph Function we used in the ...
-
... he SuperCollider IDE (Language->Recompile Class Library). You can then check if everything is working by running: NTMI.run; ⧉ ✔ NTMI Concepts The NTMI Main Stage When you run NTMI you will first see two windows: the Butz and Main Stage . Bu ...
-
... t by which stream, // this done via the \synths key, which must be contained in every collection of pairs. ( p = PpolyPar([[ \synths, 0, // values before \dur are not sent to server, so do this work here: // echo (out b) is coupled with sho ...
-
... determine wether the cursor is visible. if refresh is true, the view is cleared every frame before drawing. Otherwise, the drawing continually draws on top of what's already there. An incoming \clear (or a 0) message will clear the view. *o ...
-
... is is a MetaControl approach. It maps input values to output values by allowing every input param to influence any output param by a given weight. InfluxBase (or also IBdef) are the base classes for all Influx variants InfluxMix (or also IM ...
-
... seconds }; n = nodes.select { |node| // matchItem interface: nil id arg matches everything id.matchItem(node.id) and: { node.isPlaying and: { node.isReleasing.not and: { node.releaseTime.isNil and: { node.lastTrigger < seconds } } } } }.sor ...
-
... t actually is the only way to generically access sythDefs after their creation. Every time a SynthDef is created, it is stored inside a special class, SynthDefStorage , that is just a wrapper for a dictionary. In this way, a Dictionary asso ...
-
... ing.copySeries( first, second, last ); } asAttributesArray { ^( if( [x,y,dx,dy].every({ |item| (item == 0) or: (item.isNil ) }).not ) {[ [ "x", x !? { x.asCollection.join( " " ) } ], [ "y", y !? { y.asCollection.join( " " ) } ], [ "dx", dx ...