saunaklub / etudes

Études audiovisuels
GNU General Public License v3.0
5 stars 0 forks source link

Add meta/control namespace for online adding/removing/enabling of host properties, elements, etc.. #16

Open claudiocabral opened 8 years ago

claudiocabral commented 8 years ago

I think we should be able to create and destroy elements with OSC messages. This should be fairly easy to implement in the current state of the project, I'll look into it this week.

drlight-code commented 8 years ago

Good point. To implement it, create a dedicated branch so can to do some reviewing together before it is merged to master. Also we have to decide on a kind of naming scheme for the messages which do not relate to etude or element inputs. We could think e.g. about having reserved namespaces like /control for host-level control messages, like switching between etudes or setting other global parameters, and //control for etude-level control messages like creation of elements. Usage of those reserved names for actual inputs should then be catched and considered an error in the respective registerInputs. Also when parsing the config file and creating the etudes (there may be no etude named 'control'), to avoid accidental and surprising name clashes.