User Tools

Site Tools


registering_midi_input_handlers_from_javascript

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
registering_midi_input_handlers_from_javascript [2017/03/16 14:40]
be.ing [Integrating with Components]
registering_midi_input_handlers_from_javascript [2017/03/16 14:42]
be.ing [Integrating with Components]
Line 49: Line 49:
  
 ===== Integrating with Components ===== ===== Integrating with Components =====
-The [[Components JS]] library would continue to work in largely the same way. The input callback would be registered by the generic ''​Component''​ constructor using the Component'​s ​ ''​midi''​ and ''​input''​ properties as arguments to ''​midi.makeInputHandler''​. ​The input connection ​object ​would be stored ​as a property of the Componenet. As before, input callbacks would use ''​this.group''​ and ''​this.inKey''​ to refer to a ControlObject specified by the Component.+The [[Components JS]] library would continue to work in largely the same way. The input callback would be registered by the generic ''​Component''​ constructor using the Component'​s ​ ''​midi''​ and ''​input''​ properties as arguments to ''​midi.makeInputHandler''​. ​Like the output connections,​ the input connection ​objects ​would be stored ​in an array property of the Component and the library would provide prototype methods for connecting/​disconnecting the input handlers. As before, input callbacks would use ''​this.group''​ and ''​this.inKey''​ to refer to a ControlObject specified by the Component.
  
 ===== Working with layers ===== ===== Working with layers =====
registering_midi_input_handlers_from_javascript.txt ยท Last modified: 2017/03/17 13:08 by be.ing