squarefeet / audio.io-old

A (possibly overkill) web audio and MIDI helper library
https://github.com/squarefeet/audio.io
6 stars 2 forks source link

How to link up Views, Models, and audio Nodes? #13

Closed squarefeet closed 11 years ago

squarefeet commented 11 years ago

Should audio.io.Node be used as a "controller"? It could create Views and Models...

Regarding communication between Nodes, Views, and Models: At the moment, Views create their Models. Maybe a Node should create the Model then comms from View to Model could go thru the Node, and comms from Model to Node and vice versa are built in to the Node...

squarefeet commented 11 years ago

Marking as closed. A Controller class has been created that creates a specific View, Model and audio Node for itself. All communication goes thru the controller.