-
... nnected. //with mouse controlling mid point //with simple sounds mapped to each object. ( s.waitForBoot{ var width= 640, height= 480, w, wgrav, world, n= 18, objs, sprs, syns; //--synthesis SynthDef(\imp, {|out= 0, freq= 0, phase= 0, cutoff ...
-
SeqChordNote : SequenceNote Encapsulates all the notes of a chord into a single object. This way, manipulations on an array of note objects will not break a chord. See SequenceNote for the base class, and SequenceItem for a grace note + cho ...
-
SeqChordNote : SequenceNote Encapsulates all the notes of a chord into a single object. This way, manipulations on an array of note objects will not break a chord. See SequenceNote for the base class, and SequenceItem for a grace note + cho ...
-
... dWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[30.rrand(width-30), 30.rrand(height-30)]; var mass= 8.rrand(30); RedPendulum(world, loc, nil, nil, mass, mass*3) //world,loc,vel, ...
-
... = RedWorld3(RedVector2D[width, height], 0, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 0.5.rrand(4); RedBoid(world, loc, vel, 0, mass, mass*5) //wo ...
-
/* methods to add methods to objects, returning ExtendableObjects without nesting them */ + Object { addMethod { |selector, function| ^ExtendableObject(this).addMethod(selector, function) } // replace later by addHalo addHalo2 { |...args| ^ ...
-
//multiple objects with gravity + a 'wind' force blowing here and there ( var width= 300, height= 300, w, world, wgrav, n= 50, wind, cnt= 0, amp= 0.5, period= 400; //--world w= RedWindow("wind test", Rect(128, 64, width, height)).front; wgr ...
-
... Win; // new one History.start; c = History.current; h = HistoryRepGui(c, 12); h.object = History.current; h.object = nil; c.hasMovedOn;
-
... Recording, storage and recall of note data from a MIDI device. This is a heavy object so you should not create more of them than you absolutely need. You must initialize the MIDIBufManager explicitly before use: MIDIBufManager (clock, chan ...
-
... Recording, storage and recall of note data from a MIDI device. This is a heavy object so you should not create more of them than you absolutely need. You must initialize the MIDIBufManager explicitly before use: MIDIBufManager (clock, chan ...