Group

Groups let you wrap a bunch of objects into a new object (a group). To do this, you have to save all the object definitions in a specific file and then open a Group with this file:

metro = Metro()
metro => miin
miin = Group(load:"project/midi_helper.rk" mi/port:0 lua/load:"project/midi_cleanup.lua")

This creates the following setup:

groups

In fact the rubyk planet is the root group. See classes for details.

contents

parameters

Note how the parameters for Lua and MidiIn are passed:

  • mi/port addresses object “mi”, parameter “port”
  • lua/load addresses object “lua”, parameter “load”

osc

Objects in the group named “miin” are addressed with osc paths:

  • /venus/miin/mi
  • /venus/miin/lua

Outlets:

  • /venus/miin/outlets

Etc.