-
... her Ariza's article [3]. This SC implementation comes in two variants, with the class Sieve and Psieve patterns. Both variants include the usual sieve operations, which are based on set theory and applied to integers: union, intersection, s ...
-
... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ ULib { classvar <>servers; *initClass { servers = [Server.default] } *allServers { ^servers.collect{ |s| if( s.isKindOf( LoadBalancer ) ) { s.servers } { s } }.flat } ...
-
... (textFieldControlName, 1, 1); buttonRemove = ButtonFactory.createInstance(this, class: "btn-delete"); buttonRemove.action = { if (actionRemove.notNil, { actionRemove.value(this); }); }; mainLayout.add(buttonRemove, 0, 1, align: \right); con ...
-
... .if { groups.miSC_isGrouping(num).if { ^groups; }{ SimpleInitError(errorString).class_(VarGui).throw; } }{ ^[(0..(num - 1))]; }; } init { |varGui, playerView, playerHeight, streamPlayerGroups, synthPlayerGroups, comboPlayerGroups, ctrButton ...
-
/* a utility class to prepare and precisely record a player to a soundfile */ PlayerRecorder { var <>player,<>recHeaderFormat,<>recSampleFormat; var recordBuf,bus,group,synth,responder,prOnComplete; var <>limit; *new { arg player,recHeaderF ...
-
/* a utility class to prepare and precisely record a player to a soundfile */ PlayerRecorder { var <>player, <>recHeaderFormat, <>recSampleFormat; var recordBuf, bus, group, synth, responder, prOnComplete; var <>limit; *new { arg player, re ...
-
// Main Class of the Chordtris Game Chordtris { // game instance classvar instance; // menu item to pause the game classvar <pauseItem; // menu item to resume the game classvar <resumeItem; // The Window Chordtris is displayed in var <windo ...
-
... nic changed to the nearest whole or half note when this is true var <forceSign; classvar defaultname = "C3"; *new { |name, midi, freq, cents = 0| #name, midi, freq, cents = Note.calculate(name, midi, freq, cents); ^super.new.init(name, midi ...
-
... PL , Event patterns and Functions , VarGui , VarGui shortcut builds Creation / Class Methods *new (item, repeats, envir) Creates a new PLn object. item - Symbol or other Object. If a Symbol is passed, item can be assigned to an envir varia ...
-
NanoKtl2 : MIDIKtl { classvar <>verbose = false; var <pxmixer, <pxEditor, <pxOffset = 0, <parOffset = 0; var <>softWithin = 0.05, <lastVals; *initClass { this.makeDefaults; } init { super.init; ctlNames = defaults[this.class]; orderedCtlNam ...