Skip to content

method with contents? #57

@x37v

Description

@x37v

Is there any reason that an OSC method actually has to be a leaf?

The proposal references the OSC spec and provides this bullet point:

An OSC server's OSC Methods are arranged in a tree structure called an OSC Address Space. The leaves of this tree are the OSC Methods and the branch nodes are called OSC Containers.

but, for instance, libossia let me create this:

{
  "FULL_PATH": "/",
  "CONTENTS": {
    "foo": {
      "FULL_PATH": "/foo",
      "TYPE": "f",
      "VALUE": 0.5,
      "ACCESS": 3,
      "CLIPMODE": "none",
      "CONTENTS": {
        "bar": {
          "FULL_PATH": "/foo/bar",
          "TYPE": "ff",
          "VALUE": [
            1,
            2
          ],
          "ACCESS": 3,
          "CLIPMODE": "none",
          "EXTENDED_TYPE": "vecf"
        }
      }
    }
  }
}

This doesn't seem like it would cause a problem..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions