RolandJansen / intermix

Typescript/Javascript framework for building sequencer-based audio apps
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Rewrite events to be compatible with an event dispatcher #32

Closed RolandJansen closed 8 years ago

RolandJansen commented 8 years ago

this should be done when an event dispatcher is available. See #31.

RolandJansen commented 8 years ago

The event bus doesn't rely on well defined event definitions. The current definitions are not very usefull anymore but it could make sense to define some standard events like notes, volume, etc. Putting it back to milestone 0.4.

RolandJansen commented 8 years ago

To be compatible with other event dispatchers, events should be of the form (

, ). Where address is the uid and msg is the message object including all other data.

RolandJansen commented 8 years ago

Renamed Events as Helper. It contains helper functions to create/validate events as well as a frequency table and a function to validate js objects. All things that are helpful and not bound to a specific class can be added here.