-
// ixi adaptation of Newton Armstrong's Record class XiiRecord { var <server, <inbus, <numChannels, <headerFormat, <sampleFormat; var <isRecording=false, <bufnum, synth; *new { arg server, inbus=0, numChannels=2, headerFormat='aiff', sample ...
-
// This creates an instance of the DMX class (see the DMX quark): d = DMX.new; // create a DMX device (the argument is the serial path at which it can be reached; see SerialPort.devices) e = EntTecDMXUSBPro.new( "/dev/ttyUSB0" ); // set the ...
-
... ssertEquals(j[\false], false, "Value can be false"); this.assertEquals(j[\null].class, Ref, "Null needs to be wrapped in a Ref"); this.assertEquals(j[\null].value, nil, "Unwrapping Ref(nil) should be nil"); } test_stringsDecode { var j = th ...
-
... e); if (index.isNil) { ^nil } { ^(index * (1.0 / items.size)); } } copy { ^this.class.newFrom(this) } }*/ ItemSpec { var <items, <warp, <>default, <spec; *new { |items, warp = 0, default| ^super.newCopyArgs( items, warp, default ).init; } i ...
-
... and , Event patterns and Functions , VarGui , VarGui shortcut builds Creation / Class Methods *new (lo, hi, length, envir) Creates a new PLexprand object. lo - Symbol or Pexprand lo arg. Defaults to 0.0001. If a Symbol is passed, lo can be ...
-
... ect { doOnChange { |what, action, oneShot = true, replace = true| var controllerClass, controller; if( oneShot ) { controllerClass = OneShotController; // from wslib } { controllerClass = SimpleController; // from main }; if( replace ) { co ...
-
ReimData A convenience class for holding data used for Auditory Augmentation. Internally the data is send to a control-rate bus, which then can be accessed via the kr method. See also ( ReimFilter ). ( // load some Data q = q ? (); q.data = ...
-
// abstract class HasPatchIns : AbstractPlayer { var <patchIns; connectPatchIns { //i know of the synth, i hand out the NodeControls patchIns.do({ arg patchIn, argi; patchIn.nodeControl_(NodeControl(synth, this.argNameAt(argi))); this.input ...
-
... .play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remove(this); } cmdPeriod { this.close; } //--private prCommand {|cmd| port.put(cmd)} prCommandArray {|cmd| ...
-
... ////////////////////////////////////////////////////////////////// // // AmbEnc Class // // based on Frauenberger implementation of PanAmbi.sc // // implements Ambisonic encoders up to 3rd order // N3D normalization, // ACN order : W, Y,Z,X ...